POST | /Accounting/Docs/Document/Import |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Docs | body | List<DocsImportDocument> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Oper | form | string | No | |
DDate | form | DateTime | No | |
DPay | form | DateTime? | No | |
DB | form | string | No | |
CR | form | string | No | |
DB_CR | form | string | No | |
CurrencyCode | form | string | No | |
Rate | form | decimal? | No | |
Amount | form | decimal? | No | |
Percent | form | decimal? | No | |
Amount2 | form | decimal? | No | |
Contents | form | string | No | |
BookNote | form | string | No | |
NumberIn | form | string | No | |
NumberOut | form | string | No | |
PresalerName | form | string | No | |
PresalerId | form | string | No | |
hasError | form | bool | No | |
ErrorText | form | string | No | |
RowNumber | form | int | 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/Docs/Document/Import HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Docs:
[
{
Oper: String,
DDate: 0001-01-01,
DPay: 0001-01-01,
DB: String,
CR: String,
DB_CR: String,
CurrencyCode: String,
Rate: 0,
Amount: 0,
Percent: 0,
Amount2: 0,
Contents: String,
BookNote: String,
NumberIn: String,
NumberOut: String,
PresalerName: String,
PresalerId: String,
hasError: False,
ErrorText: String,
RowNumber: 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 }