GET api/integration/CreateBasicListing?userId={userId}&apiKey={apiKey}&title={title}&barcode={barcode}&stock={stock}&unitPrice={unitPrice}&quantityLimit={quantityLimit}&postMatureDate={postMatureDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | integer |
Required |
|
| apiKey | globally unique identifier |
Required |
|
| title | string |
Required |
|
| barcode | string |
Required |
|
| stock | integer |
Default value is 0 |
|
| unitPrice | decimal number |
Default value is 0 |
|
| quantityLimit | integer |
Default value is 0 |
|
| postMatureDate | date |
None. |
Body Parameters
None.
Response Information
Resource Description
CreateListingRS| Name | Description | Type | Additional information |
|---|---|---|---|
| NotificationMessage | string |
None. |
|
| Barcode | string |
None. |
|
| Title | string |
None. |
|
| NewRecordId | integer |
None. |
|
| SiteProductId | integer |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"NotificationMessage": "sample string 1",
"Barcode": "sample string 2",
"Title": "sample string 3",
"NewRecordId": 4,
"SiteProductId": 5,
"Success": true
}
application/xml, text/xml
Sample:
<CreateListingRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EczaneApp.Model.API"> <IsSuccess xmlns="http://schemas.datacontract.org/2004/07/EczaneApp.Model">true</IsSuccess> <Message xmlns="http://schemas.datacontract.org/2004/07/EczaneApp.Model">sample string 8</Message> <Success xmlns="http://schemas.datacontract.org/2004/07/EczaneApp.Model">true</Success> <NewRecordId xmlns="http://schemas.datacontract.org/2004/07/EczaneApp.Model">4</NewRecordId> <SiteProductId xmlns="http://schemas.datacontract.org/2004/07/EczaneApp.Model">5</SiteProductId> <Barcode>sample string 2</Barcode> <NotificationMessage>sample string 1</NotificationMessage> <Title>sample string 3</Title> </CreateListingRS>