POST api/Values/PostScheme

Request Information

URI Parameters

None.

Body Parameters

string

Request Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>

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

Response Information

Resource Description

InfoModel
NameDescriptionTypeAdditional information
Scheme_List_Data

Collection of Scheme_List

None.

Scheme_List_Data2

Collection of Test_List_Single

None.

Message_Data

Collection of Message_List

None.

Response Formats

application/json, text/json

Sample:
{
  "Scheme_List_Data": [
    {
      "Scheme_Category": "sample string 1",
      "Scheme_Code": "sample string 2",
      "Scheme_Name": "sample string 3"
    },
    {
      "Scheme_Category": "sample string 1",
      "Scheme_Code": "sample string 2",
      "Scheme_Name": "sample string 3"
    }
  ],
  "Scheme_List_Data2": [
    {
      "Col1": "sample string 1"
    },
    {
      "Col1": "sample string 1"
    }
  ],
  "Message_Data": [
    {
      "MessageID": "sample string 1"
    },
    {
      "MessageID": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<InfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ABFL_Mob_Sync.Models">
  <Message_Data>
    <Message_List>
      <MessageID>sample string 1</MessageID>
    </Message_List>
    <Message_List>
      <MessageID>sample string 1</MessageID>
    </Message_List>
  </Message_Data>
  <Scheme_List_Data>
    <Scheme_List>
      <Scheme_Category>sample string 1</Scheme_Category>
      <Scheme_Code>sample string 2</Scheme_Code>
      <Scheme_Name>sample string 3</Scheme_Name>
    </Scheme_List>
    <Scheme_List>
      <Scheme_Category>sample string 1</Scheme_Category>
      <Scheme_Code>sample string 2</Scheme_Code>
      <Scheme_Name>sample string 3</Scheme_Name>
    </Scheme_List>
  </Scheme_List_Data>
  <Scheme_List_Data2>
    <Test_List_Single>
      <Col1>sample string 1</Col1>
    </Test_List_Single>
    <Test_List_Single>
      <Col1>sample string 1</Col1>
    </Test_List_Single>
  </Scheme_List_Data2>
</InfoModel>