POST api/supplier/{id}/product/{guid}/invoices
Add a supplier invoicing code to product record
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Supplier identifier |
globally unique identifier |
Required |
| guid |
Product identifier |
globally unique identifier |
Required |
Body Parameters
Invoicing Code
ProductInvoicingDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| PluG_UID |
Product identifier |
Collection of byte |
None. |
| PluGuid |
Product identifier guid |
globally unique identifier |
None. |
| SupplierIdentifier |
Supplier identifier |
Collection of byte |
None. |
| SupplierIdentifierGuid |
Supplier identifier guid |
globally unique identifier |
None. |
| InvoiceCode | string |
None. |
|
| StoreIDs |
Store IDs of store products for ordering detail to be also saved against |
Collection of integer |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{
"pluG_UID": "nyYQGgqIn0uQ1bYR3oql0w==",
"pluGuid": "1a10269f-880a-4b9f-90d5-b611de8aa5d3",
"supplierIdentifier": "O9C+C/HU9UGvh6HCbggO5A==",
"supplierIdentifierGuid": "0bbed03b-d4f1-41f5-af87-a1c26e080ee4",
"invoiceCode": "sample string 1",
"storeIDs": [
1,
2
]
}
application/xml, text/xml
Sample:
<ProductInvoicingDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager">
<InvoiceCode>sample string 1</InvoiceCode>
<PluG_UID>nyYQGgqIn0uQ1bYR3oql0w==</PluG_UID>
<PluGuid>1a10269f-880a-4b9f-90d5-b611de8aa5d3</PluGuid>
<StoreIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</StoreIDs>
<SupplierIdentifier>O9C+C/HU9UGvh6HCbggO5A==</SupplierIdentifier>
<SupplierIdentifierGuid>0bbed03b-d4f1-41f5-af87-a1c26e080ee4</SupplierIdentifierGuid>
</ProductInvoicingDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.