External users

Read-only and minimal. External identities. Credentials are never returned.

The object#

FieldTypeDescription
idread-onlyintegerNolaPro id.
namestring(30)Display name of the external user.
customerintegerCode for the referenced customer, instead of the id.
vendorintegerCode for the referenced vendor, instead of the id.
cancelbooleanCancelled. Always a boolean on the wire, whatever integer width the column uses (D23).
stylesheetidintegerStylesheetid. Id only.
entrydatestringWhen the record was created.
lastchangedateread-onlystringLast modification. Drives modifiedsince.
deflanguageidintegerDeflanguageid. Id only.
fullnamestring(100)Generated by the database. Read-only.

Endpoints#

GET/extusers 200403

List external users.

Requires scope users:read.

Parameters
NameInTypeNotes
namequerystringname. Partial match, case-insensitive.
cancelquerystringDefaults to false. Pass true or any.
modifiedsincequerystringRFC 3339 UTC timestamp. Returns only records changed since then, including cancelled ones - so cancel defaults to any rather than false when this is used. The response carries _meta.synced_through; store it and send it back next time.
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
403insufficient_scopeToken lacks read scope.
curl \
  'https://acme.nolapro.com/!/api/v2/extusers' \
  -H 'Authorization: Bearer $NP_TOKEN'
GET/extusers/{id} 200404

Retrieve one record.

Requires scope users:read.

Parameters
NameInTypeNotes
idrequiredpathintegerThe record id.
includequerystringComma-separated extras to embed. Only custom_fields is available: the extra fields this install has defined on the record. Off by default, and an unrecognised value is refused rather than ignored. See Conventions.
When it fails
StatusCodeMeaning
404not_foundNo record with that id.
curl \
  'https://acme.nolapro.com/!/api/v2/extusers/104' \
  -H 'Authorization: Bearer $NP_TOKEN'
Response 200
{
    "name": "Example name",
    "customer": 1,
    "vendor": 1,
    "stylesheetid": 104,
    "deflanguageid": 104,
    "fullname": "Example fullname"
}