PUT api/SalesPurchases/PutReturnSales

Request Information

URI Parameters

None.

Body Parameters

Mo_ViewInvo_ResultDTO
NameDescriptionTypeAdditional information
InvoNum

integer

None.

ItemNum

string

None.

ItemName

string

None.

ItemQuantity

decimal number

None.

ItemPrice

decimal number

None.

ItemTable_ID

integer

None.

InvoDate

date

None.

Notes

string

None.

SalesManName

string

None.

NumCustomer

integer

None.

CustID

integer

None.

SalesManID

integer

None.

UniteID

integer

None.

UniteName

string

None.

FrmCurrency_ID

integer

None.

FrmCurrency_Val

decimal number

None.

PayType

integer

None.

ItemQuantity_Convert

decimal number

None.

StoreID

integer

None.

StoreNum

integer

None.

StoreName

string

None.

CurrName

string

None.

PARTNAME

string

None.

Packag_QountStore

decimal number

None.

InvoID

integer

None.

CustName

string

None.

NamePay

string

None.

Volume

decimal number

None.

PackageID

integer

None.

ItemsTable

DataTable

None.

Address

string

None.

Co_Pic1

Collection of byte

None.

Name_Ar

string

None.

Name_Eng

string

None.

Phone1

string

None.

Phone2

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoNum": 1,
  "ItemNum": "sample string 2",
  "ItemName": "sample string 3",
  "ItemQuantity": 4.1,
  "ItemPrice": 5.1,
  "ItemTable_ID": 6,
  "InvoDate": "2026-08-28T19:01:45.1548584+02:00",
  "Notes": "sample string 7",
  "SalesManName": "sample string 8",
  "NumCustomer": 1,
  "CustID": 9,
  "SalesManID": 10,
  "UniteID": 11,
  "UniteName": "sample string 12",
  "FrmCurrency_ID": 1,
  "FrmCurrency_Val": 1.1,
  "PayType": 1,
  "ItemQuantity_Convert": 1.1,
  "StoreID": 13,
  "StoreNum": 14,
  "StoreName": "sample string 15",
  "CurrName": "sample string 16",
  "PARTNAME": "sample string 17",
  "Packag_QountStore": 18.1,
  "InvoID": 19,
  "CustName": "sample string 20",
  "NamePay": "sample string 21",
  "Volume": 22.1,
  "PackageID": 1,
  "ItemsTable": null,
  "Address": "sample string 23",
  "Co_Pic1": "QEA=",
  "Name_Ar": "sample string 24",
  "Name_Eng": "sample string 25",
  "Phone1": "sample string 26",
  "Phone2": "sample string 27"
}

application/xml, text/xml

Sample:
<Mo_ViewInvo_ResultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGSystemApi.DTO">
  <Address>sample string 23</Address>
  <Co_Pic1>QEA=</Co_Pic1>
  <CurrName>sample string 16</CurrName>
  <CustID>9</CustID>
  <CustName>sample string 20</CustName>
  <FrmCurrency_ID>1</FrmCurrency_ID>
  <FrmCurrency_Val>1.1</FrmCurrency_Val>
  <InvoDate>2026-08-28T19:01:45.1548584+02:00</InvoDate>
  <InvoID>19</InvoID>
  <InvoNum>1</InvoNum>
  <ItemName>sample string 3</ItemName>
  <ItemNum>sample string 2</ItemNum>
  <ItemPrice>5.1</ItemPrice>
  <ItemQuantity>4.1</ItemQuantity>
  <ItemQuantity_Convert>1.1</ItemQuantity_Convert>
  <ItemTable_ID>6</ItemTable_ID>
  <ItemsTable i:nil="true" />
  <NamePay>sample string 21</NamePay>
  <Name_Ar>sample string 24</Name_Ar>
  <Name_Eng>sample string 25</Name_Eng>
  <Notes>sample string 7</Notes>
  <NumCustomer>1</NumCustomer>
  <PARTNAME>sample string 17</PARTNAME>
  <Packag_QountStore>18.1</Packag_QountStore>
  <PackageID>1</PackageID>
  <PayType>1</PayType>
  <Phone1>sample string 26</Phone1>
  <Phone2>sample string 27</Phone2>
  <SalesManID>10</SalesManID>
  <SalesManName>sample string 8</SalesManName>
  <StoreID>13</StoreID>
  <StoreName>sample string 15</StoreName>
  <StoreNum>14</StoreNum>
  <UniteID>11</UniteID>
  <UniteName>sample string 12</UniteName>
  <Volume>22.1</Volume>
</Mo_ViewInvo_ResultDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.