ApexERPHost

<back to all web services

ChangeAdvanceAcc

Requires Authentication
The following routes are available for this service:
POST/Accounting/Advance/Acc
ChangeAdvanceAcc Parameters:
NameParameterData TypeRequiredDescription
DocsbodyList<AdvanceAndPayDocs>No
AdvanceAndPayDocs Parameters:
NameParameterData TypeRequiredDescription
RsCodeformstringNo
ClientAccformstringNo
ClientNameformstringNo
AdvanceAccformstringNo
AdvanceAccNameformstringNo
BookIdformstringNo
DocsIdformstringNo
OpDetIdformstringNo
CurrencyIdformstringNo
DDateformDateTimeNo
DBformstringNo
DBNameformstringNo
CRformstringNo
CRNameformstringNo
VGformdecimal?No
VUformdecimal?No
VCformdecimal?No
ContentsformstringNo
BookNoteformstringNo
NumberInformstringNo
NumberOutformstringNo
Blockingformbool?No
CUserformstringNo
FinalAmountformdecimal?No
HasVatformboolNo
HasOverlapformboolNo
VatVgformdecimal?No
OverlapVgformdecimal?No
OverlapVatVgformdecimal?No
IsAdvanceformboolNo
ChangeAdvanceAccResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformboolNo

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 /Accounting/Advance/Acc HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Docs: 
	[
		{
			RsCode: String,
			ClientAcc: String,
			ClientName: String,
			AdvanceAcc: String,
			AdvanceAccName: String,
			BookId: String,
			DocsId: String,
			OpDetId: String,
			CurrencyId: String,
			DDate: 0001-01-01,
			DB: String,
			DBName: String,
			CR: String,
			CRName: String,
			VG: 0,
			VU: 0,
			VC: 0,
			Contents: String,
			BookNote: String,
			NumberIn: String,
			NumberOut: String,
			Blocking: False,
			CUser: String,
			FinalAmount: 0,
			HasVat: False,
			HasOverlap: False,
			VatVg: 0,
			OverlapVg: 0,
			OverlapVatVg: 0,
			IsAdvance: False
		}
	]
}
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
}