POST | /Accounting/Advance/Overlap |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AdvanceDocsId | body | string | No | |
AdvanceAcc | body | string | No | |
CurrencyId | body | string | No | |
RateC | body | decimal | No | |
Amount | body | decimal | No | |
HasVat | body | bool | No | |
NumberIn | body | string | No | |
NumberOut | body | string | No | |
SaleDocs | body | List<SaleDocsForAdvances> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DocsId | form | string | No | |
OperId | form | string | No | |
DDate | form | DateTime | No | |
CurrencyCode | form | string | No | |
DB | form | string | No | |
AccName | form | string | No | |
VG | form | decimal | No | |
VU | form | decimal | No | |
VC | form | decimal | No | |
NumberIn | form | string | No | |
NumberOut | form | string | No | |
OverlapedVg | form | decimal | No | |
OverlapedVu | form | decimal | No | |
OverlapedVc | form | decimal | No | |
RemainingVg | form | decimal | No | |
RemainingVu | form | decimal | No | |
RemainingVc | form | decimal | No | |
VatAcc | form | string | No | |
RateC | form | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Accounting/Advance/Overlap HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
AdvanceDocsId: String,
AdvanceAcc: String,
CurrencyId: String,
RateC: 0,
Amount: 0,
HasVat: False,
NumberIn: String,
NumberOut: String,
SaleDocs:
[
{
DocsId: String,
OperId: String,
DDate: 0001-01-01,
CurrencyCode: String,
DB: String,
AccName: String,
VG: 0,
VU: 0,
VC: 0,
NumberIn: String,
NumberOut: String,
OverlapedVg: 0,
OverlapedVu: 0,
OverlapedVc: 0,
RemainingVg: 0,
RemainingVu: 0,
RemainingVc: 0,
VatAcc: String,
RateC: 0
}
]
}
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 }