POST api/MorePrice/SyncMorePrices
Request Information
URI Parameters
None.
Body Parameters
MorePriceSyncRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SalesOutletID | string |
Required |
|
| MorePrices | Collection of MorePriceSync |
Required |
Request Formats
application/json, text/json
Sample:
{
"SalesOutletID": "sample string 1",
"MorePrices": [
{
"ServerMorePriceID": 1,
"ItemCode": "sample string 2",
"MarkPrice": 3.0,
"SellingPrice": 4.0,
"ActiveStatus": true,
"PriceLevelName": "sample string 6",
"PriceType": "sample string 7"
},
{
"ServerMorePriceID": 1,
"ItemCode": "sample string 2",
"MarkPrice": 3.0,
"SellingPrice": 4.0,
"ActiveStatus": true,
"PriceLevelName": "sample string 6",
"PriceType": "sample string 7"
}
]
}
application/xml, text/xml
Sample:
<MorePriceSyncRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SOFTO.POS.Sync.Models">
<MorePrices>
<MorePriceSync>
<ActiveStatus>true</ActiveStatus>
<ItemCode>sample string 2</ItemCode>
<MarkPrice>3</MarkPrice>
<PriceLevelName>sample string 6</PriceLevelName>
<PriceType>sample string 7</PriceType>
<SellingPrice>4</SellingPrice>
<ServerMorePriceID>1</ServerMorePriceID>
</MorePriceSync>
<MorePriceSync>
<ActiveStatus>true</ActiveStatus>
<ItemCode>sample string 2</ItemCode>
<MarkPrice>3</MarkPrice>
<PriceLevelName>sample string 6</PriceLevelName>
<PriceType>sample string 7</PriceType>
<SellingPrice>4</SellingPrice>
<ServerMorePriceID>1</ServerMorePriceID>
</MorePriceSync>
</MorePrices>
<SalesOutletID>sample string 1</SalesOutletID>
</MorePriceSyncRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.