POST api/Invoices/Post_iteminvo_mabe_pc?db_name={db_name}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
db_name

string

Required

Body Parameters

Collection of item_invo_pc
NameDescriptionTypeAdditional information
Item_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

boolean

None.

curent_shar_iqd

decimal number

None.

curent_shar_doll

decimal number

None.

Item_invo_note

string

None.

state

string

None.

Item_nots

string

None.

Item_nu

decimal number

None.

Item_code

integer

None.

stor_id

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Item_Invo_id": 1,
    "Item_amount": 2.1,
    "Item_price_doll": 3.1,
    "Item_price_iqd": 4.1,
    "Item_price_all_doll": 5.1,
    "Item_price_all_iqd": 6.1,
    "Item_invo_type": true,
    "curent_shar_iqd": 8.1,
    "curent_shar_doll": 9.1,
    "Item_invo_note": "sample string 10",
    "state": "sample string 11",
    "Item_nots": "sample string 12",
    "Item_nu": 13.1,
    "Item_code": 14,
    "stor_id": 15
  },
  {
    "Item_Invo_id": 1,
    "Item_amount": 2.1,
    "Item_price_doll": 3.1,
    "Item_price_iqd": 4.1,
    "Item_price_all_doll": 5.1,
    "Item_price_all_iqd": 6.1,
    "Item_invo_type": true,
    "curent_shar_iqd": 8.1,
    "curent_shar_doll": 9.1,
    "Item_invo_note": "sample string 10",
    "state": "sample string 11",
    "Item_nots": "sample string 12",
    "Item_nu": 13.1,
    "Item_code": 14,
    "stor_id": 15
  }
]

application/xml, text/xml

Sample:
<ArrayOfitem_invo_pc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/meraApi.Models">
  <item_invo_pc>
    <Item_Invo_id>1</Item_Invo_id>
    <Item_amount>2.1</Item_amount>
    <Item_code>14</Item_code>
    <Item_invo_note>sample string 10</Item_invo_note>
    <Item_invo_type>true</Item_invo_type>
    <Item_nots>sample string 12</Item_nots>
    <Item_nu>13.1</Item_nu>
    <Item_price_all_doll>5.1</Item_price_all_doll>
    <Item_price_all_iqd>6.1</Item_price_all_iqd>
    <Item_price_doll>3.1</Item_price_doll>
    <Item_price_iqd>4.1</Item_price_iqd>
    <curent_shar_doll>9.1</curent_shar_doll>
    <curent_shar_iqd>8.1</curent_shar_iqd>
    <state>sample string 11</state>
    <stor_id>15</stor_id>
  </item_invo_pc>
  <item_invo_pc>
    <Item_Invo_id>1</Item_Invo_id>
    <Item_amount>2.1</Item_amount>
    <Item_code>14</Item_code>
    <Item_invo_note>sample string 10</Item_invo_note>
    <Item_invo_type>true</Item_invo_type>
    <Item_nots>sample string 12</Item_nots>
    <Item_nu>13.1</Item_nu>
    <Item_price_all_doll>5.1</Item_price_all_doll>
    <Item_price_all_iqd>6.1</Item_price_all_iqd>
    <Item_price_doll>3.1</Item_price_doll>
    <Item_price_iqd>4.1</Item_price_iqd>
    <curent_shar_doll>9.1</curent_shar_doll>
    <curent_shar_iqd>8.1</curent_shar_iqd>
    <state>sample string 11</state>
    <stor_id>15</stor_id>
  </item_invo_pc>
</ArrayOfitem_invo_pc>

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>