URL:
http://servername:8089/do?
The input parameters are listed in the following table:
Parameters | Type | Value | Mandatory | Length | Comments |
---|---|---|---|---|---|
action | String | partner | Y | ||
subaction | String | getpartnercontacts | Y | ||
partnerid | Number | N | 11 | A list of contacts is needed for Partner ID. Not passing partnerid will return all the partnersystems |
Note: Either partnerid or partnername should be passed otherwise all the partners will be returned.
An example of input would be:
Type | Input |
---|---|
action | partner |
partnerid | 7 |
subaction | getpartnercontacts |
The responses are listed in the following table:
Response | Type | Value | Mandatory |
---|---|---|---|
isautonotifycontact | Boolean | Partner Action Failed | N |
phone | String | N | |
idcontact | int | N | |
state | String | N | |
isprimarycontact | Boolean | N | |
address1 | String | N | |
address2 | String | N | |
updatedt | Date | N | |
postcode | String | N | |
updateuser | String | N | |
country | String | N | |
name | String | Y | |
idpartner | int | N | |
contactname | String | N | |
String | N | ||
province | SQL Date format | N | |
mobile | String | N |
The following syntax is a sample JSON response:
[{"isautonotifycontact":false,"phone":"[00] (800)-4-003- 999","idcontact":1,"state":"NJ","isprimarycontact":true,"address1":"","ad dress2":"","updatedt ":null,"postcode":"","updateuser":null,"city":"","country":"NL","idpartne r":1,"contactname":"Elemica","email":"support@elemica.com","province":"", "mobile":""}]
iWay Software |