ApexERPHost

<back to all web services

GetCrmBranchPersonBySN

Requires Authentication
The following routes are available for this service:
GET/Accounting/Crm/Branch/Persons/PesonSN
GetCrmBranchPersonBySN Parameters:
NameParameterData TypeRequiredDescription
PersonSNsqueryList<string>No
GetCrmBranchPersonBySNResponse 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
CompanyInsuranceAmountformdouble?No
PersonalInsuranceAmountformdouble?No

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/PesonSN 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,
			CompanyInsuranceAmount: 0,
			PersonalInsuranceAmount: 0
		}
	]
}