POST /Account/Create/Parent

This process creates a new user with the next available parent ID and creates the login, email and group. Requires all information including a valid invitation code. Secret Hmac Required. No Cache.

application/json

Body Required

  • Token string

    optional jwt token returned from a previous call to /Auth/Verify/Login or /Auth/Verify/Token

  • Href string

    required copy of document.href since referrer is not always accurate

  • FirstName string

    the first name of the user

  • LastName string

    the last name of the user

  • Company string

    optional company name

  • Address string

    optional address

  • Address2 string

    optional address

  • City string

    optional city

  • State string

    optional state/province

  • Postal string

    optional postal code / zip code

  • Country string

    optional country

  • Email string

    the email address (which is the initial username as well)

  • Password string

    the password

  • Phone string

    the phone number of the user (preferably mobile so that we can text)

  • Invite string

    the invitation code entered (empty is default)

Responses

  • 200 application/json

    User Created

    Hide response attributes Show response attributes object
    • Parent number

      Parent User Number (top level)

    • Custno number

      customer number

    • Created string

      date/time the account was created

    • LoginOwnerId number

      the login user who is the owner of this account

    • DispGroup string

      the screen group that this user is in

    • Company string

      company name

    • FirstName string

      primary contact first name

    • LastName string

      primary contact last name

    • Address1 string

      address line 1

    • Address2 string

      address line 2

    • City string

      city

    • State string

      state/province

    • Zip string

      zip code/postal code

    • CountryCode string

      country Code

    • Longitude number

      longitude

    • Latitude number

      latitude

    • Phone string

      Primary business phone number

    • Fax string

      Primary business fax number

    • Web string

      company web site

    • Description string

      description of company

    • Mission string

      mission/vision of company

    • TimeZone string

      time zone string

    • LocationId string

      location id used by the company (for Hyatt it is the Spirit Code)

    • Pages number

      total pages used

    • PagesPlayed number

      Total Signage Pages Played

    • LastLogin string

      Last Date/Time logged in

    • LastUse string

      Last Date/Time used

    • LastContent string

      Last Date/Time that signage content was updated

POST /Account/Create/Parent
curl \
 --request POST 'https://api.wrtm.io/v1.0/Account/Create/Parent' \
 --header "X-ApiKey: $API_KEY" \
 --header "X-ApiDate: $API_KEY" \
 --header "X-ApiHmac: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"Token":"base 64 encoded stuffs","Href":"https://www.whyreadthemanual.com/adduser","FirstName":"John","LastName":"Doe","Company":"example.com","Address":"string","Address2":"string","City":"string","State":"string","Postal":"string","Country":"string","Email":"john.doe@example.com","Password":"password","Phone":"715-123-4567","Invite":"default"}'
Request examples
{
  "Token": "base 64 encoded stuffs",
  "Href": "https://www.whyreadthemanual.com/adduser",
  "FirstName": "John",
  "LastName": "Doe",
  "Company": "example.com",
  "Address": "string",
  "Address2": "string",
  "City": "string",
  "State": "string",
  "Postal": "string",
  "Country": "string",
  "Email": "john.doe@example.com",
  "Password": "password",
  "Phone": "715-123-4567",
  "Invite": "default"
}
Response examples (200)
{
  "Parent": 10028,
  "Custno": 10028,
  "Created": "Tue, 01 Jun 2004 00:00:00 GMT",
  "LoginOwnerId": 5,
  "DispGroup": "10 (Altoona, WI)",
  "Company": "WRTM Digital Signage",
  "FirstName": "Mike",
  "LastName": "Strand",
  "Address1": "6595 South Shore Drive",
  "Address2": "string",
  "City": "Altoona",
  "State": "WI",
  "Zip": "54720",
  "CountryCode": "US",
  "Longitude": -91.4042,
  "Latitude": -91.4042,
  "Phone": "7152357446",
  "Fax": "string",
  "Web": "www.WRTM.io",
  "Description": "WRTM LLC is a new generation of digital signage companies which leverage the power and flexibility of the Internet. It provides an inexpensive, easy-to-implement way for business customers to display constantly changing messages to employees, visitors and customers using computer or television displays.",
  "Mission": "Improving relationships with customers, employees and visitors through effective, easy and enjoyable communication.",
  "TimeZone": "America/Chicago",
  "LocationId": "string",
  "Pages": 46,
  "PagesPlayed": 187,
  "LastLogin": "Fri, 07 Jul 2023 01:59:00 GMT",
  "LastUse": "Sat, 08 Jul 2023 08:15:00 GMT",
  "LastContent": "Mon, 12 Jun 2023 16:16:00 GMT"
}