ApexERPHost

<back to all web services

AddAccountingOperInfo

Requires Authentication
The following routes are available for this service:
POST/Accounting/Opers
AddAccountingOperInfo Parameters:
NameParameterData TypeRequiredDescription
OperbodyOperInfoNo
OperInfo Parameters:
NameParameterData TypeRequiredDescription
OperIDformstringNo
NameformstringNo
DocsTypeIDformstringNo
FFormsIDformintNo
DocTypeformintNo
SpendformboolNo
LAutoNumformboolNo
AutoNumformint?No
DetsformList<OpDetInfo>No
WebFormNameformstringNo
IsWaybillformbool?No
IsInvoiceformbool?No
IsSpecInvoiceformbool?No
TagsformList<Tag>No
IsTaxDocformbool?No
OpDetInfo Parameters:
NameParameterData TypeRequiredDescription
OpDetIDformstringNo
OperIDformstringNo
NameformstringNo
DBTemplateformstringNo
CRTemplateformstringNo
BookTypeformintNo
SubDocformbyteNo
DBTemplateTypeformintNo
CRTemplateTypeformintNo
ChangeAccformbool?No
PositiveTemplateformstringNo
NegativTemplateformstringNo
Tag Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
TypeIdformintNo
NameformstringNo
SubIdformstringNo
TypeNameformstringNo
AddAccountingOperInfoResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /Accounting/Opers HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Oper":{"OperID":"String","Name":"String","DocsTypeID":"String","FFormsID":0,"DocType":0,"Spend":false,"LAutoNum":false,"AutoNum":0,"Dets":[{"OpDetID":"String","OperID":"String","Name":"String","DBTemplate":"String","CRTemplate":"String","BookType":0,"SubDoc":0,"DBTemplateType":0,"CRTemplateType":0,"ChangeAcc":false,"PositiveTemplate":"String","NegativTemplate":"String"}],"WebFormName":"String","IsWaybill":false,"IsInvoice":false,"IsSpecInvoice":false,"Tags":[{"Id":0,"TypeId":0,"Name":"String","SubId":"String","TypeName":"String"}],"IsTaxDoc":false}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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