ApexERPHost

<back to all web services

GetAvaliablePaymentDocs

Requires Authentication
The following routes are available for this service:
GET/Warehousing/PreOrders/AvaliablePaymentDocs/{ClientAcc}
GetAvaliablePaymentDocs Parameters:
NameParameterData TypeRequiredDescription
ClientAccpathstringNo
GetAvaliablePaymentDocsResponse Parameters:
NameParameterData TypeRequiredDescription
ClientInfoformAccountInfoNo
ResultformList<AvaliablePaymentDocs>No
AccountInfo Parameters:
NameParameterData TypeRequiredDescription
AccformstringNo
NameformstringNo
SNformstringNo
WarehouseAddressformstringNo
AddressformstringNo
PhoneformstringNo
AccWithNameformstringNo
VatTypeformintNo
BranchIdformint?No
AvaliablePaymentDocs Parameters:
NameParameterData TypeRequiredDescription
DocIDformstringNo
BookIDformstringNo
DDateformDateTimeNo
OperformOperInfoNo
InAccformAccountInfoNo
VGformdecimalNo
RemVGformdecimalNo
NumberInformstringNo
NumberOutformstringNo
OperInfo Parameters:
NameParameterData TypeRequiredDescription
OperIDformstringNo
NameformstringNo
DocsTypeIDformstringNo
FFormsIDformintNo
DocTypeformintNo
SpendformboolNo
LAutoNumformboolNo
AutoNumformint?No
DetsformList<OpDetInfo>No
WebFormNameformstringNo
IsWaybillformbool?No
IsInvoiceformbool?No
IsSpecInvoiceformbool?No
TagsformList<Tag>No
IsTaxDocformboolNo
IsPrepaidInvoiceformboolNo
OpDetInfo Parameters:
NameParameterData TypeRequiredDescription
OpDetIDformstringNo
OperIDformstringNo
NameformstringNo
DBTemplateformstringNo
CRTemplateformstringNo
BookTypeformintNo
SubDocformbyteNo
DBTemplateTypeformintNo
CRTemplateTypeformintNo
ChangeAccformbool?No
PositiveTemplateformstringNo
NegativTemplateformstringNo
Tag Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
TypeIdformintNo
NameformstringNo
SubIdformstringNo
TypeNameformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Warehousing/PreOrders/AvaliablePaymentDocs/{ClientAcc} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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: 0001-01-01,
			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
		}
	]
}