GET 3dCartWebAPI/v1/Products/{catalogid}/Serials
Get the serials from a specific Product
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| catalogid |
Catalog ID |
integer |
Default value is 0 |
| limit |
Maximum number of items that can be returned |
integer |
Default value is 0 |
| offset |
Starting point for the return data |
integer |
Default value is 0 |
Body Parameters
None.
Sample Request |
|
Response Information
Resource Description
Collection of Serial| Name | Description | Type | Additional information |
|---|---|---|---|
| SerialID |
Primary key, auto-incremented. database reference = serials.id |
integer |
None. |
| SerialUses |
database reference = serials.used |
integer |
None. |
| SerialCode |
database reference = serials.serial |
string |
String length: inclusive between 0 and 255 |
Response Formats
application/json, text/json
Sample:
[
{
"SerialID": 1,
"SerialUses": 1,
"SerialCode": "sample string 1"
},
{
"SerialID": 1,
"SerialUses": 1,
"SerialCode": "sample string 1"
}
]
application/xml, text/xml
Sample:
<ArrayOfSerial xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Serial>
<SerialID>1</SerialID>
<SerialUses>1</SerialUses>
<SerialCode>sample string 1</SerialCode>
</Serial>
<Serial>
<SerialID>1</SerialID>
<SerialUses>1</SerialUses>
<SerialCode>sample string 1</SerialCode>
</Serial>
</ArrayOfSerial>