Base URL: https://{tenant-domain}/api/v2/applications
|
Endpoint:/{applicationId}/{action}
Method: Post
Description: Moves an application to the next, previous, or reverts the current stage with comprehensive validation checks.
Parameter | Type | Required | Description | Constraints |
applicationId | integer | Yes | ID of the application to move | Must be numeric
|
action | string | Yes | Action to perform | next, previous, or revert
|
{ noteAdded": true // Required when mandatory note action is set for the stage } |
{ "data": [], } |
- 200 OK
: Success
- 401 Unauthorized
: Invalid or missing authentication
- 403 Forbidden
: Insufficient permissions
- 404 Not Found
: Entity not found
Endpoint:/{applicationId}/status
Method: Patch
Description: Updates the overall status of an application ( Discontinue)
Parameter | Type | Required | Description | Constraints |
applicationId | integer | Yes | ID of the application to update | Must be numeric
|
{ "status": "Discontinue", "next_invoice_due_date": "2024-07-01", // Optional: Date for next invoice "discontinue_reason_id":3, // Optional: ID of discontinue reason "noteAdded": true // Required when mandatory note action is set for the stage" } |
{ "data": [], } |
- 200 OK
: Success
- 401 Unauthorized
: Invalid or missing authentication
- 403 Forbidden
: Insufficient permissions
- 404 Not Found
: Entity not found
Endpoint:/{applicationId}
Method: Put
Description: Updates various date fields including start/end dates, intake dates, and invoice due dates.
Parameter | Type | Required | Description | Constraints |
applicationId | integer | Yes | ID of the application to update | Must be numeric
|
{ "start_date": "2024-02-01", "end_date": "2024-07-31", } |
{ "applied_intake_date": "2024-09-01", } |
{ "expected_win_date": "2024-08-15", } |
Response:
{ "data": [], } |
- 200 OK
: Success
- 401 Unauthorized
: Invalid or missing authentication
- 403 Forbidden
: Insufficient permissions
- 404 Not Found
: Entity not found
Endpoint:/{applicationId}/partner-update
Method: Put
Description: Updates various date fields including start/end dates, intake dates, and invoice due dates.
Parameter | Type | Required | Description | Constraints |
applicationId | integer | Yes | ID of the application to update | Must be numeric
|
{ "vendor_branch_id": 1, "partner_id": 1, "product_id": 1 } |
{ "message": "You’ve successfully updated your Partner and Product’s information." } |
- 200 OK
: Success
- 401 Unauthorized
: Invalid or missing authentication
- 403 Forbidden
: Insufficient permissions
- 404 Not Found
: Entity not found