POST api/SellerService/AddUserFromUserAccessReport
Request Information
URI Parameters
None.
Body Parameters
UserName | Description | Type | Additional information |
---|---|---|---|
Memberships | Collection of SellerOrganisationMembership |
None. |
|
DisplayName | string |
None. |
|
EmailAddress | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Memberships": [ { "OrganisationId": 1, "OrganisationName": "sample string 2", "StartDate": "2024-11-11T21:10:21.1413824+00:00", "EndDate": "2024-11-11T21:10:21.1413824+00:00" }, { "OrganisationId": 1, "OrganisationName": "sample string 2", "StartDate": "2024-11-11T21:10:21.1413824+00:00", "EndDate": "2024-11-11T21:10:21.1413824+00:00" } ], "DisplayName": "sample string 1", "EmailAddress": "sample string 2" }
application/xml, text/xml
Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Chevron.Abu.Whs.Portals.Domgas.Dto.Administration"> <DisplayName>sample string 1</DisplayName> <EmailAddress>sample string 2</EmailAddress> <Memberships> <SellerOrganisationMembership> <EndDate>2024-11-11T21:10:21.1413824+00:00</EndDate> <OrganisationId>1</OrganisationId> <OrganisationName>sample string 2</OrganisationName> <StartDate>2024-11-11T21:10:21.1413824+00:00</StartDate> </SellerOrganisationMembership> <SellerOrganisationMembership> <EndDate>2024-11-11T21:10:21.1413824+00:00</EndDate> <OrganisationId>1</OrganisationId> <OrganisationName>sample string 2</OrganisationName> <StartDate>2024-11-11T21:10:21.1413824+00:00</StartDate> </SellerOrganisationMembership> </Memberships> </User>
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. |