POST organization/{accountId}/memberpermissions
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | globally unique identifier |
Required |
Body Parameters
Collection of ContactPermissionModelName | Description | Type | Additional information |
---|---|---|---|
ContactId | globally unique identifier |
None. |
|
FullName | string |
None. |
|
Title | string |
None. |
|
ContactRoles | Collection of Option |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ContactId": "b34f5364-bb94-4043-a6e7-c8c15ac1f65e", "FullName": "sample string 2", "Title": "sample string 3", "ContactRoles": [ { "Value": "sample string 1", "Code": "sample string 2", "Text": "sample string 3", "Selected": true }, { "Value": "sample string 1", "Code": "sample string 2", "Text": "sample string 3", "Selected": true } ] }, { "ContactId": "b34f5364-bb94-4043-a6e7-c8c15ac1f65e", "FullName": "sample string 2", "Title": "sample string 3", "ContactRoles": [ { "Value": "sample string 1", "Code": "sample string 2", "Text": "sample string 3", "Selected": true }, { "Value": "sample string 1", "Code": "sample string 2", "Text": "sample string 3", "Selected": true } ] } ]
application/xml, text/xml
Sample:
<ArrayOfContactPermissionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodExport.Web.Services.Models"> <ContactPermissionModel> <ContactId>b34f5364-bb94-4043-a6e7-c8c15ac1f65e</ContactId> <ContactRoles> <Option> <Code>sample string 2</Code> <Selected>true</Selected> <Text>sample string 3</Text> <Value>sample string 1</Value> </Option> <Option> <Code>sample string 2</Code> <Selected>true</Selected> <Text>sample string 3</Text> <Value>sample string 1</Value> </Option> </ContactRoles> <FullName>sample string 2</FullName> <Title>sample string 3</Title> </ContactPermissionModel> <ContactPermissionModel> <ContactId>b34f5364-bb94-4043-a6e7-c8c15ac1f65e</ContactId> <ContactRoles> <Option> <Code>sample string 2</Code> <Selected>true</Selected> <Text>sample string 3</Text> <Value>sample string 1</Value> </Option> <Option> <Code>sample string 2</Code> <Selected>true</Selected> <Text>sample string 3</Text> <Value>sample string 1</Value> </Option> </ContactRoles> <FullName>sample string 2</FullName> <Title>sample string 3</Title> </ContactPermissionModel> </ArrayOfContactPermissionModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |