Procedures

Automation procedures in the LeaseWorks BDK Book.

to create a leaseworks monthend report

Creates a monthend report

Input Concepts

Concept
Description
Type
Required
Default Value

the utilization for the monthend report

utilization

No

the assembly parts used to generate the report

assembly part

No

Output Concepts

Concept
Description
Type

A month end report.

monthend report

Examples

Create a monthend report with the utilization

create a leaseworks monthend report with the utilization

Create a monthend report with the assembly parts

create a leaseworks monthend report with the assembly parts

to create a utilization in leaseworks

Posts a utilization to leaseworks.

Input Concepts

Concept
Description
Type
Required

payload

the payload to include in the request.

`` or file or list of or text

Yes

Output Concepts

Concept
Description

answer

the response from the request

Examples

Create a new utilization with the following details

create a json
use the above as the utilization json
set the utilization json's leaseworks__Aircraft__c to "a0A3w00000eyvGiEAI"
set the utilization json's leaseworks__Month_Ending__c to "2020-06-30"
set the utilization json's leaseworks__Type__c to "Actual"
set the utilization json's leaseworks__Status__c to "Open"
set the utilization json's leaseworks__Airframe_Flight_Hours_Month__c to "100"
set the utilization json's leaseworks__Airframe_Cycles_Landing_During_Month__c to "100"
create a utilization in leaseworks with
... the payload is the utilization json

to retrieve some (aircrafts) from leaseworks

FILTER - CAPABLE

Retrieves Aircrafts.

Output Concepts

Concept
Description
Type

List of aircrafts

aircraft

Examples

Get all aircrafts from leaseworks

retrieve some aircrafts from leaseworks
retrieve some aircraft from leaseworks whose name is "5198 (A320)"
retrieve some aircraft from leaseworks whose msn number is "6234"

to retrieve some (assembly parts) from leaseworks

FILTER - CAPABLE

Retrieves assembly parts

Input Concepts

Concept
Description
Type
Required
Default Value

the utilization for the assembly part

utilization

Yes

Output Concepts

Concept
Description
Type

List of assembly parts

assembly part

Examples

Get some assembly parts from leaseworks

retrieve some assembly parts from leaseworks with
    the utilization is the utilization

Last updated

Was this helpful?