Get Schedule Data by Contract Display ID

ID: UC-NFS-CNTRCT-D001
Complexity: Medium
Description: This use case describes how to retrieve schedule period data starting from a Contract Display ID, navigating through Lease Components, Activation Groups, and Units to find the correct Lease Measurement ID.
Scenario: A financial analyst needs to retrieve specific schedule period data for a contract but only has the Contract Display ID.
Business Value: Enables precise data retrieval for consolidated financial reporting and auditing purposes.

Prerequisites

  • Valid Contract Display ID is known.

  • API User has permissions to view contract and financial data.

Steps

5. Get Lease Measurement ID via Schedule View

Retrieve the schedule view list for the Activation Group and Revision to find the Lease Measurement ID.

Endpoint: GET /api/v2/schedules-views/list/{activationGroupId}/{activationGroupRevisionId}/{unitId}

HTTP Request

curl -X GET "{{base_url}}/api/v2/schedules-views/list/{{activationGroupId}}/{{latestRevisionId}}/{{unitId}}"

Expected Response: 200 OK with List containing leaseMeasurementId.

Notes: This endpoint provides the necessary leaseMeasurementId for the final step.

6. Get Schedule Periods

Retrieve all schedule periods using the Lease Measurement ID.

Endpoint: GET /api/v1/schedules/{principalPositionType}/{leaseMeasurementId}/periods

HTTP Request

curl -X GET "{{base_url}}/api/v1/schedules/LESSEE/{{leaseMeasurementId}}/periods"

Expected Response: 200 OK with list of schedule periods.

Notes: Principal position type is typically ‘LESSEE’ for standard contracts.

Best Practices

  • Always use the latest revision ID for financial data consistency.