API – Employer information
General
To edit employer information for a customer send a PUT request to the URL of the customer. For example, if a customer had the id 1137, the url would be https://loanpro.simnang.com/api/public/api/1/odata.svc/Customers(1137).
Below is a sample body of the request:
{
"Employer": {
"phone": "5555555555",
"payDate": "2015-11-30",
"Address": {
"address1": "123 Oak Lane",
"city": "San Diego",
"state": "geo.state.CA",
"zipcode": "145245498",
"country": "company.country.usa"
},
"hireDate": "2015-11-11",
"incomeFrequency": "customerEmployer.incomeFrequency.annually",
"payDateFrequency": "customerEmployer.payDateFrequency.weekly",
"income": "15000.00",
"companyName": "Merrill Lynch",
"title": "Shift Manager"
},
"__id": 1137,
"__update": true
}
- phone – The phone number of the employer
- payDate – The next pay date of the customer (YYYY-MM-DD)
- Address – The address of the employer (see API – Addresses)
- hireDate – The date the customer was hired (YYYY-MM-DD)
- incomeFrequency – The income frequency of the customer (See API Employer Collections)
- payDateFrequency – The pay date frequency of the customer (See API Employer Collections)
- income – The amount of income the customer receives
- companyName – The name of the company where the customer works
- title – The job title of the customer
- __id – The ID of the customer
- __update – Set to “true”