Schedules
The schedules
 object captures scheduled transactions for a merchant's organization or location and includes the summary
 sub-object. Merchants can specify a particular quantity of scheduled transactions or can set up continuous transactions that will occur until the schedule is suspended or deleted. Subscription billing enables merchants to bill customers automatically on a fixed schedule for a specific product or service. Scheduled transactions can only be created with customer_token
 and paymethod_token
 parameters.
Schedules Object
Parameter | Description | Type | Req |
organization_id | The identification number of the associated organization. For example, org_5551236. | string | R |
location_id | The identification number of the associated location. For example, loc_1234568. | string | R |
schedule_id | A unique string used to represent a schedule. For example, sch_2e5770ae-c120-414f-ae8c-d065753567e7. [max length = 40] | string | R |
customer_token | A unique string used to represent a customer. For example, cst_SoGUG6mcLUS1nVzYBIbk3g. [max length = 26] | string | R |
paymethod_token | A unique string used to represent a payment method. For example, mth_1578436587. [max length = 26] | string | R |
action | The supported transaction types include the following values: sale - Creates an ad-hoc or token transaction that will settle at the end of the day | string | R |
schedule_quantity | Indicates the quantity of transactions to perform. For continuous schedules, set the value of this field to 0. [max length = 6] | integer | R |
schedule_frequency | Indicates the frequency of the scheduled transactions. The supported values for this field include the following: one_time_future | string | R |
schedule_amount | Indicates the amount of each recurring transaction plus any sales taxes, shipping fees, tips or other extraneous amounts. For service fee transactions, use this parameter as the base amount for calculating a service fee. The value of this parameter depends on the value in the schedule_frequency parameter. [max length = 6] | decimal | O |
schedule_service_fee_amount | The amount of the service fee (i.e., convenience fee). | decimal | O |
schedule_authorization_amount | Indicates the amount of the recurring payment. For service fee transactions, this parameter is the resulting sum of the schedule_amount and the schedule_service_fee_amount values. | decimal | R |
schedule_start_date | Indicates the start day of the next recurring transaction in MM/DD/YYYY format. This date can be today's date or greater. NOTE: If the merchant does not specify this value, the system defaults to today's date. [max length = 10] | datetime | R |
schedule_created_date | The date the schedule was created. This parameter is return only. | datetime | -- |
customer_acct_code | The customer accounting code. This field only applies to credit card transactions. [max length = 17] | string | -- |
schedule_status | The current status of the schedule. The supported values for this field include the following: active - The schedule is active. | string | O |
item_description | The check number or other description of the item to be processed. [max length = 50] | string | O |
reference_id | A merchant-defined string that identifies the transaction. [max length = 50] | O | |
order_number | A merchant-assigned ID code that is returned with the transaction response. [max length = 26] | string | O |
customer_id | A merchant-defined string created at the customer level to identify the customer. [max length = 15] | string | O |
echeck | The eCheck Object | object | O |
echeck.sec_code | The Standard Entry Class code for the transaction. This field is required for echeck transactions. Additionally, the available options for this field depend on your merchant configuration [max length = 3] | string | R |
summary | The Summary Object | object | O |
summary.schedule_next_amount | The amount of the next scheduled transaction that will be processed. This parameter is return only. | decimal | -- |
summary.schedule_next_date | The next date when a scheduled transaction will be processed. This parameter is return only. | datetime | -- |
summary.schedule_last_amount | The authorization amount for the last scheduled transaction that Forte processed. This parameter is return only. | decimal | -- |
summary.schedule_last_date | The date and timestamp when Forte processed the last scheduled transaction. This parameter is return only. | datetime | -- |
summary.schedule_successful_amount | The total amount of the successful transactions for this schedule. This parameter is return only. | decimal | -- |
summary.schedule_successful_authorization_amount | The authorization amount of the last scheduled transaction that Forte successfully processed. This parameter is return only. | decimal | -- |
summary.schedule_successful_quantity | The total number of successful transactions for this schedule. This parameter is return only. | integer | -- |
summary.schedule_failed_amount | The total amount of failed transactions for this schedule. This parameter is return only. | decimal | -- |
summary.schedule_failed_quantity | The total number of failed transactions for this schedule. This parameter is return only. | integer | -- |
summary.scheduled_remaining_amount | The total amount of the remaining transactions for this schedule. This parameter is return only. | decimal | -- |
summary.scheduled_remaining_quantity | The total number of the remaining transactions for this schedule. This parameter is return only. | integer | -- |
summary.scheduled_suspended_amount | The total amount of the suspended transactions for this schedule. This parameter is return only. | decimal | -- |
summary.scheduled_suspended_quantity | The total number of suspended transactions for this schedule. This parameter is return only. | integer | -- |
xdata | The Xdata Object | object | O |
xdata.xdata_1-9 | Up to nine fields (1-9) of extra data that can be associated with a schedule or transaction. Each xdata_# field can contain up to 255 characters. | string | O |
POST Schedule for a Specific Customer
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/schedules
Creates a new schedule and returns a new unique schedule_id
 for the customer. NOTE: The paymethod_token
 parameter must be specified in the request.
{
"action": "sale",
"schedule_amount": 25.00,
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_start_date": "12/11/2018",
"paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w"
}
Example Request
curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/schedules' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
"action": "sale",
"schedule_amount": 25.00,
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_start_date": "12/11/2018",
"paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w"
}'
Example Response
{
"schedule_id": "sch_db092a0b-5b73-4373-ab88-4445d1164c6e",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_start_date": "2018-12-11T00:00:00",
"response": {
"environment": "live",
"response_desc": "Create Successful."
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_db092a0b-5b73-4373-ab88-4445d1164c6e/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_db092a0b-5b73-4373-ab88-4445d1164c6e"
}
}
Headers (13) |
|
---|---|
access-control-allow-origin  |
* |
cache-control |
no-cache |
connection |
keep-alive |
content-type |
application/json; charset=utf-8 |
date |
Fri, 20 Oct 2017 16:17:10 GMT |
expires |
-1 |
pragma |
no-cache |
server |
Microsoft-IIS/8.5 |
transfer-encoding |
chunked |
x-aspnet-version |
4.0.30319 |
x-cdn |
Incapsula |
x-iinfo |
5-55152640-55197757 NNNN CT(39 359 0) RT(1508515980518 249511) q(0 0 4 -1) r(5 5) U6 |
x-powered-by |
ASP.NET |
POST 12-Month Schedule
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules
Creates a new schedule and returns a new unique schedule_id
. NOTE: Both the customer_token
 and the paymethod_token
 parameters must be specified in the body of the request.
{
"customer_token":"cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": "12",
"schedule_frequency": "monthly",
"schedule_amount": 25.00,
"schedule_start_date": "12/11/2018",
"reference_id":"INV-123",
"order_number":"98762222",
"item_description":"Car Payment",
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
}
}
Example Request
curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
"customer_token":"cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": "12",
"schedule_frequency": "monthly",
"schedule_amount": 25.00,
"schedule_start_date": "12/11/2018",
"reference_id":"INV-123",
"order_number":"98762222",
"item_description":"Car Payment",
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
}
}'
Example Response
{
"schedule_id": "sch_1030151f-e1d6-4959-b46c-86403fc1268d",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 12,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_start_date": "2018-12-11T00:00:00",
"item_description": "Car Payment",
"reference_id": "INV-123",
"order_number": "98762222",
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"response": {
"environment": "live",
"response_desc": "Create Successful."
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_1030151f-e1d6-4959-b46c-86403fc1268d/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_1030151f-e1d6-4959-b46c-86403fc1268d"
}
}
Headers (13) |
|
---|---|
access-control-allow-origin  |
* |
cache-control |
no-cache |
connection |
keep-alive |
content-type |
application/json; charset=utf-8 |
date |
Fri, 20 Oct 2017 16:10:17 GMT |
expires |
-1 |
pragma |
no-cache |
server |
Microsoft-IIS/8.5 |
transfer-encoding |
chunked |
x-aspnet-version |
4.0.30319 |
x-cdn |
Incapsula |
x-iinfo |
4-50054265-50054268 NNNN CT(33 79 0) RT(1508515816438 35) q(0 0 1 -1) r(4 4) U6 |
x-powered-by |
ASP.NET |
POST Weekly Schedule
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules
Creates a new schedule and returns a new unique schedule_id
. NOTE: Both the customer_token
 and the paymethod_token
parameters must be specified in the body of the request.
{
"action":"sale",
"customer_token":"cst_-XqiJZuQ6EmV41auwt_gyQ",
"paymethod_token":"mth_Dvphvlf4RUyJsvz9sXlVWQ",
"schedule_start_date":"2020-08-31T00:00:00",
"schedule_amount":50.00,
"schedule_frequency":"weekly",
"schedule_quantity":10,
"echeck"{
"sec_code":"ppd",
},
"schedule_service_fee_amount":"4.00",
"schedule_authorization_amount":"54.00"
}
Example Request
curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/schedules' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
"action": "sale",
"schedule_amount": 25.00,
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_start_date": "12/11/2018",
"paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w"
}'
Example Response
{
"schedule_id": "sch_3e9c3c0c-9d1e-4fb4-bf94-a46aedb428a1",
"location_id": "loc_115161",
"customer_token": "cst_-XqiJZuQ6EmV41auwt_gyQ",
"paymethod_token": "mth_Dvphvlf4RUyJsvz9sXlVWQ",
"action": "sale",
"schedule_quantity": 10,
"schedule_frequency": "weekly",
"schedule_amount": 50,
"schedule_service_fee_amount": 4,
"schedule_authorization_amount": 54,
"schedule_start_date": "2020-08-31T00:00:00",
"echeck": {
"sec_code": "ppd"
},
"response": {
"environment": "live",
"response_desc": "Create Successful."
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_3e9c3c0c-9d1e-4fb4-bf94-a46aedb428a1/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_3e9c3c0c-9d1e-4fb4-bf94-a46aedb428a1/"
}
}
Headers (8) |
|
---|---|
Date |
Tue, 25 Aug 2020 04:56:02 GMT |
content-type |
application/json; charset=utf-8 |
Content-Length |
730 |
Connection |
keep-alive |
Cache-Control |
no-cache |
pragma |
no-cache |
expires |
-1Â |
server |
|
POST One-Time Future Schedule
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules
Creates a new schedule and returns a new unique schedule_id
. NOTE: Both the customer_token
 and the paymethod_token
parameters must be specified in the body of the request.
{
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_frequency": "one_time_future",
"schedule_amount": 25.00,
"schedule_start_date": "12/11/2018",
"reference_id":"INV-123",
"order_number":"98762222",
"item_description":"DeLorean Payment",
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
}
}
Example Request
curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/schedules' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
"action": "sale",
"schedule_amount": 25.00,
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_start_date": "12/11/2018",
"paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w"
}'
Example Response
{
"schedule_id": "sch_1321a0e7-4dc4-4d0d-beae-9d595fe4d79f",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 1,
"schedule_frequency": "one_time_future",
"schedule_amount": 25,
"schedule_start_date": "2018-12-11T00:00:00",
"item_description": "DeLorean Payment",
"reference_id": "INV-123",
"order_number": "98762222",
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"response": {
"environment": "live",
"response_desc": "Create Successful."
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_1321a0e7-4dc4-4d0d-beae-9d595fe4d79f/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_1321a0e7-4dc4-4d0d-beae-9d595fe4d79f"
}
}
Headers (13) |
|
---|---|
access-control-allow-origin  |
* |
cache-control |
no-cache |
connection |
keep-alive |
content-type |
application/json; charset=utf-8 |
date |
Fri, 20 Oct 2017 16:10:53 GMT |
expires |
-1 |
pragma |
no-cache |
server |
Microsoft-IIS/8.5 |
transfer-encoding |
chunked |
x-aspnet-version |
4.0.30319 |
x-cdn |
Incapsula |
x-iinfo |
4-50054265-50054268 SNNN RT(1508515816438 36805) q(0 0 0 -1) r(4 4) U6 |
x-powered-by |
ASP.NET |
POST Continuous Schedule
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules
Creates a new schedule and returns a new unique schedule_id
. NOTE: Both the customer_token
 and paymethod_token
parameters must be specified in the request.
{
"action": "sale",
"schedule_amount": 25.00,
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_start_date": "12/11/2018",
"paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w"
}
Example Request
curl --location -g 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/schedules' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
"action": "sale",
"schedule_amount": 25.00,
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_start_date": "12/11/2018",
"paymethod_token":"mth_cp459q53Q0W5wJdMG35f1w"
}'
Example Response
{
"schedule_id": "sch_a8df462d-b282-467c-8d4e-a18b96a9e1e6",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_start_date": "2018-12-11T00:00:00",
"response": {
"environment": "live",
"response_desc": "Create Successful."
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_a8df462d-b282-467c-8d4e-a18b96a9e1e6/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_a8df462d-b282-467c-8d4e-a18b96a9e1e6"
}
}
Headers (13) |
|
---|---|
access-control-allow-origin  |
* |
cache-control |
no-cache |
connection |
keep-alive |
content-type |
application/json; charset=utf-8 |
date |
Fri, 20 Oct 2017 16:14:43 GMT |
expires |
-1 |
pragma |
no-cache |
server |
Microsoft-IIS/8.5 |
transfer-encoding |
chunked |
x-aspnet-version |
4.0.30319 |
x-cdn |
Incapsula |
x-iinfo |
5-55152640-55171537 NNNN CT(34 44 0) RT(1508515980518 102506) q(0 0 1 -1) r(1 1) U6 |
x-powered-by |
ASP.NET |
GET All Schedules for a Location
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules
This URI returns all schedules created for a location. To narrow your search data using specific criteria, use the following parameters to filter your results:
- schedule_id
- customer_token
- paymethod_token
- action
- schedule_quantity
- schedule_frequency
- schedule_status
- schedule_amount
- start_schedule_created_date / end_schedule_created_date
- start_schedule_start_date / end_schedule_start_date
Example Request
curl --location -g 'https://api.forte.net/v3/organizations/org_{{organization}}/locations/loc_{{location}}/schedules' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
Example Response
{
"number_results": 8,
"search_criteria": {
"page_size": 50,
"page_index": 0,
"home_organization_id": "org_334316",
"resource_specific": {
"location_id": "loc_192642"
}
},
"results": [
{
"schedule_id": "sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 12,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2017-09-08T09:07:19.52",
"schedule_start_date": "2018-12-11T08:00:00",
"schedule_status": "active",
"item_description": "Car Payment",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_date": "2018-12-11T08:00:00",
"schedule_last_amount": 25,
"schedule_last_date": "2019-11-11T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 300,
"schedule_remaining_quantity": 12,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b"
}
},
{
"schedule_id": "sch_319a6b29-3afe-46d3-b540-08e64f2bbebf",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 1,
"schedule_frequency": "one_time_future",
"schedule_amount": 25,
"schedule_created_date": "2017-09-08T09:08:38.76",
"schedule_start_date": "2018-12-11T08:00:00",
"schedule_status": "active",
"item_description": "DeLorean Paymen",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_date": "2018-12-11T08:00:00",
"schedule_last_amount": 25,
"schedule_last_date": "2018-12-11T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 25,
"schedule_remaining_quantity": 1,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_319a6b29-3afe-46d3-b540-08e64f2bbebf/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_319a6b29-3afe-46d3-b540-08e64f2bbebf"
}
},
{
"schedule_id": "sch_dfac49a5-dbee-4c47-9a9c-0ce3d253b260",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 1,
"schedule_frequency": "one_time_future",
"schedule_amount": 25,
"schedule_created_date": "2017-09-08T09:07:52.343",
"schedule_start_date": "2018-12-11T08:00:00",
"schedule_status": "active",
"item_description": "DeLorean Paymen",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_date": "2018-12-11T08:00:00",
"schedule_last_amount": 25,
"schedule_last_date": "2018-12-11T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 25,
"schedule_remaining_quantity": 1,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_dfac49a5-dbee-4c47-9a9c-0ce3d253b260/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_dfac49a5-dbee-4c47-9a9c-0ce3d253b260"
}
},
{
"schedule_id": "sch_857eed95-b661-468c-8037-1cb63a13f23a",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 12,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2016-11-02T13:19:59.783",
"schedule_start_date": "2016-12-11T08:00:00",
"schedule_status": "active",
"item_description": "Car Payment",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_date": "2016-12-11T08:00:00",
"schedule_last_amount": 100,
"schedule_last_date": "2018-12-21T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 400,
"schedule_remaining_quantity": 13,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_857eed95-b661-468c-8037-1cb63a13f23a/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_857eed95-b661-468c-8037-1cb63a13f23a"
}
},
{
"schedule_id": "sch_17490fc3-927f-4ed3-9981-2f6d309a7758",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2017-02-02T09:29:17.94",
"schedule_start_date": "2017-02-02T08:00:00",
"schedule_status": "active",
"schedule_summary": {
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 25,
"schedule_remaining_quantity": 1,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_17490fc3-927f-4ed3-9981-2f6d309a7758/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_17490fc3-927f-4ed3-9981-2f6d309a7758"
}
},
{
"schedule_id": "sch_b171d771-d055-433e-b402-3e6146d781e5",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2017-08-08T18:54:09.15",
"schedule_start_date": "2017-08-11T07:00:00",
"schedule_status": "active",
"schedule_summary": {
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 25,
"schedule_remaining_quantity": 1,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_b171d771-d055-433e-b402-3e6146d781e5/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_b171d771-d055-433e-b402-3e6146d781e5"
}
},
{
"schedule_id": "sch_ce7b86ea-7510-444e-bd46-431c8d175b7e",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 12,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2017-09-08T09:04:15.227",
"schedule_start_date": "2018-12-11T08:00:00",
"schedule_status": "active",
"item_description": "Car Payment",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_date": "2018-12-11T08:00:00",
"schedule_last_amount": 25,
"schedule_last_date": "2019-11-11T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 400,
"schedule_remaining_quantity": 13,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_ce7b86ea-7510-444e-bd46-431c8d175b7e/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_ce7b86ea-7510-444e-bd46-431c8d175b7e"
}
},
{
"schedule_id": "sch_8fcd5fc7-d674-4f33-b490-4d01e92c96bb",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 12,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2017-09-08T08:58:54.97",
"schedule_start_date": "2018-01-01T08:00:00",
"schedule_status": "active",
"item_description": "Car Payment",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_date": "2018-01-01T08:00:00",
"schedule_last_amount": 25,
"schedule_last_date": "2018-12-01T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 300,
"schedule_remaining_quantity": 12,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_8fcd5fc7-d674-4f33-b490-4d01e92c96bb/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_8fcd5fc7-d674-4f33-b490-4d01e92c96bb"
}
}
],
"response": {
"environment": "live",
"response_desc": "Get Successful."
},
"links": {
"self": "https://api.forte.net/v3/schedules/"
}
}
Headers (8) |
|
---|---|
Cache-Control |
no-cache Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds |
Connection |
keep-alive Options that are desired for the connection |
Content-Length |
52165 The length of the response body in octets (8-bit bytes) Â |
content-type |
application/json; charset=utf-8 The mime type of this content |
date |
Fri, 03 Aug 2018 16:12:41 GMT The date and time that the message was sent |
expires |
-1 Gives the date/time after which the response is considered stale |
pragma |
no-cache Implementation-specific headers that may have various effects anywhere along the request-response chain. |
server |
A name for the server |
GET All Schedules for a Customer
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/customers/cst_{{customertoken}}/schedules
This URI returns all schedules associated with a particular customer_token
.
Example Request
curl --location -g 'https://api.forte.net/v3 /v3/organizations/org_{{organization}}/locations/loc_{{location}}/customers/cst_{{customer_token}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
Example Response
{
"number_results": 10,
"search_criteria": {
"page_size": 50,
"page_index": 0,
"home_organization_id": "org_334316",
"resource_specific": {
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA"
}
},
"results": [
{
"schedule_id": "sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 12,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2017-09-08T09:07:19.52",
"schedule_start_date": "2018-12-11T08:00:00",
"schedule_status": "active",
"item_description": "Car Payment",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_date": "2018-12-11T08:00:00",
"schedule_last_amount": 25,
"schedule_last_date": "2019-11-11T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 300,
"schedule_remaining_quantity": 12,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b"
}
},
{
"schedule_id": "sch_319a6b29-3afe-46d3-b540-08e64f2bbebf",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 1,
"schedule_frequency": "one_time_future",
"schedule_amount": 25,
"schedule_created_date": "2017-09-08T09:08:38.76",
"schedule_start_date": "2018-12-11T08:00:00",
"schedule_status": "active",
"item_description": "DeLorean Paymen",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_date": "2018-12-11T08:00:00",
"schedule_last_amount": 25,
"schedule_last_date": "2018-12-11T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 25,
"schedule_remaining_quantity": 1,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_319a6b29-3afe-46d3-b540-08e64f2bbebf/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_319a6b29-3afe-46d3-b540-08e64f2bbebf"
}
},
{
"schedule_id": "sch_dfac49a5-dbee-4c47-9a9c-0ce3d253b260",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 1,
"schedule_frequency": "one_time_future",
"schedule_amount": 25,
"schedule_created_date": "2017-09-08T09:07:52.343",
"schedule_start_date": "2018-12-11T08:00:00",
"schedule_status": "active",
"item_description": "DeLorean Paymen",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_date": "2018-12-11T08:00:00",
"schedule_last_amount": 25,
"schedule_last_date": "2018-12-11T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 25,
"schedule_remaining_quantity": 1,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_dfac49a5-dbee-4c47-9a9c-0ce3d253b260/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_dfac49a5-dbee-4c47-9a9c-0ce3d253b260"
}
},
{
"schedule_id": "sch_857eed95-b661-468c-8037-1cb63a13f23a",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 12,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2016-11-02T13:19:59.783",
"schedule_start_date": "2016-12-11T08:00:00",
"schedule_status": "active",
"item_description": "Car Payment",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_date": "2016-12-11T08:00:00",
"schedule_last_amount": 100,
"schedule_last_date": "2018-12-21T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 400,
"schedule_remaining_quantity": 13,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_857eed95-b661-468c-8037-1cb63a13f23a/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_857eed95-b661-468c-8037-1cb63a13f23a"
}
},
{
"schedule_id": "sch_17490fc3-927f-4ed3-9981-2f6d309a7758",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2017-02-02T09:29:17.94",
"schedule_start_date": "2017-02-02T08:00:00",
"schedule_status": "active",
"schedule_summary": {
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 25,
"schedule_remaining_quantity": 1,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_17490fc3-927f-4ed3-9981-2f6d309a7758/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_17490fc3-927f-4ed3-9981-2f6d309a7758"
}
},
{
"schedule_id": "sch_b171d771-d055-433e-b402-3e6146d781e5",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2017-08-08T18:54:09.15",
"schedule_start_date": "2017-08-11T07:00:00",
"schedule_status": "active",
"schedule_summary": {
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 25,
"schedule_remaining_quantity": 1,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_b171d771-d055-433e-b402-3e6146d781e5/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_b171d771-d055-433e-b402-3e6146d781e5"
}
},
{
"schedule_id": "sch_ce7b86ea-7510-444e-bd46-431c8d175b7e",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 12,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2017-09-08T09:04:15.227",
"schedule_start_date": "2018-12-11T08:00:00",
"schedule_status": "active",
"item_description": "Car Payment",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_date": "2018-12-11T08:00:00",
"schedule_last_amount": 25,
"schedule_last_date": "2019-11-11T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 400,
"schedule_remaining_quantity": 13,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_ce7b86ea-7510-444e-bd46-431c8d175b7e/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_ce7b86ea-7510-444e-bd46-431c8d175b7e"
}
},
{
"schedule_id": "sch_8fcd5fc7-d674-4f33-b490-4d01e92c96bb",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 12,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2017-09-08T08:58:54.97",
"schedule_start_date": "2018-01-01T08:00:00",
"schedule_status": "active",
"item_description": "Car Payment",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_date": "2018-01-01T08:00:00",
"schedule_last_amount": 25,
"schedule_last_date": "2018-12-01T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 300,
"schedule_remaining_quantity": 12,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_8fcd5fc7-d674-4f33-b490-4d01e92c96bb/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_8fcd5fc7-d674-4f33-b490-4d01e92c96bb"
}
},
{
"schedule_id": "sch_9a74e2a8-a182-40ef-89c1-4e38b9667206",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2016-11-03T06:38:50.857",
"schedule_start_date": "2016-12-11T08:00:00",
"schedule_status": "active",
"schedule_summary": {
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 25,
"schedule_remaining_quantity": 1,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_9a74e2a8-a182-40ef-89c1-4e38b9667206/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_9a74e2a8-a182-40ef-89c1-4e38b9667206"
}
},
{
"schedule_id": "sch_2ed98062-18c0-4d1b-9f84-4f25f07b498c",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 0,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_created_date": "2016-11-17T12:00:29.913",
"schedule_start_date": "2016-12-11T08:00:00",
"schedule_status": "active",
"schedule_summary": {
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 25,
"schedule_remaining_quantity": 1,
"schedule_suspended_amount": 0,
"schedule_suspended_quantity": 0
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_2ed98062-18c0-4d1b-9f84-4f25f07b498c/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_2ed98062-18c0-4d1b-9f84-4f25f07b498c"
}
}
],
"response": {
"environment": "live",
"response_desc": "Get Successful."
},
"links": {
"self": "https://api.forte.net/v3/schedules/"
}
}
Headers (8) |
|
---|---|
Cache-Control |
no-cache Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds |
Connection |
keep-alive Options that are desired for the connection |
Content-Length |
348 The length of the response body in octets (8-bit bytes) Â |
content-type |
application/json; charset=utf-8 The mime type of this content |
date |
Fri, 03 Aug 2018 16:19:56 GMT The date and time that the message was sent |
expires |
-1 Gives the date/time after which the response is considered stale |
pragma |
no-cache Implementation-specific headers that may have various effects anywhere along the request-response chain. |
server |
A name for the server |
GET A Specific Schedule
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}
This URI returns a deleted schedule based on the schedule_id
 parameter and the schedule_status=deleted
 filter. The schedule detailed data that Forte returns includes schedule summary data that can be used to quickly find useful information about that schedule.
Example Request
curl --location -g 'https://api.forte.net/v3/v3/organizations/org_{{organization}}/locations/loc_{{location}}/schedules/sch_{{scheduleID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
Example Response
{
"schedule_id": "sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b",
"location_id": "loc_192642",
"customer_token": "cst_h_TrrHANEU6XjmMV_EMVrA",
"paymethod_token": "mth_cp459q53Q0W5wJdMG35f1w",
"action": "sale",
"schedule_quantity": 12,
"schedule_frequency": "monthly",
"schedule_amount": 25,
"schedule_service_fee_amount": 0,
"schedule_authorization_amount": 25,
"schedule_created_date": "2017-09-08T09:07:19.52",
"schedule_start_date": "2018-12-11T08:00:00",
"schedule_status": "active",
"item_description": "Car Payment",
"reference_id": "INV-123",
"order_number": "98762222",
"schedule_summary": {
"schedule_next_amount": 25,
"schedule_next_authorization_amount": 25,
"schedule_next_date": "2018-12-11T08:00:00",
"schedule_last_amount": 25,
"schedule_last_authorization_amount": 25,
"schedule_last_date": "2019-11-11T08:00:00",
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_authorization_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 300,
"schedule_remaining_authorization_amount": 300,
"schedule_remaining_quantity": 12,
"schedule_suspended_amount": 0,
"schedule_suspended_authorization_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "inv-321",
"xdata_2": "Southern Branch"
},
"response": {
"environment": "live",
"response_desc": "Get Successful."
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_81f2bff7-11e2-4cd8-b451-07c317edbd7b"
}
}
Headers (8) |
|
---|---|
Cache-Control |
no-cache Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds |
Connection |
keep-alive Options that are desired for the connection |
Content-Length |
71 The length of the response body in octets (8-bit bytes) Â |
content-type |
application/json; charset=utf-8 The mime type of this content |
date |
Fri, 03 Aug 2018 16:25:11 GMT The date and time that the message was sent |
expires |
-1 Gives the date/time after which the response is considered stale |
pragma |
no-cache Implementation-specific headers that may have various effects anywhere along the request-response chain. |
server |
A name for the server |
GET A Deleted Schedule
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}/?filter=schedule_status+eq+deleted
This URI returns a deleted schedule based on the schedule_id
 parameter and the schedule_status=deleted
filter. The schedule detailed data that Forte returns includes schedule summary data that can be used to quickly find useful information about that schedule.
 Â
Example Request
curl --location -g 'https://api.forte.net/v3/v3/organizations/org_{{organization}}/locations/loc_{{location}}/schedules/sch_{{scheduleID}}/?filter=schedule_status%2Beq%2Bdeleted' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}'
Example Response
{
"schedule_id": "sch_1611b4f8-527d-4bed-a4ff-f862e8ee1967",
"location_id": "loc_115161",
"customer_token": "cst_dNqILAxf7UaB5L3STrzkDw",
"paymethod_token": "mth_d5vwLQlxbkSkaMRfNZJGWA",
"action": "sale",
"schedule_quantity": 0,
"schedule_frequency": "weekly",
"schedule_amount": 1.38,
"schedule_service_fee_amount": 0,
"schedule_authorization_amount": 1.38,
"schedule_created_date": "2020-04-20T13:43:46.22",
"schedule_start_date": "2020-04-20T20:43:30.817",
"schedule_status": "deleted",
"sec_code": "ppd",
"schedule_summary": {
"schedule_successful_amount": 0,
"schedule_successful_authorization_amount": 0,
"schedule_successful_quantity": 0,
"schedule_failed_amount": 0,
"schedule_failed_authorization_amount": 0,
"schedule_failed_quantity": 0,
"schedule_remaining_amount": 0,
"schedule_remaining_authorization_amount": 0,
"schedule_remaining_quantity": 0,
"schedule_suspended_amount": 0,
"schedule_suspended_authorization_amount": 0,
"schedule_suspended_quantity": 0
},
"xdata": {
"xdata_1": "data1",
"xdata_2": "data2",
"xdata_3": "data3",
"xdata_4": "data4"
},
"response": {
"environment": "live",
"response_desc": "Get Successful."
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_1611b4f8-527d-4bed-a4ff-f862e8ee1967/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_1611b4f8-527d-4bed-a4ff-f862e8ee1967/"
}
}
Headers (8) |
|
---|---|
Cache-Control |
no-cache Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds |
Connection |
keep-alive Options that are desired for the connection |
Content-Length |
71 The length of the response body in octets (8-bit bytes) Â |
content-type |
application/json; charset=utf-8 The mime type of this content |
date |
Fri, 03 Aug 2018 16:25:11 GMT The date and time that the message was sent |
expires |
-1 Gives the date/time after which the response is considered stale |
pragma |
no-cache Implementation-specific headers that may have various effects anywhere along the request-response chain. |
server |
A name for the server |
PUT Update a Schedule's Status
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}
Updates the status of the schedule definition. When you reactivate a suspended schedule, its scheduleitems dated at least one day in the future are automatically reactivated as well.
{
"schedule_status": "suspended"
}
Example Request
curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
"schedule_status": "suspended"
}'
Example Response
{
"schedule_id": "sch_e2a47594-51fe-4ea1-b137-345cf9cca87b",
"location_id": "loc_192642",
"schedule_status": "suspended",
"response": {
"environment": "live",
"response_desc": "Update Successful."
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_e2a47594-51fe-4ea1-b137-345cf9cca87b/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_e2a47594-51fe-4ea1-b137-345cf9cca87b"
}
}
Headers (13) |
|
---|---|
access-control-allow-origin  |
* |
cache-control |
no-cache |
connection |
keep-alive |
content-lenght |
408 |
content-type |
application/json; charset=utf-8 |
date |
Fri, 20 Oct 2017 16:21:58 GMT |
expires |
-1 |
pragma |
no-cache |
server |
Microsoft-IIS/8.5 |
transfer-encoding |
chunked |
x-aspnet-version |
4.0.30319 |
x-cdn |
Incapsula |
x-iinfo |
1-32932009-32932021 NNNN CT(38 68 0) RT(1508516517582 47) q(0 0 1 -1) r(2 2) U6 |
x-powered-by |
ASP.NET |
PUT Update a Schedule's Paymethod Token
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}
Updates the paymethod token of the schedule definition.
{
"paymethod_token":"mth_3urq2yQexUmRWD3v8SOqlg"
}
Example Request
curl --location -g --request PUT 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--header 'Content-Type: application/json' \
--data '{
"paymethod_token":"mth_3urq2yQexUmRWD3v8SOqlg"
}'
Example Response
{
"schedule_id": "sch_e2a47594-51fe-4ea1-b137-345cf9cca87b",
"location_id": "loc_192642",
"paymethod_token": "mth_3urq2yQexUmRWD3v8SOqlg",
"response": {
"environment": "live",
"response_desc": "Update Successful."
},
"links": {
"scheduleitems": "https://api.forte.net/v3/schedules/sch_e2a47594-51fe-4ea1-b137-345cf9cca87b/scheduleitems",
"self": "https://api.forte.net/v3/schedules/sch_e2a47594-51fe-4ea1-b137-345cf9cca87b"
}
}
Headers (13) |
|
---|---|
access-control-allow-origin  |
* |
cache-control |
no-cache |
connection |
keep-alive |
content-lenght |
425 |
content-type |
application/json; charset=utf-8 |
date |
Fri, 20 Oct 2017 16:23:08 GMT |
expires |
-1 |
pragma |
no-cache |
server |
Microsoft-IIS/8.5 |
transfer-encoding |
chunked |
x-aspnet-version |
4.0.30319 |
x-cdn |
Incapsula |
x-iinfo |
1-32932009-32941661 NNNN CT(40 34 0) RT(1508516517582 68893) q(0 0 1 -1) r(14 14) U6 |
x-powered-by |
ASP.NET |
Delete Schedule
{{baseURI}}/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}
This URI deletes the schedule associated with the provided schedule_id
.
Example Request
curl --location -g --request DELETE 'https://api.forte.net/v3/organizations/org_{{organizationID}}/locations/loc_{{locationID}}/schedules/sch_{{scheduleID}}' \
--header 'Authorization: {{Authorization}}' \
--header 'Accept: application/json' \
--header 'X-Forte-Auth-Organization-Id: org_{{AuthOrganizationID}}' \
--data ''
Example Response
{
"number_results": 13,
"search_criteria": {
"page_size": 50,
"page_index": 0,
"home_organization_id": "org_334316",
"resource_specific": {
"location_id": "loc_192642",
"start_settle_date": "2016-10-01T00:00:00",
"end_settle_date": "2016-10-31T00:00:00"
}
},
"results": [
{
"settle_id": "stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_05169f58-241f-45b0-a335-3569d4a4e13e",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 102.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3//settlements/stl_f90ce5f6-3990-4384-bfd5-13dbc63dc895"
}
},
{
"settle_id": "stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_0da1b367-b2fc-4a8d-bf0c-6e17f9cfcade",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:55:22.333",
"settle_type": "reject",
"settle_response_code": "R49",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_a2c3dcf6-0c0f-4bfc-9bdf-266ce0e475e6"
}
},
{
"settle_id": "stl_45a168b1-2c14-4250-85b5-2bb306956489",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_0ebbc660-80a2-4a20-a610-11e2f205f742",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "withdrawal",
"settle_response_code": "A01",
"settle_amount": -1,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_45a168b1-2c14-4250-85b5-2bb306956489"
}
},
{
"settle_id": "stl_0e48f734-630e-4738-a990-2f1ba62d4614",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_eb64304c-6fbe-43db-9316-fdff1ef1a16a",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 45698.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_0e48f734-630e-4738-a990-2f1ba62d4614"
}
},
{
"settle_id": "stl_dc1aad35-409c-416d-b267-31be430d2401",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_dc0a2890-688f-4dc7-872b-820f23835dbd",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 1500.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_dc1aad35-409c-416d-b267-31be430d2401"
}
},
{
"settle_id": "stl_db452945-8866-40d5-8625-4d67fe7c0f2f",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_8d888da5-67b1-42ee-a211-3111fe916718",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 1103.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_db452945-8866-40d5-8625-4d67fe7c0f2f"
}
},
{
"settle_id": "stl_051849e9-d104-4fd7-a5b6-61f5c4183d65",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_173d67bb-0b30-47de-a82c-d8bb4429f84e",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:54:40.443",
"settle_type": "reject",
"settle_response_code": "R52",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_051849e9-d104-4fd7-a5b6-61f5c4183d65"
}
},
{
"settle_id": "stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_77aada8a-b324-4e1b-bdcf-2c3c4f8110ac",
"customer_id": "customer ID",
"order_number": "2925432",
"reference_id": "inv-232",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 1,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_d66ca0ff-8ba3-48d8-9f20-8a4db3b74236"
}
},
{
"settle_id": "stl_515761cb-7a78-4de3-aadb-9038a570cf57",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_e3beac6d-c421-430c-9ce8-96873d938c9b",
"customer_id": "customer ID",
"order_number": "2925432",
"reference_id": "inv-232",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T09:20:11.947",
"settle_type": "deposit",
"settle_response_code": "S01",
"settle_amount": 1,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_515761cb-7a78-4de3-aadb-9038a570cf57"
}
},
{
"settle_id": "stl_17024769-b2a8-4e5e-9000-b27ff90e5518",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_a514ebde-cf90-4152-b67c-083ec78823a8",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T09:44:06.9",
"settle_response_code": "A01",
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_17024769-b2a8-4e5e-9000-b27ff90e5518"
}
},
{
"settle_id": "stl_edce2138-ce1f-4c12-828c-d603fb8bcfde",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_69106bd2-ed33-45c2-9bfc-7f3b57b50dfe",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:53:57.643",
"settle_type": "reject",
"settle_response_code": "R52",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_edce2138-ce1f-4c12-828c-d603fb8bcfde"
}
},
{
"settle_id": "stl_60e00b41-7dce-41f3-bc25-e9857cb5295d",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_67de8503-6723-44d4-ac05-72607dca3d67",
"settle_batch_id": "123123123",
"settle_date": "2016-10-17T08:54:46.893",
"settle_type": "reject",
"settle_response_code": "R52",
"settle_amount": 0,
"method": "echeck",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_60e00b41-7dce-41f3-bc25-e9857cb5295d"
}
},
{
"settle_id": "stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a",
"organization_id": "org_334316",
"location_id": "loc_192642",
"transaction_id": "trn_69009c9f-2fb4-4634-ad43-fd5acde6010c",
"settle_batch_id": "123123123",
"settle_date": "2016-10-11T22:00:00",
"settle_type": "deposit",
"settle_response_code": "A01",
"settle_amount": 102.45,
"method": "cc",
"links": {
"self": "https://api.forte.net/v3/settlements/stl_42ccb5cb-0c0b-466a-ae04-fcb76803f03a"
}
}
],
"response": {
"environment": "live",
"response_desc": "Get Successful."
},
"links": {
"self": "https://api.forte.net/v3/settlements/?filter=start_settle_date+eq+%272016-10-01%27+AND+end_settle_date+eq+%272016-10-31%27"
}
}
Headers (13) |
|
---|---|
access-control-allow-origin  |
* |
cache-control |
no-cache |
connection |
keep-alive |
content-lenght |
159 |
content-type |
application/json; charset=utf-8 |
date |
Mon, 04 Dec 2017 22:01:34 GMT |
expires |
-1 |
pragma |
no-cache |
server |
Microsoft-IIS/8.5 |
transfer-encoding |
chunked |
x-aspnet-version |
4.0.30319 |
x-cdn |
Incapsula |
x-iinfo |
4-209212175-209212187 SNNN RT(1512424850839 43292) q(0 0 0 -1) r(1 1) U6 |
x-powered-by |
ASP.NET |