API – Create a Source Company

General

To create a source company through the API, send a POST request to the following URL:

https://loanpro.simnang.com/api/public/api/1/odata.svc/SourceCompanies()?

The payload should look something like this:

{ 
"active":1,
"Address":{
"country":"company.country.usa",
"state":"geo.state.NY",
"address1":"123 Oak Lane",
"address2":"456 Maple Lane",
"zipcode":"123456789",
"city":"Schenectady"
},
"companyName":"John's Autos",
"contactName":"John Doe",
"contactEmail":"johndoe@gmail.com",
"contactPhone":"7856986565",
"numPrefix":"PX",
"numSuffix":"SX"
}
  • active - Sets the status of the source company. (0 = inactive, 1 = active)
  • Address - This object contains all of the information for the source company address.
  • companyName - The name of the source company you are creating.
  • contactName - Name of your contact at the source company.
  • contactEmail - Email of your contact at the source company.
  • contactPhone - Phone number of your contact at the source company.
  • numPrefix - The common prefix that will be added to the id's of loans created with this company assigned as the source company.
  • numSuffix - The common suffix that will be added to the id's of loans created with this company assigned as the source company.


How did we do?


Powered by HelpDocs (opens in a new tab)