Vi starter med at lave en get til

https://api.gsgroup.io/v1.0/Orders//v1.0/Orders/{orderId}/SalaryCodes

Brug din Bearer Token ( access_token ) fra Step 1.1 til at kalde ovenstående API.

[

{

"userReference": {

"id": "bryn01",

"externalId": "bryn01"

},

"date": "2019-11-08T13:12:02",

"amount": 1.0,

"salaryCodeReference": {

"id": "000000700",

"externalId": "000000700"

},

"info": "Normaltimer",

"totalPrice": 460.0,

"costPrice": 100.0,

"status": 2,

"description": null,

"smartdaySalaryCodeRegistration": {

"unit": "timer",

"unitPrice": 460.0,

"comment": null,

"categoryReference": {

"id": "1",

"externalId": "1"

}

},

"handymanSalaryCodeRegistration": null,

"id": "80ec0e2a-abae-4196-94d5-ada561470c76",

"externalId": "80ec0e2a-abae-4196-94d5-ada561470c76"

}

]

Fandt du dit svar?