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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Iud: 0,
	PrSup: 
	{
		SupID: 0,
		IncID: 0,
		Db: String,
		Cr: String,
		Currency_id: String,
		Rate: 0,
		oDate: 0001-01-01,
		rDate: 0001-01-01,
		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: 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: 0
}