PUT api/Supplier
Edits an existing Supplier.
Request Information
URI Parameters
None.
Body Parameters
Supplier.
SupplierName | Description | Type | Additional information |
---|---|---|---|
UpdateType | string |
None. |
|
SupplierId | integer |
None. |
|
Name | string |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedByName | string |
None. |
|
ProductCount | integer |
None. |
|
PurchaseOrderCount | integer |
None. |
|
GlobalId | string |
None. |
|
ContactFirstName | string |
None. |
|
ContactLastName | string |
None. |
|
ContactCompany | string |
None. |
|
ContactEmail | string |
None. |
|
ContactPhone | string |
None. |
|
ContactMobile | string |
None. |
|
ContactFax | string |
None. |
|
ContactWebsite | string |
None. |
|
Note | string |
None. |
|
PhysicalAddress | string |
None. |
|
BillingAddress | string |
None. |
|
Description | string |
None. |
|
Account | string |
None. |
|
SupplierGroupId | integer |
None. |
|
SupplierGroup | string |
None. |
|
SupplierCode | string |
None. |
|
ActivityCount | integer |
None. |
|
FileCount | integer |
None. |
|
ContactName | string |
None. |
|
OrganizationId | integer |
None. |
|
AutoCompleteText | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UpdateType": "sample string 1", "SupplierId": 2, "Name": "sample string 3", "UpdatedDate": "2025-01-17T00:16:20.706894+00:00", "UpdatedBy": "sample string 4", "UpdatedByName": "sample string 5", "ProductCount": 1, "PurchaseOrderCount": 1, "GlobalId": "sample string 6", "ContactFirstName": "sample string 7", "ContactLastName": "sample string 8", "ContactCompany": "sample string 9", "ContactEmail": "sample string 10", "ContactPhone": "sample string 11", "ContactMobile": "sample string 12", "ContactFax": "sample string 13", "ContactWebsite": "sample string 14", "Note": "sample string 15", "PhysicalAddress": "sample string 16", "BillingAddress": "sample string 17", "Description": "sample string 18", "Account": "sample string 19", "SupplierGroupId": 1, "SupplierGroup": "sample string 20", "SupplierCode": "sample string 21", "ActivityCount": 1, "FileCount": 1, "ContactName": "sample string 22", "OrganizationId": 1, "AutoCompleteText": "sample string 23" }
application/xml, text/xml
Sample:
<Supplier xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <Account>sample string 19</Account> <ActivityCount>1</ActivityCount> <AutoCompleteText>sample string 23</AutoCompleteText> <BillingAddress>sample string 17</BillingAddress> <ContactCompany>sample string 9</ContactCompany> <ContactEmail>sample string 10</ContactEmail> <ContactFax>sample string 13</ContactFax> <ContactFirstName>sample string 7</ContactFirstName> <ContactLastName>sample string 8</ContactLastName> <ContactMobile>sample string 12</ContactMobile> <ContactName>sample string 22</ContactName> <ContactPhone>sample string 11</ContactPhone> <ContactWebsite>sample string 14</ContactWebsite> <Description>sample string 18</Description> <FileCount>1</FileCount> <GlobalId>sample string 6</GlobalId> <Name>sample string 3</Name> <Note>sample string 15</Note> <OrganizationId>1</OrganizationId> <PhysicalAddress>sample string 16</PhysicalAddress> <ProductCount>1</ProductCount> <PurchaseOrderCount>1</PurchaseOrderCount> <SupplierCode>sample string 21</SupplierCode> <SupplierGroup>sample string 20</SupplierGroup> <SupplierGroupId>1</SupplierGroupId> <SupplierId>2</SupplierId> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 4</UpdatedBy> <UpdatedByName>sample string 5</UpdatedByName> <UpdatedDate>2025-01-17T00:16:20.706894+00:00</UpdatedDate> </Supplier>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SupplierName | Description | Type | Additional information |
---|---|---|---|
UpdateType | string |
None. |
|
SupplierId | integer |
None. |
|
Name | string |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedByName | string |
None. |
|
ProductCount | integer |
None. |
|
PurchaseOrderCount | integer |
None. |
|
GlobalId | string |
None. |
|
ContactFirstName | string |
None. |
|
ContactLastName | string |
None. |
|
ContactCompany | string |
None. |
|
ContactEmail | string |
None. |
|
ContactPhone | string |
None. |
|
ContactMobile | string |
None. |
|
ContactFax | string |
None. |
|
ContactWebsite | string |
None. |
|
Note | string |
None. |
|
PhysicalAddress | string |
None. |
|
BillingAddress | string |
None. |
|
Description | string |
None. |
|
Account | string |
None. |
|
SupplierGroupId | integer |
None. |
|
SupplierGroup | string |
None. |
|
SupplierCode | string |
None. |
|
ActivityCount | integer |
None. |
|
FileCount | integer |
None. |
|
ContactName | string |
None. |
|
OrganizationId | integer |
None. |
|
AutoCompleteText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "UpdateType": "sample string 1", "SupplierId": 2, "Name": "sample string 3", "UpdatedDate": "2025-01-17T00:16:20.7717673+00:00", "UpdatedBy": "sample string 4", "UpdatedByName": "sample string 5", "ProductCount": 1, "PurchaseOrderCount": 1, "GlobalId": "sample string 6", "ContactFirstName": "sample string 7", "ContactLastName": "sample string 8", "ContactCompany": "sample string 9", "ContactEmail": "sample string 10", "ContactPhone": "sample string 11", "ContactMobile": "sample string 12", "ContactFax": "sample string 13", "ContactWebsite": "sample string 14", "Note": "sample string 15", "PhysicalAddress": "sample string 16", "BillingAddress": "sample string 17", "Description": "sample string 18", "Account": "sample string 19", "SupplierGroupId": 1, "SupplierGroup": "sample string 20", "SupplierCode": "sample string 21", "ActivityCount": 1, "FileCount": 1, "ContactName": "sample string 22", "OrganizationId": 1, "AutoCompleteText": "sample string 23" }
application/xml, text/xml
Sample:
<Supplier xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <Account>sample string 19</Account> <ActivityCount>1</ActivityCount> <AutoCompleteText>sample string 23</AutoCompleteText> <BillingAddress>sample string 17</BillingAddress> <ContactCompany>sample string 9</ContactCompany> <ContactEmail>sample string 10</ContactEmail> <ContactFax>sample string 13</ContactFax> <ContactFirstName>sample string 7</ContactFirstName> <ContactLastName>sample string 8</ContactLastName> <ContactMobile>sample string 12</ContactMobile> <ContactName>sample string 22</ContactName> <ContactPhone>sample string 11</ContactPhone> <ContactWebsite>sample string 14</ContactWebsite> <Description>sample string 18</Description> <FileCount>1</FileCount> <GlobalId>sample string 6</GlobalId> <Name>sample string 3</Name> <Note>sample string 15</Note> <OrganizationId>1</OrganizationId> <PhysicalAddress>sample string 16</PhysicalAddress> <ProductCount>1</ProductCount> <PurchaseOrderCount>1</PurchaseOrderCount> <SupplierCode>sample string 21</SupplierCode> <SupplierGroup>sample string 20</SupplierGroup> <SupplierGroupId>1</SupplierGroupId> <SupplierId>2</SupplierId> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 4</UpdatedBy> <UpdatedByName>sample string 5</UpdatedByName> <UpdatedDate>2025-01-17T00:16:20.7717673+00:00</UpdatedDate> </Supplier>