POST api/Responsibility/Post/{lat}/{lng}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lat | string |
None. |
|
lng | string |
None. |
Body Parameters
Collection of ResponsibilityName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
k | integer |
None. |
|
ak | integer |
None. |
|
rc | string |
None. |
|
sn | integer |
None. |
|
ft | Collection of integer |
None. |
|
d | string |
None. |
|
sort | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "id": 1, "k": 2, "ak": 1, "rc": "sample string 3", "sn": 1, "ft": [ 1, 2 ], "d": "sample string 4", "sort": 1 }, { "id": 1, "k": 2, "ak": 1, "rc": "sample string 3", "sn": 1, "ft": [ 1, 2 ], "d": "sample string 4", "sort": 1 } ]
text/html
Sample:
[{"id":1,"k":2,"ak":1,"rc":"sample string 3","sn":1,"ft":[1,2],"d":"sample string 4","sort":1},{"id":1,"k":2,"ak":1,"rc":"sample string 3","sn":1,"ft":[1,2],"d":"sample string 4","sort":1}]
application/xml, text/xml
Sample:
<ArrayOfResponsibility xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GIP_Communicator_Server.Models"> <Responsibility> <ak>1</ak> <d>sample string 4</d> <ft xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:long>1</d3p1:long> <d3p1:long>2</d3p1:long> </ft> <id>1</id> <k>2</k> <rc>sample string 3</rc> <sn>1</sn> <sort>1</sort> </Responsibility> <Responsibility> <ak>1</ak> <d>sample string 4</d> <ft xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:long>1</d3p1:long> <d3p1:long>2</d3p1:long> </ft> <id>1</id> <k>2</k> <rc>sample string 3</rc> <sn>1</sn> <sort>1</sort> </Responsibility> </ArrayOfResponsibility>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |