POST | /RS/Invoices/SaveInvoiceDets |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InvoiceId | body | int | No | |
NewData | body | bool? | No | |
Dets | body | List<MOFInvoiceDet> | No | |
Nos | body | List<MOFInvoiceNos> | No | |
OpDate | body | DateTime? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | long | No | |
InvoiceID | form | int | No | |
Good | form | string | No | |
Unit | form | string | No | |
SCount | form | decimal | No | |
FullAmount | form | decimal | No | |
VatAmount | form | decimal | No | |
AkcizAmount | form | decimal | No | |
AkcizID | form | int | No | |
SVatAmount | form | string | No | |
WaybillId | form | int? | No | |
VatType | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
NosID | form | long | No | |
OverheadNo | form | string | No | |
OverheadDate | form | DateTime | No | |
OverheadDateStr | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Error | form | int | No | |
ErrorMessage | form | string | 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 /RS/Invoices/SaveInvoiceDets HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
InvoiceId: 0,
NewData: False,
Dets:
[
{
ID: 0,
InvoiceID: 0,
Good: String,
Unit: String,
SCount: 0,
FullAmount: 0,
VatAmount: 0,
AkcizAmount: 0,
AkcizID: 0,
SVatAmount: String,
WaybillId: 0,
VatType: 0
}
],
Nos:
[
{
NosID: 0,
OverheadNo: String,
OverheadDate: 0001-01-01,
OverheadDateStr: String
}
],
OpDate: 0001-01-01
}
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 } }, Error: 0, ErrorMessage: String }