ApexERPHost

<back to all web services

GetOperInfo

Requires Authentication
The following routes are available for this service:
GET/Accounting/Opers/{OperId}/Info
GetOperInfo Parameters:
NameParameterData TypeRequiredDescription
OperIdpathstringNo
GetOperInfoResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformOperInfoNo
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
IsTaxDocformbool?No
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 /Accounting/Opers/{OperId}/Info HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
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: 
	{
		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
	}
}