POST api/Registration/Save

Request Information

URI Parameters

None.

Body Parameters

AccountRegistrationDTO
NameDescriptionTypeAdditional information
Account

AccountDTO

None.

SystemUser

SystemUserDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "Account": {
    "ID": 1,
    "TenantID": "de1bd0f6-a4fb-4c58-8749-d7d5ab012ec1",
    "CompanyLogo": "QEA=",
    "CompanyName": "sample string 3",
    "CountryCode": "sample string 4",
    "City": "sample string 5",
    "StreetAddress": "sample string 6",
    "PhoneNumber": "sample string 7",
    "EmailAddress": "sample string 8",
    "UseUnits": true,
    "NumberOfUnits": 10,
    "UseSeats": true,
    "AccountBaseCost": 12.1,
    "AccountSeatCost": 13.1,
    "MasterAccess": true
  },
  "SystemUser": {
    "ID": 1,
    "UserRoleID": 2,
    "RegionID": 3,
    "RoleName": "sample string 4",
    "UID": "2908b0a0-0e1b-4a74-a5d2-6b53df412119",
    "AccountID": 6,
    "Title": "sample string 7",
    "CompanyPosition": "sample string 8",
    "FirstName": "sample string 9",
    "LastName": "sample string 10",
    "ContactTel": "sample string 11",
    "ContactEmail": "sample string 12",
    "AddressLine1": "sample string 13",
    "AddressLine2": "sample string 14",
    "Suburb": "sample string 15",
    "Province": "sample string 16",
    "Username": "sample string 17",
    "Password": "sample string 18",
    "LanguageCode": "sample string 19",
    "EmailConfirmed": true,
    "EmailConfirmedDateTime": "2024-12-28T08:49:43.4268089+02:00",
    "InActive": true,
    "IsDeleted": true,
    "ResetPasswordCode": true,
    "RegionName": "sample string 24",
    "FullName": "sample string 25",
    "SystemUserID": 26,
    "SystemUserFullName": "sample string 27"
  }
}

application/xml, text/xml

Sample:
<AccountRegistrationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <Account>
    <AccountBaseCost>12.1</AccountBaseCost>
    <AccountSeatCost>13.1</AccountSeatCost>
    <City>sample string 5</City>
    <CompanyLogo>QEA=</CompanyLogo>
    <CompanyName>sample string 3</CompanyName>
    <CountryCode>sample string 4</CountryCode>
    <EmailAddress>sample string 8</EmailAddress>
    <ID>1</ID>
    <MasterAccess>true</MasterAccess>
    <NumberOfUnits>10</NumberOfUnits>
    <PhoneNumber>sample string 7</PhoneNumber>
    <StreetAddress>sample string 6</StreetAddress>
    <TenantID>de1bd0f6-a4fb-4c58-8749-d7d5ab012ec1</TenantID>
    <UseSeats>true</UseSeats>
    <UseUnits>true</UseUnits>
  </Account>
  <SystemUser>
    <AccountID>6</AccountID>
    <AddressLine1>sample string 13</AddressLine1>
    <AddressLine2>sample string 14</AddressLine2>
    <CompanyPosition>sample string 8</CompanyPosition>
    <ContactEmail>sample string 12</ContactEmail>
    <ContactTel>sample string 11</ContactTel>
    <EmailConfirmed>true</EmailConfirmed>
    <EmailConfirmedDateTime>2024-12-28T08:49:43.4268089+02:00</EmailConfirmedDateTime>
    <FirstName>sample string 9</FirstName>
    <FullName>sample string 25</FullName>
    <ID>1</ID>
    <InActive>true</InActive>
    <IsDeleted>true</IsDeleted>
    <LanguageCode>sample string 19</LanguageCode>
    <LastName>sample string 10</LastName>
    <Password>sample string 18</Password>
    <Province>sample string 16</Province>
    <RegionID>3</RegionID>
    <RegionName>sample string 24</RegionName>
    <ResetPasswordCode>true</ResetPasswordCode>
    <RoleName>sample string 4</RoleName>
    <Suburb>sample string 15</Suburb>
    <SystemUserFullName>sample string 27</SystemUserFullName>
    <SystemUserID>26</SystemUserID>
    <Title>sample string 7</Title>
    <UID>2908b0a0-0e1b-4a74-a5d2-6b53df412119</UID>
    <UserRoleID>2</UserRoleID>
    <Username>sample string 17</Username>
  </SystemUser>
</AccountRegistrationDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>