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": "a8da86be-11d3-4e9d-8e13-a751dec36e0b",
"Name": "sample string 2",
"Active": true,
"ParticipantId": "6d8ffae1-4a7a-4b46-ae29-885d6a902bef",
"ParticipantName": "sample string 5",
"CompanyAdmins": [
"sample string 1",
"sample string 2"
],
"ParentCompanyId": "b3008c46-8daf-4620-801c-59fd32645dab",
"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>a8da86be-11d3-4e9d-8e13-a751dec36e0b</Id>
<Name>sample string 2</Name>
<ParentCompanyId>b3008c46-8daf-4620-801c-59fd32645dab</ParentCompanyId>
<ParentCompanyName>sample string 6</ParentCompanyName>
<ParticipantId>6d8ffae1-4a7a-4b46-ae29-885d6a902bef</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.