PUT api/Expectation

Request Information

URI Parameters

None.

Body Parameters

Collection of Object

None.

Request Formats

application/json, text/json

Sample:
[
  {},
  {}
]

application/xml, text/xml

Sample:
<ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <anyType />
  <anyType />
</ArrayOfanyType>

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 'ArrayList'.

Response Information

Resource Description

ClsReturnValuescs
NameDescriptionTypeAdditional information
MyError

string

None.

TheReturn

string

None.

Response Formats

application/json, text/json

Sample:
{
  "MyError": "sample string 1",
  "TheReturn": "sample string 2"
}

application/xml, text/xml

Sample:
<ClsReturnValuescs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Custrack_API.Models">
  <MyError>sample string 1</MyError>
  <TheReturn>sample string 2</TheReturn>
</ClsReturnValuescs>