POST api/invoices_delegate/Post_iteminvo_mabe?db_name={db_name}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
db_name

string

Required

Body Parameters

Collection of item_invo_delegate
NameDescriptionTypeAdditional information
delegate_item_invo_id

integer

None.

delegate_item_id

integer

None.

Item_code

integer

None.

delegate_invo_id

integer

None.

Item_amount

decimal number

None.

Item_price_doll

decimal number

None.

Item_price_iqd

decimal number

None.

Item_price_all_doll

decimal number

None.

Item_price_all_iqd

decimal number

None.

Item_invo_type

integer

None.

Item_invo_id

integer

None.

Store_item_id

integer

None.

current_shera_iqd

decimal number

None.

current_shera_doll

decimal number

None.

Item_nu

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "delegate_item_invo_id": 1,
    "delegate_item_id": 2,
    "Item_code": 3,
    "delegate_invo_id": 4,
    "Item_amount": 5.1,
    "Item_price_doll": 6.1,
    "Item_price_iqd": 7.1,
    "Item_price_all_doll": 8.1,
    "Item_price_all_iqd": 9.1,
    "Item_invo_type": 10,
    "Item_invo_id": 11,
    "Store_item_id": 12,
    "current_shera_iqd": 13.1,
    "current_shera_doll": 14.1,
    "Item_nu": 15.1
  },
  {
    "delegate_item_invo_id": 1,
    "delegate_item_id": 2,
    "Item_code": 3,
    "delegate_invo_id": 4,
    "Item_amount": 5.1,
    "Item_price_doll": 6.1,
    "Item_price_iqd": 7.1,
    "Item_price_all_doll": 8.1,
    "Item_price_all_iqd": 9.1,
    "Item_invo_type": 10,
    "Item_invo_id": 11,
    "Store_item_id": 12,
    "current_shera_iqd": 13.1,
    "current_shera_doll": 14.1,
    "Item_nu": 15.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfitem_invo_delegate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/meraApi.Models">
  <item_invo_delegate>
    <Item_amount>5.1</Item_amount>
    <Item_code>3</Item_code>
    <Item_invo_id>11</Item_invo_id>
    <Item_invo_type>10</Item_invo_type>
    <Item_nu>15.1</Item_nu>
    <Item_price_all_doll>8.1</Item_price_all_doll>
    <Item_price_all_iqd>9.1</Item_price_all_iqd>
    <Item_price_doll>6.1</Item_price_doll>
    <Item_price_iqd>7.1</Item_price_iqd>
    <Store_item_id>12</Store_item_id>
    <current_shera_doll>14.1</current_shera_doll>
    <current_shera_iqd>13.1</current_shera_iqd>
    <delegate_invo_id>4</delegate_invo_id>
    <delegate_item_id>2</delegate_item_id>
    <delegate_item_invo_id>1</delegate_item_invo_id>
  </item_invo_delegate>
  <item_invo_delegate>
    <Item_amount>5.1</Item_amount>
    <Item_code>3</Item_code>
    <Item_invo_id>11</Item_invo_id>
    <Item_invo_type>10</Item_invo_type>
    <Item_nu>15.1</Item_nu>
    <Item_price_all_doll>8.1</Item_price_all_doll>
    <Item_price_all_iqd>9.1</Item_price_all_iqd>
    <Item_price_doll>6.1</Item_price_doll>
    <Item_price_iqd>7.1</Item_price_iqd>
    <Store_item_id>12</Store_item_id>
    <current_shera_doll>14.1</current_shera_doll>
    <current_shera_iqd>13.1</current_shera_iqd>
    <delegate_invo_id>4</delegate_invo_id>
    <delegate_item_id>2</delegate_item_id>
    <delegate_item_invo_id>1</delegate_item_invo_id>
  </item_invo_delegate>
</ArrayOfitem_invo_delegate>

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 'List`1'.

Response Information

Resource Description

string

Response 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>