POST api/integration/CreateListing?userId={userId}&apiKey={apiKey}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | integer |
Required |
|
| apiKey | globally unique identifier |
Required |
Body Parameters
CreateListingRQ| Name | Description | Type | Additional information |
|---|---|---|---|
| UserProductId | integer |
None. |
|
| NewSiteProductName | string |
None. |
|
| Description | string |
None. |
|
| BarCode | string |
None. |
|
| PostMatureDate | date |
None. |
|
| IsFeaturedProduct | boolean |
None. |
|
| IsNoPostMatureDate | boolean |
None. |
|
| Stock | integer |
None. |
|
| QuantityLimit | integer |
None. |
|
| Psf | string |
None. |
|
| UnitPrice | string |
None. |
|
| UserId | integer |
None. |
|
| IpAddress | string |
None. |
|
| Source | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserProductId": 1,
"NewSiteProductName": "sample string 2",
"Description": "sample string 3",
"BarCode": "sample string 4",
"PostMatureDate": "2025-10-27T19:03:44.452536+03:00",
"IsFeaturedProduct": true,
"IsNoPostMatureDate": true,
"Stock": 7,
"QuantityLimit": 1,
"Psf": "sample string 8",
"UnitPrice": "sample string 9",
"UserId": 10,
"IpAddress": "sample string 11",
"Source": "sample string 12"
}
application/xml, text/xml
Sample:
<CreateListingRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EczaneApp.Model.API"> <IpAddress xmlns="http://schemas.datacontract.org/2004/07/EczaneApp.Model">sample string 11</IpAddress> <Source xmlns="http://schemas.datacontract.org/2004/07/EczaneApp.Model">sample string 12</Source> <BarCode>sample string 4</BarCode> <Description>sample string 3</Description> <IsFeaturedProduct>true</IsFeaturedProduct> <IsNoPostMatureDate>true</IsNoPostMatureDate> <NewSiteProductName>sample string 2</NewSiteProductName> <PostMatureDate>2025-10-27T19:03:44.452536+03:00</PostMatureDate> <Psf>sample string 8</Psf> <QuantityLimit>1</QuantityLimit> <Stock>7</Stock> <UnitPrice>sample string 9</UnitPrice> <UserId>10</UserId> <UserProductId>1</UserProductId> </CreateListingRQ>
application/x-www-form-urlencoded
Sample:
Sample not available.
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>