PUT api/Customer/ExtendCustomerToSupplier?customerNo={customerNo}&supplierAccountSerieId={supplierAccountSerieId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerNo | integer |
Required |
|
| supplierAccountSerieId | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
ExtendedCustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| customerNo | integer |
None. |
|
| companyNo | string |
None. |
|
| supplierNo | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"customerNo": 2,
"companyNo": "sample string 3",
"supplierNo": 4
}
application/xml, text/xml
Sample:
<ExtendedCustomer xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <customerNo>2</customerNo> <companyNo>sample string 3</companyNo> <supplierNo>4</supplierNo> </ExtendedCustomer>