ApexERPHost

<back to all web services

SavePrSup

Requires Authentication
The following routes are available for this service:
POST/Logistics/PrSup/Save
SavePrSup Parameters:
NameParameterData TypeRequiredDescription
IudbodyintNo
PrSupbodyprSupNo
prSup Parameters:
NameParameterData TypeRequiredDescription
SupIDformintNo
IncIDformintNo
DbformstringNo
CrformstringNo
Currency_idformstringNo
Rateformdecimal?No
oDateformDateTimeNo
rDateformDateTimeNo
SupNumformstringNo
SupNum1formstringNo
SupNum2formstringNo
Carrieridformint?No
CarrierNumformstringNo
FChargeformdecimalNo
FChargeVformdecimalNo
FChargeCurrIDformstringNo
DestAddressformstringNo
CustPhoneformstringNo
CustNameformstringNo
SupStatusformbyte?No
SupTypeformbyte?No
SupNoteformstringNo
cUserformstringNo
flagformbyteNo
iDiscAmountformdecimal?No
Vgformdecimal?No
SavePrSupResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
Resultformint?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .x-protobuf suffix or ?format=x-protobuf

HTTP + X-PROTOBUF

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Logistics/PrSup/Save HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/x-protobuf
Content-Type: application/x-protobuf
Content-Length: length

{"Iud":0,"PrSup":{"SupID":0,"IncID":0,"Db":"String","Cr":"String","Currency_id":"String","Rate":0,"oDate":"\/Date(-62135596800000-0000)\/","rDate":"\/Date(-62135596800000-0000)\/","SupNum":"String","SupNum1":"String","SupNum2":"String","Carrierid":0,"CarrierNum":"String","FCharge":0,"FChargeV":0,"FChargeCurrID":"String","DestAddress":"String","CustPhone":"String","CustName":"String","SupStatus":0,"SupType":0,"SupNote":"String","cUser":"String","flag":0,"iDiscAmount":0,"Vg":0}}
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":0}