ApexERPHost

<back to all web services

GetDocsTypeDef

Requires Authentication
The following routes are available for this service:
GET/Accounting/DocsTypes/Def
GET/Accounting/DocsTypes/Def/{DocsTypeId}
GetDocsTypeDef Parameters:
NameParameterData TypeRequiredDescription
DocsTypeIdpathstringNo
GetDocsTypeDefResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<DocsTypeDef>No
DocsTypeDef Parameters:
NameParameterData TypeRequiredDescription
DocsType_idformstringNo
DocsPr_idformstringNo
FForms_idformint?No
DocsType_nuformstringNo
DocsType_neformstringNo
DocsReportformstringNo
DocsFormformstringNo
Spendformbool?No
LAutoNumformbool?No
AutoNumformint?No
LDefaultformbool?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.

GET /Accounting/DocsTypes/Def HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/x-protobuf
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":[{"DocsType_id":"String","DocsPr_id":"String","FForms_id":0,"DocsType_nu":"String","DocsType_ne":"String","DocsReport":"String","DocsForm":"String","Spend":false,"LAutoNum":false,"AutoNum":0,"LDefault":false}]}