Credit card transaction line templates

Template for credit card transaction lines.

List credit card transaction line templates

get/objects/cash-management/credit-card-txn-line-template

Returns a collection with a key, ID, and link for each credit card transaction line template. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "3",
      • "id": "3",
      • "href": "/objects/cash-management/credit-card-txn-line-template/3"
      },
    • {
      • "key": "6",
      • "id": "6",
      • "href": "/objects/cash-management/credit-card-txn-line-template/6"
      },
    • {
      • "key": "2",
      • "id": "2",
      • "href": "/objects/cash-management/credit-card-txn-line-template/2"
      }
    ],
  • "ia::meta": {
    • "totalCount": 3,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Get a credit card transaction line template

get/objects/cash-management/credit-card-txn-line-template/{key}

Returns detailed information for a specified credit card transaction line template.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the credit card transaction line template.

Example: 30
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "key": "98",
    • "id": "98",
    • "creditCardTxnTemplate": {
      • "key": "117",
      • "href": "/objects/cash-management/credit-card-txn-template/117"
      },
    • "memo": "cc txn line memo",
    • "glAccount": {
      • "key": "339",
      • "id": "7505",
      • "name": "Other Marketing",
      • "href": "/objects/general-ledger/account/339"
      },
    • "dimensions": {
      • "location": {
        },
      • "project": {
        },
      • "customer": {
        },
      • "vendor": {
        },
      • "employee": {
        },
      • "item": {
        },
      • "class": {
        }
      },
    • "lineNumber": 1,
    • "accountLabel": {
      • "id": null
      },
    • "exchangeRate": {
      • "date": null,
      • "typeId": null,
      • "rate": null
      },
    • "isBillable": null,
    • "audit": {
      • "createdDateTime": "2022-06-22T20:09:18Z",
      • "modifiedDateTime": "2022-06-22T20:09:18Z",
      • "createdBy": "1",
      • "modifiedBy": "1"
      },
    • "href": "/objects/cash-management/credit-card-txn-line-template/98"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Query credit card transaction line templates

post/services/core/query

Use the query service to find credit card transaction line templates that meet certain criteria and to specify the properties that are returned.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "ia::error": {
      • "code": "invalidRequest",
      • "message": "A POST request requires a payload",
      • "errorId": "REST-1028",
      • "additionalInfo": {
        },
      • "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
      }
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 0,
    • "totalError": 1
    }
}