POST api/boost

Request Information

URI Parameters

None.

Body Parameters

BoostModelRequest
NameDescriptionTypeAdditional information
values

Collection of BoostObjRequest

None.

Request Formats

application/json, text/json

Sample:
{
  "values": [
    {
      "identifier": {
        "language": "sample string 1",
        "source_Url": "sample string 2"
      },
      "properties": {
        "sample string 1": {},
        "sample string 3": {}
      },
      "Requested": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "identifier": {
        "language": "sample string 1",
        "source_Url": "sample string 2"
      },
      "properties": {
        "sample string 1": {},
        "sample string 3": {}
      },
      "Requested": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<BoostModelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/prokom.boostapi.Controllers">
  <Values>
    <BoostObjRequest>
      <Requested xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Requested>
      <identifier>
        <language>sample string 1</language>
        <source_Url>sample string 2</source_Url>
      </identifier>
      <properties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </properties>
    </BoostObjRequest>
    <BoostObjRequest>
      <Requested xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Requested>
      <identifier>
        <language>sample string 1</language>
        <source_Url>sample string 2</source_Url>
      </identifier>
      <properties xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
        <d4p1:KeyValueOfstringanyType>
          <d4p1:Key>sample string 3</d4p1:Key>
          <d4p1:Value />
        </d4p1:KeyValueOfstringanyType>
      </properties>
    </BoostObjRequest>
  </Values>
</BoostModelRequest>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

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