POST | /Accounting/Docs/ManyBooksReferences |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BookRefsList | body | Dictionary<string, List<BookRef>> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Accounting/Docs/ManyBooksReferences HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/json
Content-Type: application/json
Content-Length: length
{"BookRefsList":{"String":[{"Id":"String","SourceId":"String","DestId":"String","RefType":0,"Vg":0,"Vu":0,"Vc":0,"SourceDoc":{"DocID":"String","DocType":0,"BookType":0,"OperID":"String","Currency":{"CurrencyID":"String","Name":"String","NameEn":"String","Code":"String","CurType":0,"ReCalc":false,"LastDate":"\/Date(-62135596800000-0000)\/","Rate":0,"Spend":false,"CurrencyCnt":0,"Currency_N":"String","LDefault":false},"DBView":{"Acc":"String","Name":"String","SN":"String","WarehouseAddress":"String","Address":"String","Phone":"String","AccWithName":"String - String","VatType":0,"BranchId":0},"CRView":{"Acc":"String","Name":"String","SN":"String","WarehouseAddress":"String","Address":"String","Phone":"String","AccWithName":"String - String","VatType":0,"BranchId":0},"DDate":"\/Date(-62135596800000-0000)\/","NumberIn":"String","NumberOut":"String","RSWaybillNum":"String","DocWaybillNum":"String","RSWaybillID":0,"Vg":0,"Contents":"String","VgCurrent":0,"OpDetId":"String","CUser":"String","BookNote":"String","TaxDocId":0,"TaxDocNum":"String","TaxDocSerie":"String"}}]}}
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"}}}