Company identification

Authenticated user may have access to several companies. Therefore, request must be linked to exactly one company. In Profit365 web app, this is achieved by using unique subdomains. In API, an company identification must be embedded in request header.

CompanyID: "3f17bfba-8bb0-414c-8709-7df66cdd4652"

When accessing company data, resources are accessed as that user with ACL for that company, so limitations will apply.



ClientID: 68074f1f-0a46-4fea-97ee-8fe6b20ee4c2
ClientSecret: sc1vcOTTFLuqjFa5u08UKtKaWl48XSqlm8jMQvrnXnuPvRjqTPgIDI6P1YcR  
Authorization: apikey HT5tI2DfA9TviUmPwzw8eePVW0zgMvfUyHwEQn5iiHmIT7BAjSKEAlopnqCXKhgcXsjTgcZbg4KeaZyGytTVL
CompanyID: d608260a-05f7-42a7-8697-dc2399171088  
Content-Type: application/json

{ some: "postData" }