GET 3dCartWebAPI/v1/Admins/{id}


Get an Admin User

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Admin Id

integer

Required

Body Parameters

None.


Sample Request



Response Information

Resource Description

Collection of Admin
NameDescriptionTypeAdditional information
AdminId

database reference = admins.id

integer

None.

Username

database reference = admins.username

string

String length: inclusive between 0 and 50

Email

database reference = admins.email

string

String length: inclusive between 0 and 255

Name

database reference = admins.name

string

String length: inclusive between 0 and 50

ExternalId

database reference = admins.alt_id

string

String length: inclusive between 0 and 50

Lastlogin

database reference = admins.lastlogin

date

None.

AdminPermissionsList

Collection of AdminPermission

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AdminId": 1,
    "Username": "sample string 1",
    "Email": "sample string 2",
    "Name": "sample string 3",
    "ExternalId": "sample string 4",
    "Lastlogin": "10/16/2019 23:46",
    "AdminPermissionsList": [
      {
        "Id": 1,
        "Section": "sample string 1",
        "Action": "sample string 2"
      },
      {
        "Id": 1,
        "Section": "sample string 1",
        "Action": "sample string 2"
      }
    ]
  },
  {
    "AdminId": 1,
    "Username": "sample string 1",
    "Email": "sample string 2",
    "Name": "sample string 3",
    "ExternalId": "sample string 4",
    "Lastlogin": "10/16/2019 23:46",
    "AdminPermissionsList": [
      {
        "Id": 1,
        "Section": "sample string 1",
        "Action": "sample string 2"
      },
      {
        "Id": 1,
        "Section": "sample string 1",
        "Action": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfAdmin xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Admin>
    <AdminId>1</AdminId>
    <AdminPermissionsList>
      <AdminPermissions>
        <Action>sample string 2</Action>
        <Id>1</Id>
        <Section>sample string 1</Section>
      </AdminPermissions>
      <AdminPermissions>
        <Action>sample string 2</Action>
        <Id>1</Id>
        <Section>sample string 1</Section>
      </AdminPermissions>
    </AdminPermissionsList>
    <Email>sample string 2</Email>
    <ExternalId>sample string 4</ExternalId>
    <Lastlogin>2019-10-16T23:46:31.9152556-04:00</Lastlogin>
    <Name>sample string 3</Name>
    <Username>sample string 1</Username>
  </Admin>
  <Admin>
    <AdminId>1</AdminId>
    <AdminPermissionsList>
      <AdminPermissions>
        <Action>sample string 2</Action>
        <Id>1</Id>
        <Section>sample string 1</Section>
      </AdminPermissions>
      <AdminPermissions>
        <Action>sample string 2</Action>
        <Id>1</Id>
        <Section>sample string 1</Section>
      </AdminPermissions>
    </AdminPermissionsList>
    <Email>sample string 2</Email>
    <ExternalId>sample string 4</ExternalId>
    <Lastlogin>2019-10-16T23:46:31.9152556-04:00</Lastlogin>
    <Name>sample string 3</Name>
    <Username>sample string 1</Username>
  </Admin>
</ArrayOfAdmin>