Add (Update) Partner Company Shell Membership

PUT http://<environment url>/ws/rest/service/v1/admin/company/shell/member/add

URL: <unifier_url>/ws/rest/service/v1/admin/company/shell/member/add

Purpose

Add a partner company to a shell based on the information provided.

Request Format

Company information in JSON format.

Sample Request

To add a member company to a shell:

{

"shortname":"partner01",

"shellnumber":"7896"

}

Response Format

Return data will be JSON format.

Validations

Status Condition Message
200 Success The member company {name} has been added to shell {name}
910 Adding inactive partner company to a given shell. The inactive partner company {name} cannot be added to shell {name}.
911 Adding member company to an inactive shell. The partner company {name} cannot be added to inactive shell {name}
902 Partner company specified does not exist as shortname specified is not matching. The partner company does not exist.
500 Server Error. Server Error, contact the system administrator.
901 Invalid data value. Invalid data for <data_element>.
5555 One or more records contain errors. The partner company does not exist