PUT api/companies/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
Company| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Active | boolean |
None. |
|
| ParticipantId | globally unique identifier |
None. |
|
| ParticipantName | string |
None. |
|
| CompanyAdmins | Collection of string |
None. |
|
| ParentCompanyId | globally unique identifier |
None. |
|
| ParentCompanyName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "2fa37d68-597d-49e0-9a43-7bf021bd552b",
"Name": "sample string 2",
"Active": true,
"ParticipantId": "b8303b26-cdfc-4a19-9557-d56cecc15552",
"ParticipantName": "sample string 5",
"CompanyAdmins": [
"sample string 1",
"sample string 2"
],
"ParentCompanyId": "a5889580-6425-4fdd-9c89-7bf55ed7a5c6",
"ParentCompanyName": "sample string 6"
}
application/xml, text/xml
Sample:
<Company xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UEP.Core.Models">
<Active>true</Active>
<CompanyAdmins xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</CompanyAdmins>
<Id>2fa37d68-597d-49e0-9a43-7bf021bd552b</Id>
<Name>sample string 2</Name>
<ParentCompanyId>a5889580-6425-4fdd-9c89-7bf55ed7a5c6</ParentCompanyId>
<ParentCompanyName>sample string 6</ParentCompanyName>
<ParticipantId>b8303b26-cdfc-4a19-9557-d56cecc15552</ParticipantId>
<ParticipantName>sample string 5</ParticipantName>
</Company>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.