POST api/SellerService/UpdateUserFromUserAccessReport

Request Information

URI Parameters

None.

Body Parameters

UpdateUser
NameDescriptionTypeAdditional information
Id

integer

None.

Memberships

Collection of SellerOrganisationMembership

None.

DisplayName

string

None.

EmailAddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Memberships": [
    {
      "OrganisationId": 1,
      "OrganisationName": "sample string 2",
      "StartDate": "2024-11-07T12:18:40.2571607+00:00",
      "EndDate": "2024-11-07T12:18:40.2571607+00:00"
    },
    {
      "OrganisationId": 1,
      "OrganisationName": "sample string 2",
      "StartDate": "2024-11-07T12:18:40.2571607+00:00",
      "EndDate": "2024-11-07T12:18:40.2571607+00:00"
    }
  ],
  "DisplayName": "sample string 2",
  "EmailAddress": "sample string 3"
}

application/xml, text/xml

Sample:
<UpdateUser 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 2</DisplayName>
  <EmailAddress>sample string 3</EmailAddress>
  <Memberships>
    <SellerOrganisationMembership>
      <EndDate>2024-11-07T12:18:40.2571607+00:00</EndDate>
      <OrganisationId>1</OrganisationId>
      <OrganisationName>sample string 2</OrganisationName>
      <StartDate>2024-11-07T12:18:40.2571607+00:00</StartDate>
    </SellerOrganisationMembership>
    <SellerOrganisationMembership>
      <EndDate>2024-11-07T12:18:40.2571607+00:00</EndDate>
      <OrganisationId>1</OrganisationId>
      <OrganisationName>sample string 2</OrganisationName>
      <StartDate>2024-11-07T12:18:40.2571607+00:00</StartDate>
    </SellerOrganisationMembership>
  </Memberships>
  <Id>1</Id>
</UpdateUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.