POST ShortApplication/LoadDDWithCategory

Request Information

URI Parameters

None.

Body Parameters

LoadC21DDInput
NameDescriptionTypeAdditional information
MenuCode

string

None.

Category

string

None.

LanguageID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MenuCode": "sample string 1",
  "Category": "sample string 2",
  "LanguageID": 3
}

application/xml, text/xml

Sample:
<LoadC21DDInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scarlett.V2.API.DataModels.Services.ShortAppication">
  <Category>sample string 2</Category>
  <LanguageID>3</LanguageID>
  <MenuCode>sample string 1</MenuCode>
</LoadC21DDInput>

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

Response Information

Resource Description

Collection of DDModel
NameDescriptionTypeAdditional information
label

string

None.

value

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "label": "sample string 1",
    "value": 2
  },
  {
    "label": "sample string 1",
    "value": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfDDModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scarlett.V2.API.DataModels.Services.ShortAppication">
  <DDModel>
    <label>sample string 1</label>
    <value>2</value>
  </DDModel>
  <DDModel>
    <label>sample string 1</label>
    <value>2</value>
  </DDModel>
</ArrayOfDDModel>