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

HTTP + CSV

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

{"Docs":[{"RsCode":"String","ClientAcc":"String","ClientName":"String","AdvanceAcc":"String","AdvanceAccName":"String","BookId":"String","DocsId":"String","OpDetId":"String","CurrencyId":"String","DDate":"\/Date(-62135596800000-0000)\/","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/csv
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}