| PUT | /Accounting/MultiSaleImport |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | body | List<MultiSaleImport> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Ddate | form | DateTime | No | |
| Oper | form | string | No | |
| Opname | form | string | No | |
| Db | form | string | No | |
| Dbname | form | string | No | |
| Cr | form | string | No | |
| Crname | form | string | No | |
| Bcode | form | string | No | |
| ProdppId | form | string | No | |
| Prodname | form | string | No | |
| Scount | form | decimal | No | |
| Price | form | decimal | No | |
| Vg | form | decimal | No | |
| Vat | form | decimal | No | |
| Rcount | form | decimal | No | |
| NumberIn | form | string | No | |
| ErrorText | form | string | No | |
| Currency | form | string | No | |
| Rate | form | decimal? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<MultiSaleImport> | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /Accounting/MultiSaleImport HTTP/1.1
Host: 10.10.0.107
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Data:
[
{
Ddate: 0001-01-01,
Oper: String,
Opname: String,
Db: String,
Dbname: String,
Cr: String,
Crname: String,
Bcode: String,
ProdppId: String,
Prodname: String,
Scount: 0,
Price: 0,
Vg: 0,
Vat: 0,
Rcount: 0,
NumberIn: String,
ErrorText: String,
Currency: String,
Rate: 0
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Result:
[
{
Ddate: 0001-01-01,
Oper: String,
Opname: String,
Db: String,
Dbname: String,
Cr: String,
Crname: String,
Bcode: String,
ProdppId: String,
Prodname: String,
Scount: 0,
Price: 0,
Vg: 0,
Vat: 0,
Rcount: 0,
NumberIn: String,
ErrorText: String,
Currency: String,
Rate: 0
}
]
}