ApexERPHost

<back to all web services

GetCrmContractsByAcc

Requires Authentication
The following routes are available for this service:
GET/Crm/Contracts/GetCrmContractsByAcc
GetCrmContractsByAcc Parameters:
NameParameterData TypeRequiredDescription
AccquerystringNo
GetCrmContractsByAccResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<CrmContracts>No
CrmContracts Parameters:
NameParameterData TypeRequiredDescription
CntIdformintNo
CompanyIdformintNo
CnttypeIdformintNo
TmplIdformintNo
CntnumformstringNo
AmountformdecimalNo
CurrencyIdformstringNo
VatformdecimalNo
CntdateformDateTimeNo
StdateformDateTimeNo
EnddateformDateTimeNo
StatusIdformintNo
OperIdformstringNo
CntObjectformstringNo
CommentformstringNo
FileIdformGuid?No
CreditAmountsformdecimalNo
CreditDaysformintNo
DiscountPercentformdecimalNo
DiscountAmountformdecimalNo
ImportDiscPercentformdecimalNo
CostMarginPercentformdecimalNo
AllBrformboolNo
ClientAllBrformboolNo
CoordIdformint?No
PtypeIdformint?No
PayDayTypesformintNo
PayDaysformstringNo
FrozenVgformdecimalNo
CityIdformstringNo
UnidformGuid?No
OwnPersonIdformint?No
ClientPersonIdformint?No
Txt1formstringNo
Txt2formstringNo
Txt3formstringNo
CompanyAccformstringNo
CorAccformstringNo
PayerAccformstringNo
PayerAccPercentformdecimalNo

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 /Crm/Contracts/GetCrmContractsByAcc 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: 
	[
		{
			CntId: 0,
			CompanyId: 0,
			CnttypeId: 0,
			TmplId: 0,
			Cntnum: String,
			Amount: 0,
			CurrencyId: String,
			Vat: 0,
			Cntdate: 0001-01-01,
			Stdate: 0001-01-01,
			Enddate: 0001-01-01,
			StatusId: 0,
			OperId: String,
			CntObject: String,
			Comment: String,
			FileId: 00000000000000000000000000000000,
			CreditAmounts: 0,
			CreditDays: 0,
			DiscountPercent: 0,
			DiscountAmount: 0,
			ImportDiscPercent: 0,
			CostMarginPercent: 0,
			AllBr: False,
			ClientAllBr: False,
			CoordId: 0,
			PtypeId: 0,
			PayDayTypes: 0,
			PayDays: String,
			FrozenVg: 0,
			CityId: String,
			Unid: 00000000000000000000000000000000,
			OwnPersonId: 0,
			ClientPersonId: 0,
			Txt1: String,
			Txt2: String,
			Txt3: String,
			CompanyAcc: String,
			CorAcc: String,
			PayerAcc: String,
			PayerAccPercent: 0
		}
	]
}