POST | /Logistics/PrSupEx/Import/Save |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Orders | body | List<PrSupExOrdersImport> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Flag | form | string | No | |
OrderDate | form | DateTime | No | |
ReceiveDate | form | DateTime? | No | |
SupNum1 | form | string | No | |
WarehouseAcc | form | string | No | |
SupplierAcc | form | string | No | |
CurrencyCode | form | string | No | |
Rate | form | decimal? | No | |
BCode | form | string | No | |
OCount | form | decimal | No | |
Price | form | decimal | No | |
Discount | form | decimal | No | |
Amount | form | decimal | No | |
SupNote | form | string | No | |
TransportDocNum | form | string | No | |
IncName | form | string | No | |
TransportCompanyName | form | string | No | |
TransportNumber | form | string | No | |
TransportCurrencyCode | form | string | No | |
FCharge | form | decimal? | No | |
FChargeV | form | decimal? | No | |
FlagId | form | int? | No | |
CurrencyId | form | string | No | |
ProdPPId | form | string | No | |
IncId | form | int? | No | |
CarrierId | form | int? | No | |
TransportCurrencyId | form | string | No | |
Error | form | bool | No | |
ErrorText | form | string | No | |
CUser | form | string | No | |
CRTime | form | DateTime? | No | |
Id | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | bool | 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.
POST /Logistics/PrSupEx/Import/Save HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Orders:
[
{
Flag: String,
OrderDate: 0001-01-01,
ReceiveDate: 0001-01-01,
SupNum1: String,
WarehouseAcc: String,
SupplierAcc: String,
CurrencyCode: String,
Rate: 0,
BCode: String,
OCount: 0,
Price: 0,
Discount: 0,
Amount: 0,
SupNote: String,
TransportDocNum: String,
IncName: String,
TransportCompanyName: String,
TransportNumber: String,
TransportCurrencyCode: String,
FCharge: 0,
FChargeV: 0,
FlagId: 0,
CurrencyId: String,
ProdPPId: String,
IncId: 0,
CarrierId: 0,
TransportCurrencyId: String,
Error: False,
ErrorText: String,
CUser: String,
CRTime: 0001-01-01,
Id: 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: False }