POST api/BrandsApi/ValidateModel

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

JsonOutput
NameDescriptionTypeAdditional information
errors

Collection of JsonKeyValue

None.

message

string

None.

success

boolean

None.

warning

boolean

None.

invalid

boolean

None.

result

Object

None.

result2

Object

None.

result3

Object

None.

console

Object

None.

paging_total

integer

None.

paging

JsonPaging

None.

Response Formats

application/json, text/json

Sample:
{
  "errors": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "message": "sample string 1",
  "success": true,
  "warning": true,
  "invalid": true,
  "result": {},
  "result2": {},
  "result3": {},
  "console": {},
  "paging_total": 9,
  "paging": {
    "per_page": 1,
    "current_page": 2,
    "total": 3
  }
}

application/xml, text/xml

Sample:
<JsonOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWCommon.Common">
  <console />
  <errors>
    <JsonKeyValue>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
    </JsonKeyValue>
    <JsonKeyValue>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
    </JsonKeyValue>
  </errors>
  <invalid>true</invalid>
  <message>sample string 1</message>
  <paging>
    <current_page>2</current_page>
    <per_page>1</per_page>
    <total>3</total>
  </paging>
  <paging_total>9</paging_total>
  <result />
  <result2 />
  <result3 />
  <success>true</success>
  <warning>true</warning>
</JsonOutput>