POST api/MarketData
Adds or updates the market statistics for sales branches.
Request Information
URI Parameters
None.
Body Parameters
Statistics per branch
Collection of BranchMarketDataName | Description | Type | Additional information |
---|---|---|---|
BranchId |
Branch idenitifier. |
string |
Required |
FigureA |
Figure A. |
string |
None. |
FigureB |
Figure B. |
string |
None. |
FigureC |
Figure C. |
string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "BranchId": "sample string 1", "FigureA": "sample string 2", "FigureB": "sample string 3", "FigureC": "sample string 4" }, { "BranchId": "sample string 1", "FigureA": "sample string 2", "FigureB": "sample string 3", "FigureC": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfBranchMarketData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Spicerhaart.PropertyIndexer.Models"> <BranchMarketData> <BranchId>sample string 1</BranchId> <FigureA>sample string 2</FigureA> <FigureB>sample string 3</FigureB> <FigureC>sample string 4</FigureC> </BranchMarketData> <BranchMarketData> <BranchId>sample string 1</BranchId> <FigureA>sample string 2</FigureA> <FigureB>sample string 3</FigureB> <FigureC>sample string 4</FigureC> </BranchMarketData> </ArrayOfBranchMarketData>
Response Information
Resource Description
Success
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Content | HttpContent |
None. |
|
Headers | Collection of Object |
None. |
|
IsSuccessStatusCode | boolean |
None. |
|
ReasonPhrase | string |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
Version | Version |
None. |