POST api/Test/TestPost

Request Information

URI Parameters

None.

Body Parameters

TestInput
NameDescriptionTypeAdditional information
routeid

integer

None.

accountid

integer

None.

deviceid

integer

None.

datetime

string

None.

kmlstring

string

None.

jichiconstr

string

None.

Request Formats

application/json, text/json

Sample:
{
  "routeid": 1,
  "accountid": 2,
  "deviceid": 3,
  "datetime": "sample string 4",
  "kmlstring": "sample string 5",
  "jichiconstr": "Data Source=tcp:hkrjs.database.windows.net,1433;Initial Catalog=demoDb_test;User ID=jsadmin;Password=snpr1-ATAD;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;"
}

application/xml, text/xml

Sample:
<TestInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Models.Test">
  <accountid>2</accountid>
  <datetime>sample string 4</datetime>
  <deviceid>3</deviceid>
  <kmlstring>sample string 5</kmlstring>
  <routeid>1</routeid>
</TestInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TestInput'.

Response Information

Resource Description

ActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.