POST api/ChannelPartnerLocation/CreateBulk
Request Information
URI Parameters
None.
Body Parameters
SaveBulkChannelPartnerLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| ChannelPartnerId | integer |
None. |
|
| Locations | Collection of SaveChannelPartnerLocationVm |
None. |
Request Formats
application/json, text/json
Sample:
{
"ChannelPartnerId": 1,
"Locations": [
{
"Id": 1,
"Country": "sample string 2",
"State": "sample string 3",
"District": "sample string 4",
"Location": "sample string 5",
"SubLocation": "sample string 6",
"Area": "sample string 7",
"Pincode": "sample string 8",
"Lat": 1.1,
"Lng": 1.1
},
{
"Id": 1,
"Country": "sample string 2",
"State": "sample string 3",
"District": "sample string 4",
"Location": "sample string 5",
"SubLocation": "sample string 6",
"Area": "sample string 7",
"Pincode": "sample string 8",
"Lat": 1.1,
"Lng": 1.1
}
]
}
application/xml, text/xml
Sample:
<SaveBulkChannelPartnerLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.ChannelPartnerModels">
<ChannelPartnerId>1</ChannelPartnerId>
<Locations>
<SaveChannelPartnerLocationVm>
<Area>sample string 7</Area>
<Country>sample string 2</Country>
<District>sample string 4</District>
<Id>1</Id>
<Lat>1.1</Lat>
<Lng>1.1</Lng>
<Location>sample string 5</Location>
<Pincode>sample string 8</Pincode>
<State>sample string 3</State>
<SubLocation>sample string 6</SubLocation>
</SaveChannelPartnerLocationVm>
<SaveChannelPartnerLocationVm>
<Area>sample string 7</Area>
<Country>sample string 2</Country>
<District>sample string 4</District>
<Id>1</Id>
<Lat>1.1</Lat>
<Lng>1.1</Lng>
<Location>sample string 5</Location>
<Pincode>sample string 8</Pincode>
<State>sample string 3</State>
<SubLocation>sample string 6</SubLocation>
</SaveChannelPartnerLocationVm>
</Locations>
</SaveBulkChannelPartnerLocation>
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.