POST api/Store/CreatePushSalesVsrRequest
Request Information
URI Parameters
None.
Body Parameters
CreatePushSalesVsrRequestName | Description | Type | Additional information |
---|---|---|---|
businessId | integer |
None. |
|
userId | integer |
None. |
|
skuDetails | Collection of PushSalesVsrRequestItems |
None. |
|
stateId | integer |
None. |
|
cityId | integer |
None. |
|
townId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "businessId": 1, "userId": 2, "skuDetails": [ { "itemId": 1, "skuCode": "sample string 2", "quantity": 3, "soldPrice": 4.0, "stockPointID": 5, "buyingPrice": 6.0 }, { "itemId": 1, "skuCode": "sample string 2", "quantity": 3, "soldPrice": 4.0, "stockPointID": 5, "buyingPrice": 6.0 } ], "stateId": 3, "cityId": 4, "townId": 5 }
application/xml, text/xml
Sample:
<CreatePushSalesVsrRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <businessId>1</businessId> <cityId>4</cityId> <skuDetails> <PushSalesVsrRequestItems> <buyingPrice>6</buyingPrice> <itemId>1</itemId> <quantity>3</quantity> <skuCode>sample string 2</skuCode> <soldPrice>4</soldPrice> <stockPointID>5</stockPointID> </PushSalesVsrRequestItems> <PushSalesVsrRequestItems> <buyingPrice>6</buyingPrice> <itemId>1</itemId> <quantity>3</quantity> <skuCode>sample string 2</skuCode> <soldPrice>4</soldPrice> <stockPointID>5</stockPointID> </PushSalesVsrRequestItems> </skuDetails> <stateId>3</stateId> <townId>5</townId> <userId>2</userId> </CreatePushSalesVsrRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
VCAPIResponseName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
dateTime | string |
None. |
|
StatusCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Version": "1.0.0", "dateTime": "2025/04/04 06:35:28", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>