POST api/qm

Request Information

URI Parameters

None.

Body Parameters

QmClientesRecuest
NameDescriptionTypeAdditional information
code

string

None.

name

string

None.

phoneNumber

string

None.

longAddress

string

None.

enabled

boolean

None.

longitude

decimal number

None.

latitude

decimal number

None.

poiType

string

None.

visitingFrequency

string

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "name": "sample string 2",
  "phoneNumber": "sample string 3",
  "longAddress": "sample string 4",
  "enabled": true,
  "longitude": 6.1,
  "latitude": 7.1,
  "poiType": "sample string 8",
  "visitingFrequency": "sample string 9"
}

text/html

Sample:
{"code":"sample string 1","name":"sample string 2","phoneNumber":"sample string 3","longAddress":"sample string 4","enabled":true,"longitude":6.1,"latitude":7.1,"poiType":"sample string 8","visitingFrequency":"sample string 9"}

application/xml, text/xml

Sample:
<QmClientesRecuest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.webapplications1.Models.WS">
  <code>sample string 1</code>
  <enabled>true</enabled>
  <latitude>7.1</latitude>
  <longAddress>sample string 4</longAddress>
  <longitude>6.1</longitude>
  <name>sample string 2</name>
  <phoneNumber>sample string 3</phoneNumber>
  <poiType>sample string 8</poiType>
  <visitingFrequency>sample string 9</visitingFrequency>
</QmClientesRecuest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Reply
NameDescriptionTypeAdditional information
message

string

None.

result

integer

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "result": 2,
  "data": {}
}

text/html

Sample:
{"message":"sample string 1","result":2,"data":{}}

application/xml, text/xml

Sample:
<Reply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.webapplications1.Models.WS">
  <data />
  <message>sample string 1</message>
  <result>2</result>
</Reply>