Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Overview

Provides access to Account related data and Workbench User data.

Endpoints

The resources available in this module.

AccountApi

Provides access to logged in user info.

/api/AccountApi

Method

Description

Performed As

Request Query

Request Body

Response

GET

Retrieve the current logged in user.

Logged in User

-

-

AccountApiModel

PeopleListApi

Provides API access to the “People“ (#/General/PersonList.aspx) Web Workbench screen.

/api/PeopleListApi

Method

Description

Performed As

Request Query

Request Body

Response

POST

Retrieve a filtered list of people.

Logged in User

-

GridRequestParametersApi

GridResult<PersonLine>

PeopleDetailApi

Provides API access to the “People“ (#/General/PersonList.aspx) dialog Web Workbench screen.

/api/PeopleDetailApi

Method

Description

Performed As

Request Query

Request Body

Response

GET

Retrieve a specific Person.

Admin User

PersonKey

-

PeopleApiModel

POST

Update a Person

Admin User

-

PeopleApiModel

PeopleApiModel

Models

The definitions of models specific to endpoints in this module.

AccountApiModel

Field

Type

Description

PersonID

Integer

The unique Person ID of the Logged in User

FullName

String

The Full Name of the Logged in User

FinCoCode

String

The Code of the Financial Company the Logged in User belongs to

PersonKey

Field

Type

Description

PersonID

Integer

The unique Person ID of the Person

PersonLine

Field

Type

CellData

Description

Key

PersonKey

The unique key for the line

PersonId

Integer

PersonIdValue.CellValue

The unique ID of the Person

DisplayName

String

Surname

String

Surname.CellValue

Family name

FirstName

String

FirstNameValue.CellValue

First name

Company

String

CompanyValue.CellValue

The name of the Company this Person belongs to

CompanyId

Integer

CompanyValue.CellId

The ID of the Company this Person belongs to

Role

String

RoleValue.CellValue

the Purchase Requisition Role of this Person

JobTitle

String

JobTitleValue.CellValue

User's official title

EmailAddress

String

EmailAddressValue.CellValue

Email address

MobilePhone

String

MobilePhoneValue.CellValue

Mobile number

BusinessPhone

String

BusinessPhone.CellValue

Working phone number

IsEmployee

Boolean

Determine whether this person is an employee or not.

IsActive

Boolean

Determine whether account status is active or not.

IsInactive

Boolean

Determine whether account status is inactive or not.

IsBillingContact

Boolean

Indicate whether the person is the billing contact or not.

IsSiteContact

Boolean

Indicate whether the person is the primary project contact or not.

IsCommercialContact

Boolean

Indicate whether the person is the Site Contact or not.

EmployeeNo

String

Employee code

Group1

String

The Attribute Group of the first Attribute Category filter

Group2

String

The Attribute Group of the second Attribute Category filter

Group3

String

The Attribute Group of the third Attribute Category filter

UpdatedDate

DateTime

The Date this record was last updated.

Delete

CellData

PeopleApiModel

Field

Type

Description

Key

PersonKey

The unique key of the Person.

Main

PersonMainFields

General data associated with the Person.

Attributes.Rows

Array<AttributeLine>

Attributes associated with the Person.

Notes.Rows

Array<NoteLine>

Notes associated with the Person.

ToDoItems.Rows

Array<ToDoLine>

To Do Items associated with the Person.

PersonMainFields

Field

Type

Description

Surname

StringViewData

Surname

FirstName

StringViewData

First name

FullName

StringViewData

Full name

PersonIdNum

StringViewData

ID number?

Title

StringViewData

The name prefix for this user.

Company

StringViewData

Company of the person.

JobTitle

StringViewData

Official position of the person.

Salutation

StringViewData

how the person is addressed in correspondence.

EmailAddress

StringViewData

Email address.

EmailAddress2

StringViewData

Second email address.

MobilePhone

StringViewData

Mobile Phone number.

BusinessPhone

StringViewData

Business Phone number.

CompanyPhone

StringViewData

Company phone number

HomePhone

StringViewData

Home phone number

Fax

StringViewData

Fax number

PersonalReference

StringViewData

Free text as reference

PersonalAddress

StringViewData

Person address

BillingContact

BoolViewData

Indicate this person is the primary contact for billing purposes for the company.

SiteContact

BoolViewData

Indicate this person is the primary project contact.

CommercialContact

BoolViewData

???

Inactive

BoolViewData

Indicate the status of this account.

Examples

Get the Logged in User

TODO

Get a Filtered and Sorted List of People

TODO

Create a New Person

TODO

On this page


Unable to render {include} The included page could not be found.
  • No labels