AccountAdmin

URL

https://api.primatime.com/v1/accountadmins

Properties

Name Type Access Required Description
account Account read write YES Determines which account is administered.
createdAt Date read only no Date of creation.
displayName String read only no Describes an object in human readable form.
id String read write no Unique object identifier.
trashItem TrashItem read write no Informs whether an object is in the trash. An object is in the trash if a trash item was specified.
updatedAt Date read only no Last modified date.
user User read write YES The user who is the account administrator.
version Long read write no Object version number.

Metadata

{
    "type" : "AccountAdmin",
    "path" : "/v1/accountadmins",
    "fields" : [
        {
            "type" : "Account",
            "path" : "/v1/accounts",
            "name" : "account",
            "description" : "Determines which account is administered.",
            "access" : "READ_WRITE",
            "constraints" : [
                {
                    "type" : "NotNull"
                }
            ]
        },
        {
            "type" : "Date",
            "name" : "createdAt",
            "description" : "Date of creation.",
            "access" : "READ_ONLY"
        },
        {
            "type" : "String",
            "name" : "displayName",
            "description" : "Describes an object in human readable form.",
            "access" : "READ_ONLY"
        },
        {
            "type" : "String",
            "name" : "id",
            "description" : "Unique object identifier.",
            "access" : "READ_WRITE",
            "constraints" : [
                {
                    "type" : "Pattern",
                    "details" : "regexp [0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}"
                },
                {
                    "type" : "NotNull"
                }
            ]
        },
        {
            "type" : "TrashItem",
            "path" : "/v1/trash",
            "name" : "trashItem",
            "description" : "Informs whether an object is in the trash. An object is in the trash if a trash item was specified.",
            "access" : "READ_WRITE"
        },
        {
            "type" : "Date",
            "name" : "updatedAt",
            "description" : "Last modified date.",
            "access" : "READ_ONLY"
        },
        {
            "type" : "User",
            "path" : "/v1/users",
            "name" : "user",
            "description" : "The user who is the account administrator.",
            "access" : "READ_WRITE",
            "constraints" : [
                {
                    "type" : "NotNull"
                }
            ]
        },
        {
            "type" : "Long",
            "name" : "version",
            "description" : "Object version number.",
            "access" : "READ_WRITE"
        }
    ],
    "cascades" : [
        {
            "cascadeType" : "REMOVE",
            "objectTypes" : [
                "TrashItem"
            ]
        }
    ]
}

Dummy data

{
    "id" : "8af41e02-bfbf-48f9-bda4-1d7b215827d8",
    "createdAt" : "/Date(1651049187435)/",
    "updatedAt" : "/Date(1651115307435)/",
    "version" : 3,
    "account" : {
        "id" : "eeabac0d-d881-428a-92ab-87188f8a4e80",
        "createdAt" : "/Date(1651047507435)/",
        "updatedAt" : "/Date(1651104507435)/",
        "version" : 2,
        "owner" : {
            "id" : "eb025fa3-e0eb-4159-81fb-ad468efcb812",
            "createdAt" : "/Date(1651049907435)/",
            "updatedAt" : "/Date(1651108107435)/",
            "version" : 3,
            "firstName" : "John",
            "lastName" : "Doe",
            "nickName" : "Johny D.",
            "email" : "gskbofvoj5pfer2@testdata.com",
            "phone" : "55 234 555 678",
            "position" : "Senior developer",
            "timeZone" : "America/Sao_Paulo",
            "dateFormat" : "yyyy-MM-dd",
            "timeFormat" : "K:mm a",
            "weekStart" : 7,
            "language" : "pt_BR",
            "password" : "2bwnrji4lpzm8vqvvv1s",
            "secretKey" : "userSecretKey",
            "confirmed" : false,
            "confirmedEmail" : false,
            "active" : false,
            "birthdayRemind" : "/Date(1652911200000)/",
            "workingTimeStart" : "/Date(1651039200000)/",
            "workingTimeEnd" : "/Date(1651071600000)/",
            "created" : "/Date(1650964107435)/",
            "admin" : false,
            "projectManager" : false,
            "displayName" : "Doe John"
        },
        "urlPrefix" : "example-ltd",
        "name" : "Example Ltd.",
        "streetAddress" : "Avenida General Vale 1234",
        "additionalAddressInfo" : "",
        "zipCode" : "78010-000",
        "city" : "Cuiaba",
        "state" : "Mato Grosso",
        "countryCode" : "Brasil",
        "phone" : "BRA",
        "website" : "+55 123 456 789",
        "vatId" : "http://www.example.com",
        "paymentInfo" : "2100 2527 33 1234567890",
        "timeZone" : "America/Cuiaba",
        "dateFormat" : "dd/MM/yyyy",
        "timeFormat" : "HH:mm",
        "weekStart" : 7,
        "language" : "en_US",
        "apiKey" : "0165e7d3-c99f-41b5-bf8c-03222edcf681",
        "confirmed" : true,
        "currency" : "USD",
        "workingTimeStart" : "/Date(1651039200000)/",
        "workingTimeEnd" : "/Date(1651071600000)/",
        "created" : "/Date(1650964107435)/",
        "source" : "LINKEDIN",
        "campaign" : "LINKEDIN-2013-C1",
        "deactivationRequestedAt" : "/Date(1651050507435)/",
        "affiliateId" : "7b010ba1-0032-4810-b7c6-2e2734c76632",
        "vatMode" : "DECLARE_VAT",
        "displayName" : "Example Ltd. (example-ltd)"
    },
    "user" : {
        "id" : "9ff1a059-d420-4265-b272-b54cf17e47ef",
        "createdAt" : "/Date(1651050507435)/",
        "updatedAt" : "/Date(1651126107435)/",
        "version" : 1,
        "firstName" : "John",
        "lastName" : "Doe",
        "nickName" : "Johny D.",
        "email" : "o2chlql8oc9st15@testdata.com",
        "phone" : "55 234 555 678",
        "position" : "Senior developer",
        "timeZone" : "America/Sao_Paulo",
        "dateFormat" : "yyyy-MM-dd",
        "timeFormat" : "K:mm a",
        "weekStart" : 7,
        "language" : "pt_BR",
        "password" : "0nldshu8mp65ls6l0ym3",
        "secretKey" : "userSecretKey",
        "confirmed" : false,
        "confirmedEmail" : false,
        "active" : false,
        "birthdayRemind" : "/Date(1652911200000)/",
        "workingTimeStart" : "/Date(1651039200000)/",
        "workingTimeEnd" : "/Date(1651071600000)/",
        "created" : "/Date(1650964107435)/",
        "admin" : false,
        "projectManager" : false,
        "displayName" : "Doe John"
    },
    "displayName" : "Doe John"
}

results matching ""

    No results matching ""