Rate table credit card lines

Rate table credit card lines contain criteria for applying a default markup % to matching credit card transactions during invoicing.

  • Each line requires only 1 value be provided.
  • Lines with the exact same values (excluding description and markup %) are considered duplicates and are not allowed.
  • If no value is given for a property then the line will match on any transaction, otherwise it will only match on transactions with that property.
  • Lines with the most matches will be used as the invoice default markup %.
  • If multiple lines have the same number of matches then the one with the most recent start date will be used.
  • If multiple lines have the same number of matches and the same start date (or none at all) then the line with the lowest line number will be used.

List rate table credit card lines

get/objects/construction/rate-table-credit-card-line

Returns a collection with a key, ID, and link for each rate table credit card line.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "84",
      • "id": "84",
      • "href": "/objects/construction/rate-table-credit-card-line/84"
      },
    • {
      • "key": "85",
      • "id": "85",
      • "href": "/objects/construction/rate-table-credit-card-line/85"
      },
    • {
      • "key": "60",
      • "id": "60",
      • "href": "/objects/construction/rate-table-credit-card-line/60"
      },
    • {
      • "key": "78",
      • "id": "78",
      • "href": "/objects/construction/rate-table-credit-card-line/78"
      },
    • {
      • "key": "79",
      • "id": "79",
      • "href": "/objects/construction/rate-table-credit-card-line/79"
      }
    ],
  • "ia::meta": {
    • "totalCount": 5,
    • "start": 1,
    • "pageSize": 100
    }
}

Get a rate table credit card line

get/objects/construction/rate-table-credit-card-line/{key}

Returns detailed information for a particular rate table credit card line.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the rate table credit card line.

Example: 21
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "key": "145",
    • "id": "145",
    • "rateTable": {
      • "key": "145",
      • "id": "2021-LV2",
      • "name": "2021 Level 2",
      • "href": "/objects/construction/rate-table/145"
      },
    • "href": "/objects/construction/rate-table-credit-card-line/145",
    • "lineNumber": 1,
    • "description": "Aug Costing SOPA",
    • "startDate": "2021-08-03",
    • "markupPercent": "15.900",
    • "accumulationType": {
      • "key": "2",
      • "id": "ACCT-2",
      • "href": "/objects/construction/accumulation-type/2"
      },
    • "standardCostType": {
      • "key": "33",
      • "id": "CT-RT-0010",
      • "name": "CT-RT-0010 MATERIAL",
      • "href": "/objects/construction/standard-cost-type/33"
      },
    • "standardTask": {
      • "key": "3",
      • "id": "TSK-RT-0011",
      • "name": "TSK-RT-0011 Name",
      • "href": "/objects/construction/standard-task/3"
      },
    • "dimensions": {
      • "employee": {
        },
      • "project": {
        },
      • "customer": {
        },
      • "vendor": {
        },
      • "item": {
        },
      • "warehouse": {
        },
      • "class": {
        },
      • "task": {
        }
      },
    • "audit": {
      • "createdDateTime": "2014-01-08T11:28:12Z",
      • "modifiedDateTime": "2014-01-08T11:28:12Z",
      • "createdBy": "1",
      • "modifiedBy": "95"
      }
    },
  • "ia::meta": {
    • "totalCount": 1
    }
}

Query rate table credit card lines

post/services/core/query

Use the query service to find rate table credit card lines that meet certain criteria and to specify the properties that are returned.

SecurityOAuth2
Responses
200

OK

Request samples