Registering sponsors
The Sponsor Registration API enables system administrators to send registration requests to sponsors and the sponsors can do the self registration by using the generated one time token for sponsor registration.
URL for access
The following URL pattern is used by the sponsor to register with IBM® Partner Engagement Management:
https://<host>:<port>/<mrmws>/register/sponsor/?token=<token returned by generate API>
Note: The URL can be different based on your deployment option. For more details about the URL, see
URL for accessing IBM PEM and APIs.
Headers
The headers for the API are as follows:
JSON
Content-Type: application/json
Sample request data
Use POST as the HTTP request method. A sample request pattern to register a sponsor is as follows:
For example,
JSON
{ "zip":"dummyValue",
"country":"BB",
"other":"dummyValue",
"website":"dummyValue",
"address":"dummyValue",
"securityQuestion":"dummyValue",
"city":"dummyValue",
"givenName":"dummyValue",
"companyName":"company2",
"contextURI":"company2",
"userId":"user6@id.com",
"password":"password123",
"businessRole":"dummyValue",
"answer":"dummyValue",
"mobilePhone":"dummyValue",
"passwordConfirm":"password123",
"phone":"dummyValue",
"surname":"dummyValue",
"hqPhone":"dummyValue",
"altEmail":"alt@mail.com",
"state":"dummyValue" }
Headers:
Processing
When the API call is completed, the API returns a status message.
Basic authentication is not required as the authentication is done by using the generated token.