ApexERPHost

<back to all web services

GetCrmBranchPersons

Requires Authentication
The following routes are available for this service:
GET/Accounting/Crm/Branch/Persons
GetCrmBranchPersons Parameters:
NameParameterData TypeRequiredDescription
IsOwnquerybool?No
BranchIdqueryint?No
PayRollIdqueryint?No
GetCrmBranchPersonsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<CrmBranchPersonsView>No
CrmBranchPersonsView Parameters:
NameParameterData TypeRequiredDescription
BranchPersonsIdformintNo
BranchIdformintNo
PersonIdformintNo
CompanyIdformintNo
CompanyNameformstringNo
IsOwnformboolNo
IsPartnerformboolNo
IsSupplierformboolNo
IsCustomerformboolNo
PNameformstringNo
FirstNameformstringNo
LastNameformstringNo
Spendformbool?No
StafStatusformintNo
SalaryformdecimalNo
DepIdformint?No
DepNameformstringNo
PostIdformint?No
PostNameformstringNo
NoIncomeTaxformboolNo
TaxAmountformdecimalNo
TaxPercenformdecimalNo
bankAccformstringNo
BankIdformstringNo
PersonSNformstringNo
RemainingAmountformdoubleNo
PayAccformstringNo

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/Crm/Branch/Persons 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: 
	[
		{
			BranchPersonsId: 0,
			BranchId: 0,
			PersonId: 0,
			CompanyId: 0,
			CompanyName: String,
			IsOwn: False,
			IsPartner: False,
			IsSupplier: False,
			IsCustomer: False,
			PName: String,
			FirstName: String,
			LastName: String,
			Spend: False,
			StafStatus: 0,
			Salary: 0,
			DepId: 0,
			DepName: String,
			PostId: 0,
			PostName: String,
			NoIncomeTax: False,
			TaxAmount: 0,
			TaxPercen: 0,
			bankAcc: String,
			BankId: String,
			PersonSN: String,
			RemainingAmount: 0,
			PayAcc: String
		}
	]
}