Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

idunsigned intUnique identifier for the rate.
titlestringThe rate title
chargeddoubleThe amount charged.
standingstringThe rates standing status. This can be: active or inactive.
objectstringThe object of the rate. This can be: staff, issue, component, job or contract_period.

Fields that can be object indicate the field can be requested as a resource. For example.

Code Block
languagebash
GET /workflows?_fields=owner

would return the owner's staff id. Where as,

Code Block
languagebash
GET /workflows?_fields=owner(email)

would return the owner's staff object, including any optional fields or objects within the parenthesis. In the above examples case, it would return the staff objects default values and optional email value.

Sample Response

Code Block
languagebash
GET /workflowsrates.json?_fields=date_created,owner()standing,charged&_limit=32
Code Block
languagejavascript
{
   "response" : [
      {
         "ownerstanding" : {             "firstname" : "Geoff",
  "inactive",
         "idcharged" : "1000150.00",
  
         "surnametitle" : "McQueen"ALi          },
         "date_created" : "0"test rate",
         "id" : "51",
         "title" : "Workflow: 0-0-000018"
      },
      {
         "ownerstanding" : {
            "firstname" : "Michael"active",
            "idcharged" : "9",
            "surname" : "Jaques"
         },
         "date_created" : "0",
         "id" : "60150.00",
         "title" : "Workflow: 0-0-0000"
      }Default",
      {
         "owner" : {
            "firstname" : "Geoff",
            "id" : "1000",
            "surname" : "McQueen"
         },
         "date_created" : "0",
         "id" : "133",
         "title" : "Workflow: 0-0-000019"
      }
   ],
   "meta" : {
      "status" : "ok",
      "message" : "Everything executed as expected."
   }
}