Creating a Partner

URL:

http://servername:8089/do?

The input parameters are listed in the following table:

Parameters

Type

Value

Length

action

Constant

partner

 

subaction

Constant

addmewpartner

 

buname

String

 

128

city

String

 

45

country

String

 

45

name

String

 

128

orgaddress1

String

 

255

orgaddress2

String

 

255

postcode

String

 

45

province

String

 

45

sitecode

String

 

32

state

String

 

45

Sample input is listed in the following table:

Type

Input

action

partner

buname

TestingPartner11

city

Erie

country

USA

idparentname

Testing11

orgaddress1

west10 Apt204

orgaddress2

Cook Place Dr

postcode

16502

province

NV

sitecode

Tes11

state

PA

subaction

addnewpartner

The responses are listed in the following table:

Response

Type

Values

Comments

msg

String

 

Response message

success

Enum

True/False

Returns true if partner is added successfully and returns false if partner is not added successfully. Check iSM Logs for the cause of failure.

The following table provides a sample JSON response:

msg

iTPM Auth Success

success

true


iWay Software