URL:
http://servername:8089/do?
The input parameters are listed in the following table:
Parameters | Type | Value | Length |
---|---|---|---|
action | constant | Partner | |
subaction | constant | addnewpartnercontact | |
address1 | String | 255 | |
address2 | String | 255 | |
city | String | 45 | |
contactname | String | 50 | |
country | String | 45 | |
String | 45 | ||
idpartner | Number | ||
isautonotifycontact | tinyint | 1 | |
mobile | tinyint | 1 | |
phone | String | 50 | |
postcode | String | 45 | |
province | String | 45 | |
state | String | 45 |
Note: Parameter “idparner” and “subaction” are repeated twice.
An example of input would be:
Type | Input |
---|---|
action | partner |
address1 | 3212 apt 56 |
address2 | Cook Place |
city | erie |
contactname | Ravi |
country | pa |
ravi@test.com | |
idpartner | 9 |
idpartner | 9 |
isautonotifycontact | 1 |
isprimarycontact | 1 |
mobile | 2223334444 |
phone | 2223334444 |
postcode | 27012 |
province | NV |
state | NC |
subaction | addnewpartnercontact |
The responses are listed in the following table:
Response | Type | Value | Comment |
---|---|---|---|
msg | String | Partner Contact Add failed | Response message |
success | String | Fail | Response success condition |
The following table provides a sample JSON response:
msg | Partner Contact Add failed |
success | fail |
iWay Software |