ApexERPHost

<back to all web services

GetStaffParams

Requires Authentication
The following routes are available for this service:
GET/Crm/StaffParams/{Id}
GetStaffParams Parameters:
NameParameterData TypeRequiredDescription
Idpathint?No
GetStaffParamsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformStaffParamsNo
StaffParams Parameters:
NameParameterData TypeRequiredDescription
Person_idformintNo
Dep_idformint?No
Post_idformint?No
Salaryformdouble?No
No_income_taxformbool?No
Cr_accformstringNo
Db_accformstringNo
Bank_idformstringNo
Bank_accformstringNo
Staff_statusformint?No
Exempt_income_amountformdouble?No
Exempt_income_percentformdouble?No
Regionformint?No
Pay_accformstringNo
Has_pensionformintNo
Excempt_income_begin_dateformDateTime?No
Company_insurance_amountformdouble?No
Personal_insurance_amountformdouble?No
Company_expense_accformstringNo
Personal_expense_accformstringNo
Insurance_company_accformstringNo

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/StaffParams/{Id} 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: 
	{
		Person_id: 0,
		Dep_id: 0,
		Post_id: 0,
		Salary: 0,
		No_income_tax: False,
		Cr_acc: String,
		Db_acc: String,
		Bank_id: String,
		Bank_acc: String,
		Staff_status: 0,
		Exempt_income_amount: 0,
		Exempt_income_percent: 0,
		Region: 0,
		Pay_acc: String,
		Has_pension: 0,
		Excempt_income_begin_date: 0001-01-01,
		Company_insurance_amount: 0,
		Personal_insurance_amount: 0,
		Company_expense_acc: String,
		Personal_expense_acc: String,
		Insurance_company_acc: String
	}
}