POST api/ItemSchemeApi/Post_ItemScheme_for_save_update

Request Information

URI Parameters

None.

Body Parameters

ItemScheme
NameDescriptionTypeAdditional information
schemeid

string

None.

itemid

string

None.

Database

string

None.

Compcode

string

None.

EventType

string

None.

lst_itemscheme

Collection of clsItemScheme

None.

Request Formats

application/json, text/json

Sample:
{
  "schemeid": "sample string 1",
  "itemid": "sample string 2",
  "Database": "sample string 3",
  "Compcode": "sample string 4",
  "EventType": "sample string 5",
  "lst_itemscheme": [
    {
      "schemeid": "sample string 1",
      "itemid": "sample string 2",
      "fromdt": "sample string 3",
      "todt": "sample string 4",
      "qtyfrom": "sample string 5",
      "qtyto": "sample string 6",
      "discper": "sample string 7",
      "discamt": "sample string 8",
      "fqty": "sample string 9",
      "fitemid": "sample string 10"
    },
    {
      "schemeid": "sample string 1",
      "itemid": "sample string 2",
      "fromdt": "sample string 3",
      "todt": "sample string 4",
      "qtyfrom": "sample string 5",
      "qtyto": "sample string 6",
      "discper": "sample string 7",
      "discamt": "sample string 8",
      "fqty": "sample string 9",
      "fitemid": "sample string 10"
    }
  ]
}

application/xml, text/xml

Sample:
<ItemScheme xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <Compcode>sample string 4</Compcode>
  <Database>sample string 3</Database>
  <EventType>sample string 5</EventType>
  <itemid>sample string 2</itemid>
  <lst_itemscheme>
    <clsItemScheme>
      <discamt>sample string 8</discamt>
      <discper>sample string 7</discper>
      <fitemid>sample string 10</fitemid>
      <fqty>sample string 9</fqty>
      <fromdt>sample string 3</fromdt>
      <itemid>sample string 2</itemid>
      <qtyfrom>sample string 5</qtyfrom>
      <qtyto>sample string 6</qtyto>
      <schemeid>sample string 1</schemeid>
      <todt>sample string 4</todt>
    </clsItemScheme>
    <clsItemScheme>
      <discamt>sample string 8</discamt>
      <discper>sample string 7</discper>
      <fitemid>sample string 10</fitemid>
      <fqty>sample string 9</fqty>
      <fromdt>sample string 3</fromdt>
      <itemid>sample string 2</itemid>
      <qtyfrom>sample string 5</qtyfrom>
      <qtyto>sample string 6</qtyto>
      <schemeid>sample string 1</schemeid>
      <todt>sample string 4</todt>
    </clsItemScheme>
  </lst_itemscheme>
  <schemeid>sample string 1</schemeid>
</ItemScheme>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
status

boolean

None.

statuscode

HttpStatusCode

None.

title

string

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "statuscode": 100,
  "title": "sample string 2",
  "message": "sample string 3",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <data />
  <message>sample string 3</message>
  <status>true</status>
  <statuscode>Continue</statuscode>
  <title>sample string 2</title>
</ApiResponse>