POST api/SellerService/AddUser

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional 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-07T12:20:26.1786853+00:00",
      "EndDate": "2024-11-07T12:20:26.1786853+00:00"
    },
    {
      "OrganisationId": 1,
      "OrganisationName": "sample string 2",
      "StartDate": "2024-11-07T12:20:26.1786853+00:00",
      "EndDate": "2024-11-07T12:20:26.1786853+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-07T12:20:26.1786853+00:00</EndDate>
      <OrganisationId>1</OrganisationId>
      <OrganisationName>sample string 2</OrganisationName>
      <StartDate>2024-11-07T12:20:26.1786853+00:00</StartDate>
    </SellerOrganisationMembership>
    <SellerOrganisationMembership>
      <EndDate>2024-11-07T12:20:26.1786853+00:00</EndDate>
      <OrganisationId>1</OrganisationId>
      <OrganisationName>sample string 2</OrganisationName>
      <StartDate>2024-11-07T12:20:26.1786853+00:00</StartDate>
    </SellerOrganisationMembership>
  </Memberships>
</User>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.