POST api/supplier/save-newproduct
Request Information
URI Parameters
None.
Body Parameters
SaveSupplierProductRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SupplierProductID | integer |
None. |
|
| Debit | boolean |
None. |
|
| Corporate | boolean |
None. |
|
| Description | string |
None. |
|
| ProductID | integer |
None. |
|
| InvoiceAddressID | integer |
None. |
|
| PayDays | integer |
None. |
|
| Status | integer |
None. |
|
| SupplierID | integer |
None. |
|
| UpdatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SupplierProductID": 1,
"Debit": true,
"Corporate": true,
"Description": "sample string 4",
"ProductID": 5,
"InvoiceAddressID": 6,
"PayDays": 7,
"Status": 8,
"SupplierID": 9,
"UpdatedBy": 10
}
application/xml, text/xml
Sample:
<SaveSupplierProductRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PricingWebAPI.Models"> <Corporate>true</Corporate> <Debit>true</Debit> <Description>sample string 4</Description> <InvoiceAddressID>6</InvoiceAddressID> <PayDays>7</PayDays> <ProductID>5</ProductID> <Status>8</Status> <SupplierID>9</SupplierID> <SupplierProductID>1</SupplierProductID> <UpdatedBy>10</UpdatedBy> </SaveSupplierProductRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.