POST api/M2M/CreatePuntoInteres
Request Information
URI Parameters
None.
Body Parameters
M2MPuntoInteresRequestDataModelName | Description | Type | Additional information |
---|---|---|---|
tipo | integer |
None. |
|
longitud | decimal number |
None. |
|
latitud | decimal number |
None. |
|
nombre | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "tipo": 1, "longitud": 2.1, "latitud": 3.1, "nombre": "sample string 4" }
application/xml, text/xml
Sample:
<M2MPuntoInteresRequestDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Manager.WebAPI.Models"> <latitud>3.1</latitud> <longitud>2.1</longitud> <nombre>sample string 4</nombre> <tipo>1</tipo> </M2MPuntoInteresRequestDataModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GenericResponseDataModelName | Description | Type | Additional information |
---|---|---|---|
Result | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": true }
application/xml, text/xml
Sample:
<GenericResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Manager.WebAPI.Models"> <Result>true</Result> </GenericResponseDataModel>