/
Expense Claims

Expense Claims

Overview

Provides access to Expense Claims related data.

Endpoints

The resources available in this module.

ExpenseClaimListApi

Provides API access to the Expense Claims List (#/ExpenseClaims/List.aspx) Web Workbench screen.

/api/ExpenseClaimListApi

/api/ExpenseClaimListApi

Method

Performed As

Request Query

Request Body

Response

POST
Retrieve a filtered list of Expense Claims.

Logged in User

-

GridRequestParametersApi

GridResult<ExpenseClaimLine>

ExpenseClaimDetailApi

Provides API access to the Expense Claim Detail (#/ExpenseClaims/List.aspx) dialog Web Workbench screen.

/api/ExpenseClaimDetailApi

/api/ExpenseClaimDetailApi

Method

Performed As

Request Query

Request Body

Response

GET
Retrieve a specific Expense Claim.

ExpenseClaimKey.PersonId

ExpenseClaimKey

-

ExpenseClaimApiModel

POST
Update an existing, or create a new Expense Claim.

ExpenseClaimApiModel.Form.Key.PersonId

-

ExpenseClaimApiModel

ExpenseClaimApiModel

ExpenseClaimDefaultsApi

Provides API access to the default line logic on the Expense Claim Detail (#/ExpenseClaims/List.aspx) dialog Web Workbench screen.

/api/ExpenseClaimDefaultsApi

/api/ExpenseClaimDefaultsApi

Method

Performed As

Request Query

Request Body

Response

GET
Retrieves Expense Claim Line default values for a given line key.

ExpenseClaimDetailKey.PersonId

ExpenseClaimDetailKey

-

ExpenseClaimDetailLine

Models

The definitions of models specific to endpoints in this module.

ExpenseClaimKey

Property

Type

Description

Property

Type

Description

ExpenseClaimId

Integer

The unique ID of the Expense Claim.

PersonId

Integer

The ID of the Person this Expense Claim is for.

ExpenseClaimDate

DateTime

The Expense Claim Date.

Back to top

ExpenseClaimLine

Property

Type

Description

Property

Type

Description

Key

ExpenseClaimKey

The unique key for the line.

PersonName

CellData

The Person this Expense Claim if for.

ClaimDate

String

The Expense Claim Date, formatted.

Content

String

The Content text on the Expense Claim.

LocalCurrencyReimburse

CellData

The total amount to be reimbursed.

Completed

Boolean

The Completed flag on the Expense Claim.

Approved

Boolean

The Approved flag on the Expense Claim.

Paid

Boolean

The Paid flag on the Expense Claim.

Back to top

ExpenseClaimApiModel

Property

Type

Description

Property

Type

Description

Form

ExpenseClaimForm

The general data associated withe the Expense Claim.

Rows

Array<ExpenseClaimDetailLine>

The Expense Claim Lines.

WarningMessage

String

A warning message about the updated Expense Claim.

SuccessMessage

String

A message indicating the update was successful.

ValidationErrors

Array<MvcValidationError>

A list of specific validation errors if the save was unsuccessful.

Back to top

ExpenseClaimForm

Property

Type

Length

Description

Property

Type

Length

Description

Key

ExpenseClaimKey

 

The unique key of the Expense Claim.

ExpenseClaimId

Integer

 

The unique ID of the Expense Claim.

ExpenseClaimDate

String

 

The Expense Claim Date, formatted.

ClaimDate

DateViewData

 

The Expense Claim Date.

ApprovedField

BoolViewData

 

The Approved flag on the Expense Claim.

CompletedField

BoolViewData

 

The Completed flag on the Expense Claim.

PaidField

BoolViewData

 

The Paid flag on the Expense Claim.

ClaimType

DropdownViewData

 

The Type of Expense Claim. Either 0 (Reimbursable) or 1 (Credit Card).

ClaimContent

StringViewData

50

The Content text on the Expense Claim.

Notes

StringViewData

2000

The Notes on the Expense Claim.

NoEditMessage

String

 

A message indicating the Expense Claim is read-only.

Back to top

ExpenseClaimDetailKey

Property

Type

Length

Description

Property

Type

Length

Description

ExpenseClaimLineId

Integer

 

The unique ID of the Expense Claim Line.

PersonId

Integer

5

The ID of the Person this Expense Claim is for.

Currency

String

10

The Currency Code.

FinCoCode

String

5

The Financial Company Code on the line.

JobCode

String

20

The Job Code on the line.

ActivityCode

String

10

The Activity Code on the line.

ActivityType

String

12

The Activity Type of the Activity.

ActivitySubType

String

10

The Activity Sub-Type of the Activity.

GSTRate

Number

8,5

The GST Rate of the Activity

GSTType

String

10

The GST Type of the Activity.

CostRate

Number

 

The Cost Rate of the Activity.

WorkCentreCode

String

10

The Work Centre Code on the line.

Quantity

Number

15,4

The Quantity on the Line.

Back to top

ExpenseClaimDetailLine

Property

Type

Length

Description

Property

Type

Length

Description

FinCoCode

String

5

Code of the financial company.

JobCode

CellData

20

Code of the related job.

LogHeader

CellData

 

Log header.

Activity

CellData

 

Code of Activity related.

ActivityType

String

12

Activity type.

WorkCentre

CellData

10

The related Work Centre.

TranDate

String

8

Transaction date.

Quantity

CellData

 

Quantity. Details.

Currency

String

10

The local currency code for reimbursing.

Gross

CellData

 

Gross amount.

GST

CellData

 

Tax amount.

Net

CellData

 

NET amount.

FCRate

CellData

 

Foreign currency rate.

LCGross

CellData

 

Gross amount in local currency.

Details

CellData

 

Details text

FileAttachment

CellData

 

File attachment.

Delete

CellData

 

 

Status

String

 

Claim status.

ReadonlyFlag

Integer

 

Read Only status

ReadonlyMessage

String

 

Read Only message.

OriginalKey

ExpenseClaimsDetailKey

 

 

CurrentKey

ExpenseClaimsDetailKey

 

 

Key

ExpenseClaimsDetailKey

 

 

Index

Integer

 

 

Back to top


Related content