GET | /Crm/Orders/AvaliablePaymentDocs |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientId | query | int? | No | |
OrderId | query | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientInfo | form | AccountInfo | No | |
Result | form | List<AvaliableCrmOrderPaymentDoc> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Acc | form | string | No | |
Name | form | string | No | |
SN | form | string | No | |
WarehouseAddress | form | string | No | |
Address | form | string | No | |
Phone | form | string | No | |
AccWithName | form | string | No | |
VatType | form | int | No | |
BranchId | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DocID | form | string | No | |
BookID | form | string | No | |
DDate | form | DateTime | No | |
Oper | form | OperInfo | No | |
InAcc | form | AccountInfo | No | |
VG | form | decimal | No | |
RemVG | form | decimal | No | |
NumberIn | form | string | No | |
NumberOut | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OperID | form | string | No | |
Name | form | string | No | |
DocsTypeID | form | string | No | |
FFormsID | form | int | No | |
DocType | form | int | No | |
Spend | form | bool | No | |
LAutoNum | form | bool | No | |
AutoNum | form | int? | No | |
Dets | form | List<OpDetInfo> | No | |
WebFormName | form | string | No | |
IsWaybill | form | bool? | No | |
IsInvoice | form | bool? | No | |
IsSpecInvoice | form | bool? | No | |
Tags | form | List<Tag> | No | |
IsTaxDoc | form | bool | No | |
IsPrepaidInvoice | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OpDetID | form | string | No | |
OperID | form | string | No | |
Name | form | string | No | |
DBTemplate | form | string | No | |
CRTemplate | form | string | No | |
BookType | form | int | No | |
SubDoc | form | byte | No | |
DBTemplateType | form | int | No | |
CRTemplateType | form | int | No | |
ChangeAcc | form | bool? | No | |
PositiveTemplate | form | string | No | |
NegativTemplate | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
TypeId | form | int | No | |
Name | form | string | No | |
SubId | form | string | No | |
TypeName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Crm/Orders/AvaliablePaymentDocs HTTP/1.1 Host: apex.nikoratrade.ge Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"ClientInfo":{"Acc":"String","Name":"String","SN":"String","WarehouseAddress":"String","Address":"String","Phone":"String","AccWithName":"String - String","VatType":0,"BranchId":0},"Result":[{"DocID":"String","BookID":"String","DDate":"\/Date(-62135596800000-0000)\/","Oper":{"OperID":"String","Name":"String","DocsTypeID":"String","FFormsID":0,"DocType":0,"Spend":false,"LAutoNum":false,"AutoNum":0,"Dets":[{"OpDetID":"String","OperID":"String","Name":"String","DBTemplate":"String","CRTemplate":"String","BookType":0,"SubDoc":0,"DBTemplateType":0,"CRTemplateType":0,"ChangeAcc":false,"PositiveTemplate":"String","NegativTemplate":"String"}],"WebFormName":"String","IsWaybill":false,"IsInvoice":false,"IsSpecInvoice":false,"Tags":[{"Id":0,"TypeId":0,"Name":"String","SubId":"String","TypeName":"String"}],"IsTaxDoc":false,"IsPrepaidInvoice":false},"InAcc":{"Acc":"String","Name":"String","SN":"String","WarehouseAddress":"String","Address":"String","Phone":"String","AccWithName":"String - String","VatType":0,"BranchId":0},"VG":0,"RemVG":0,"NumberIn":"String","NumberOut":"String"}]}