| POST | /Accounting/Advance/Acc |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Docs | body | List<AdvanceAndPayDocs> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RsCode | form | string | No | |
| ClientAcc | form | string | No | |
| ClientName | form | string | No | |
| AdvanceAcc | form | string | No | |
| AdvanceAccName | form | string | No | |
| BookId | form | string | No | |
| DocsId | form | string | No | |
| OpDetId | form | string | No | |
| CurrencyId | form | string | No | |
| DDate | form | DateTime | No | |
| DB | form | string | No | |
| DBName | form | string | No | |
| CR | form | string | No | |
| CRName | form | string | No | |
| VG | form | decimal? | No | |
| VU | form | decimal? | No | |
| VC | form | decimal? | No | |
| Contents | form | string | No | |
| BookNote | form | string | No | |
| NumberIn | form | string | No | |
| NumberOut | form | string | No | |
| Blocking | form | bool? | No | |
| CUser | form | string | No | |
| FinalAmount | form | decimal? | No | |
| HasVat | form | bool | No | |
| HasOverlap | form | bool | No | |
| VatVg | form | decimal? | No | |
| OverlapVg | form | decimal? | No | |
| OverlapVatVg | form | decimal? | No | |
| IsAdvance | form | bool | 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/Acc HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Docs:
[
{
RsCode: String,
ClientAcc: String,
ClientName: String,
AdvanceAcc: String,
AdvanceAccName: String,
BookId: String,
DocsId: String,
OpDetId: String,
CurrencyId: String,
DDate: 0001-01-01,
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/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
}