POST api/Values

Post API Test

Request Information

URI Parameters

None.

Body Parameters

Test value

Values
NameDescriptionTypeAdditional information
body

string

None.

date

date

None.

test

string

None.

Request Formats

application/json, text/json

Sample:
{
  "body": "sample string 1",
  "date": "2019-12-08T14:15:22.6367449-05:00",
  "test": "sample string 3"
}

application/xml, text/xml

Sample:
<Values xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <body>sample string 1</body>
  <date>2019-12-08T14:15:22.6367449-05:00</date>
  <test>sample string 3</test>
</Values>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseApiInfoOfValues
NameDescriptionTypeAdditional information
data

Values

None.

UpdateResult

UPDATECODE

None.

isErrorOnRequest

boolean

None.

errorMessage

string

None.

errorMessages

Collection of ErrorInfo

None.

warningMessages

Collection of ErrorInfo

None.

isSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "data": {
    "body": "sample string 1",
    "date": "2019-12-08T14:15:22.6425957-05:00",
    "test": "sample string 3"
  },
  "UpdateResult": "CREATE",
  "isErrorOnRequest": true,
  "errorMessage": null,
  "errorMessages": [],
  "warningMessages": []
}

application/xml, text/xml

Sample:
<xml xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <isSuccess>true</isSuccess>
  <UpdateResult>CREATE</UpdateResult>
  <isErrorOnRequest>true</isErrorOnRequest>
  <errorMessages />
  <warningMessages />
  <data>
    <body>sample string 1</body>
    <date>2019-12-08T14:15:22.6425957-05:00</date>
    <test>sample string 3</test>
  </data>
</xml>