The break code service returns all the company’s break codes (including custom and standard).

Get Break Codes

Request (JSON)

GET /Breakcodes/?securityToken={tokenId}
Content-Type:application/json

 

Response (JSON)

HTTP/1.1 200 OK "true"

[{"BreakCodeId":"766c9732-e2d1-46d1-ae3e-a74c560bb8e6", "Code":"Q", "Name":"Q", "Description":"BreakCode1", "Hours":"5", "MinimumHours":"5"}]},
...
{" BreakCodeId ":"aaaaa732-e2d1-46d1-ae3e-a74c560bb8e6"," Code ":"P", "Name":"P", "Description":"BreakCode2", "Hours":"8", "MinimumHours":"8"}]