> For the complete documentation index, see [llms.txt](https://docs.hos.accessacloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hos.accessacloud.com/atreemo-api/api-reference/atreemo-api-reference/corporate.md).

# Corporate

Api Methods for Corporate

## Get

> Get all corporates

```json
{"openapi":"3.0.3","info":{"title":"Atreemo API","version":"0.1.0"},"tags":[{"name":"Corporate","description":"Api Methods for Corporate"}],"servers":[{"url":"https://apim-hospitality-dev-uksouth.azure-api.net/atreemo-api","description":"Local DEV APIM import draft only; not a deployed endpoint announcement."}],"security":[{"AtreemoBearer":[]}],"components":{"securitySchemes":{"AtreemoBearer":{"type":"http","scheme":"bearer","description":"Atreemo access token obtained by the caller from the Atreemo instance `POST /token` endpoint (OAuth2 password grant) and sent as `Authorization: Bearer <token>`. See the Authorisation guide."}},"schemas":{"CorporateList":{"type":"array","items":{"$ref":"#/components/schemas/CorporateListItem"}},"CorporateListItem":{"type":"object","properties":{"ID":{"type":"integer","format":"int32","nullable":true},"CorporateName":{"type":"string"}}}}},"paths":{"/api/Corporate/Get":{"get":{"operationId":"CorporateGet","summary":"Get","tags":["Corporate"],"description":"Get all corporates","responses":{"200":{"description":"Source return path at pinned commit; runtime and deployed-version alignment unverified.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorporateList"}}}}}}}}}
```

## GetById

> Search Corporate by Id

```json
{"openapi":"3.0.3","info":{"title":"Atreemo API","version":"0.1.0"},"tags":[{"name":"Corporate","description":"Api Methods for Corporate"}],"servers":[{"url":"https://apim-hospitality-dev-uksouth.azure-api.net/atreemo-api","description":"Local DEV APIM import draft only; not a deployed endpoint announcement."}],"security":[{"AtreemoBearer":[]}],"components":{"securitySchemes":{"AtreemoBearer":{"type":"http","scheme":"bearer","description":"Atreemo access token obtained by the caller from the Atreemo instance `POST /token` endpoint (OAuth2 password grant) and sent as `Authorization: Bearer <token>`. See the Authorisation guide."}},"schemas":{"PostCorporateData":{"type":"object","properties":{"AccountManager":{"type":"integer","format":"int32","description":"Account Manager"},"AnnualBudget":{"type":"string","description":"Annual Budget"},"AnnualValue":{"type":"string","description":"Annual Value"},"CommissionType":{"type":"string","description":"Commission type"},"CommissionValue":{"type":"string","description":"Commission Value"},"CompanyType":{"type":"string","description":"Company Type"},"ContractRenewalDate":{"type":"string","format":"date-time","nullable":true,"description":"Contract renewal date"},"CorporateName":{"type":"string","description":"CorporateName"},"Email":{"type":"string","description":"Corporate Email"},"FinanceCtc":{"allOf":[{"$ref":"#/components/schemas/Contact"}],"description":"Finance contact"},"FormCompleted":{"type":"boolean","description":"FormCompleted"},"ID":{"type":"integer","format":"int32","nullable":true,"description":"Corporate ID"},"IndustryID":{"type":"integer","format":"int32","description":"IndustryID"},"IsActive":{"type":"boolean","description":"IsActive"},"IsInvoiceInAdvance":{"type":"boolean","description":"IsInvoiceInAdvance"},"LeadCtc":{"allOf":[{"$ref":"#/components/schemas/Contact"}],"description":"Lead contact"},"LoyalteScheme":{"type":"string","description":"Loyalty Scheme"},"Notes":{"type":"string","description":"Notes"},"NumberEmployee":{"type":"integer","format":"int32","description":"Number of employee"},"Phone":{"type":"string","description":"Corporate Phone"},"Website":{"type":"string","description":"Corporate Website"}}},"Contact":{"type":"object","properties":{"_Title":{"type":"string","description":"Person title"},"BirthDate":{"type":"string","format":"date-time","nullable":true,"description":"Date of birth"},"BrandID":{"type":"integer","format":"int32","nullable":true,"description":"The ID of the Brand the customer should belongs to"},"CardTokensList":{"type":"array","items":{"type":"string"},"description":"return the list of card tokens linked to this contact"},"Company":{"allOf":[{"$ref":"#/components/schemas/Company"}],"description":"Collection of company information"},"CpyID":{"type":"integer","format":"int32","description":"Houshold ID in B2C intance Company ID in B2B intance"},"CreateDate":{"type":"string","format":"date-time","nullable":true,"description":"Creation Date (used only in PostContact)"},"CtcID":{"type":"integer","format":"int32","description":"The ID of the customer (CtcID)"},"CtcNotes":{"allOf":[{"$ref":"#/components/schemas/CtcCpyNotes"}],"description":"Collection of complementary notes"},"CurrentMemberNumber":{"type":"string","description":"return the last member number linked to this contact"},"CurrentReferrerCode":{"type":"string","description":"Get the referrer code of the contact"},"DeleteMyData":{"type":"boolean","nullable":true,"description":"Confirmation to delete the personal data of this contact (USED ONLY in PUTCONTACT)"},"DoNotExport":{"type":"boolean","description":"Shows if contact can be exported"},"Email":{"type":"string","description":"Email address"},"FirstName":{"type":"string","description":"First Name"},"HomeSiteID":{"type":"string","description":"The Site ID added will be used to flag the customer against a Selected Site"},"LastName":{"type":"string","description":"Last Name"},"MemberNumbersList":{"type":"array","items":{"type":"string"},"description":"return the list of member numbers linked to this contact"},"MobilPhone":{"type":"string","description":"Mobile number"},"ModifDate":{"type":"string","format":"date-time","nullable":true,"description":"Last modification date (used only in PostContact)"},"ModifiedBy":{"type":"integer","format":"int32","nullable":true,"description":"CtcID of the user who applied the last modification"},"OriginID":{"type":"string","description":"OriginID"},"ParentEmailAddress":{"type":"string","description":"Parent Email Address (To be used when the contact age under 16)"},"Phone":{"type":"string","description":"Landline number"},"Picture":{"type":"string","format":"byte","description":"The Image of the contact"},"PositionFreeText":{"type":"string","description":"Job Free Text"},"PredefinedGender":{"description":"Gender : Unknown, Male, Female, PreferNotToSay, (Documented as type `GenderEnum`. The published description lists the values captured in `x-atreemo-documented-names`; their wire representation (number or name) and whether the list is exhaustive are not documented.)","type":"integer","format":"int32"},"ProcessMydata":{"type":"boolean","nullable":true,"description":"Confirmation to process the data of this contact (USED ONLY in PUTCONTACT)"},"ReferredByCode":{"type":"string","description":"Get or Update the referred by code of the contact"},"ReferrerCode":{"type":"string","description":"Update the referrer code of the contact"},"ReferrerCodeList":{"type":"array","items":{"type":"string"},"description":"return the list of referre codes linked to this contact"},"SourceID":{"type":"string","description":"Source ID"},"SupInfo":{"type":"array","items":{"$ref":"#/components/schemas/SupInfo"},"description":"Collection of contact supplementary information"},"UpdateIfPopulated":{"type":"boolean","description":"Used only in PutContact method (Default = false). This will allow the user to update just a specifc contact field(s) IF false : the request will be considered as PUT HTTP request (updates the entire resource) IF true : the request will be considered as PATCH HTTP request (partial update). Only populated fields will be updated."}}},"Company":{"type":"object","nullable":true,"description":"Source-backed JSON members. IgnoreDataMember members are omitted even when the controller populates them. CpyNotes is a virtual CtcCpyNotes property, not a CLR type named virtual. No required property presence is inferred from CLR types.","properties":{"Building":{"type":"string","nullable":true,"description":"Address 1"},"City":{"type":"string","nullable":true,"description":"City"},"CpyID":{"type":"integer","format":"int32","description":"Houshold ID in B2C intance Company ID in B2B intance"},"Name":{"type":"string","nullable":true,"description":"Houshold name in B2C intance Company name in B2B intance"},"PostCode":{"type":"string","nullable":true,"description":"Postcode"},"StateCode":{"type":"string","nullable":true,"description":"StateCode"},"StateName":{"type":"string","nullable":true,"description":"County"},"Street":{"type":"string","nullable":true,"description":"Address 2"},"Zone":{"type":"string","nullable":true,"description":"Address 3"},"CountryCode":{"type":"string","nullable":true,"description":"Country code; source documentation describes two-character values."},"CountryName":{"type":"string","nullable":true},"Phone":{"type":"string","nullable":true},"Fax":{"type":"string","nullable":true},"Web":{"type":"string","nullable":true},"Email":{"type":"string","nullable":true},"NationalID":{"type":"string","nullable":true},"SourceID":{"type":"string","nullable":true},"OriginID":{"type":"string","nullable":true},"CreateDate":{"type":"string","format":"date-time","nullable":true},"LastModifDate":{"type":"string","format":"date-time","nullable":true},"ModifiedBy":{"type":"integer","format":"int32","nullable":true},"CpyNotes":{"allOf":[{"$ref":"#/components/schemas/CtcCpyNotes"}]},"SupInfo":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/SupInfo"}}}},"CtcCpyNotes":{"type":"object","nullable":true,"properties":{"Comment":{"type":"string","nullable":true,"description":"Comment Text"},"CtcCpyID":{"type":"integer","format":"int32","description":"Contact ID"},"NoteUserID":{"type":"integer","format":"int32"},"SourceNote":{"type":"integer","format":"int32"},"LastModifiedBy":{"type":"string","nullable":true},"LastModifiedOn":{"type":"string","format":"date-time"},"AttachmentFilesList":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CtcCpyNotesAttachment"}},"AttachmentFilesListString":{"type":"array","nullable":true,"items":{"type":"string","nullable":true}}},"description":"Source-backed note model; individual actions may use only a subset of these members. No property presence is inferred solely from CLR types."},"CtcCpyNotesAttachment":{"type":"object","nullable":true,"properties":{"<AttachmentName>k__BackingField":{"type":"string","nullable":true},"<AttachmentID>k__BackingField":{"type":"string","nullable":true},"<FileName>k__BackingField":{"type":"string","nullable":true},"<FileContent>k__BackingField":{"type":"string","nullable":true},"<ContentType>k__BackingField":{"type":"string","nullable":true},"<FileSize>k__BackingField":{"type":"integer","format":"int32","nullable":true},"<ID>k__BackingField":{"type":"integer","format":"int32","nullable":true},"<HasContent>k__BackingField":{"type":"boolean"}},"description":"The nested Atreemo.Models.CtcCpyNotes.Attachment class is Serializable. The ordinary Web API formatter therefore exposes compiler backing-field names, not the property names used by a default Json.NET resolver. Runtime-unverified."},"SupInfo":{"type":"object","nullable":true,"properties":{"FieldContent":{"type":"string","nullable":true,"description":"Field value"},"FieldName":{"type":"string","nullable":true,"description":"Field name"}}}}},"paths":{"/api/Corporate/GetById/{corporateId}":{"get":{"operationId":"CorporateGetById","summary":"GetById","tags":["Corporate"],"description":"Search Corporate by Id","parameters":[{"name":"corporateId","in":"path","schema":{"type":"integer","format":"int32"},"required":true,"description":"Native path parameter. CLR int Id in the pinned controller signature. The OpenAPI placeholder names the catalogue path segment; the CLR parameter is Id."},{"name":"ReturnCtcIDs","in":"query","schema":{"type":"boolean","default":false},"description":"Native query parameter. CLR bool ReturnCtcIDs in the pinned controller signature. Omission uses the declared default.","required":false}],"responses":{"200":{"description":"OK (sample status in the public collection).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostCorporateData"}}}}}}}}}
```

## Post

> Create new Corporate

```json
{"openapi":"3.0.3","info":{"title":"Atreemo API","version":"0.1.0"},"tags":[{"name":"Corporate","description":"Api Methods for Corporate"}],"servers":[{"url":"https://apim-hospitality-dev-uksouth.azure-api.net/atreemo-api","description":"Local DEV APIM import draft only; not a deployed endpoint announcement."}],"security":[{"AtreemoBearer":[]}],"components":{"securitySchemes":{"AtreemoBearer":{"type":"http","scheme":"bearer","description":"Atreemo access token obtained by the caller from the Atreemo instance `POST /token` endpoint (OAuth2 password grant) and sent as `Authorization: Bearer <token>`. See the Authorisation guide."}},"schemas":{"PostCorporateData":{"type":"object","properties":{"AccountManager":{"type":"integer","format":"int32","description":"Account Manager"},"AnnualBudget":{"type":"string","description":"Annual Budget"},"AnnualValue":{"type":"string","description":"Annual Value"},"CommissionType":{"type":"string","description":"Commission type"},"CommissionValue":{"type":"string","description":"Commission Value"},"CompanyType":{"type":"string","description":"Company Type"},"ContractRenewalDate":{"type":"string","format":"date-time","nullable":true,"description":"Contract renewal date"},"CorporateName":{"type":"string","description":"CorporateName"},"Email":{"type":"string","description":"Corporate Email"},"FinanceCtc":{"allOf":[{"$ref":"#/components/schemas/Contact"}],"description":"Finance contact"},"FormCompleted":{"type":"boolean","description":"FormCompleted"},"ID":{"type":"integer","format":"int32","nullable":true,"description":"Corporate ID"},"IndustryID":{"type":"integer","format":"int32","description":"IndustryID"},"IsActive":{"type":"boolean","description":"IsActive"},"IsInvoiceInAdvance":{"type":"boolean","description":"IsInvoiceInAdvance"},"LeadCtc":{"allOf":[{"$ref":"#/components/schemas/Contact"}],"description":"Lead contact"},"LoyalteScheme":{"type":"string","description":"Loyalty Scheme"},"Notes":{"type":"string","description":"Notes"},"NumberEmployee":{"type":"integer","format":"int32","description":"Number of employee"},"Phone":{"type":"string","description":"Corporate Phone"},"Website":{"type":"string","description":"Corporate Website"}}},"Contact":{"type":"object","properties":{"_Title":{"type":"string","description":"Person title"},"BirthDate":{"type":"string","format":"date-time","nullable":true,"description":"Date of birth"},"BrandID":{"type":"integer","format":"int32","nullable":true,"description":"The ID of the Brand the customer should belongs to"},"CardTokensList":{"type":"array","items":{"type":"string"},"description":"return the list of card tokens linked to this contact"},"Company":{"allOf":[{"$ref":"#/components/schemas/Company"}],"description":"Collection of company information"},"CpyID":{"type":"integer","format":"int32","description":"Houshold ID in B2C intance Company ID in B2B intance"},"CreateDate":{"type":"string","format":"date-time","nullable":true,"description":"Creation Date (used only in PostContact)"},"CtcID":{"type":"integer","format":"int32","description":"The ID of the customer (CtcID)"},"CtcNotes":{"allOf":[{"$ref":"#/components/schemas/CtcCpyNotes"}],"description":"Collection of complementary notes"},"CurrentMemberNumber":{"type":"string","description":"return the last member number linked to this contact"},"CurrentReferrerCode":{"type":"string","description":"Get the referrer code of the contact"},"DeleteMyData":{"type":"boolean","nullable":true,"description":"Confirmation to delete the personal data of this contact (USED ONLY in PUTCONTACT)"},"DoNotExport":{"type":"boolean","description":"Shows if contact can be exported"},"Email":{"type":"string","description":"Email address"},"FirstName":{"type":"string","description":"First Name"},"HomeSiteID":{"type":"string","description":"The Site ID added will be used to flag the customer against a Selected Site"},"LastName":{"type":"string","description":"Last Name"},"MemberNumbersList":{"type":"array","items":{"type":"string"},"description":"return the list of member numbers linked to this contact"},"MobilPhone":{"type":"string","description":"Mobile number"},"ModifDate":{"type":"string","format":"date-time","nullable":true,"description":"Last modification date (used only in PostContact)"},"ModifiedBy":{"type":"integer","format":"int32","nullable":true,"description":"CtcID of the user who applied the last modification"},"OriginID":{"type":"string","description":"OriginID"},"ParentEmailAddress":{"type":"string","description":"Parent Email Address (To be used when the contact age under 16)"},"Phone":{"type":"string","description":"Landline number"},"Picture":{"type":"string","format":"byte","description":"The Image of the contact"},"PositionFreeText":{"type":"string","description":"Job Free Text"},"PredefinedGender":{"description":"Gender : Unknown, Male, Female, PreferNotToSay, (Documented as type `GenderEnum`. The published description lists the values captured in `x-atreemo-documented-names`; their wire representation (number or name) and whether the list is exhaustive are not documented.)","type":"integer","format":"int32"},"ProcessMydata":{"type":"boolean","nullable":true,"description":"Confirmation to process the data of this contact (USED ONLY in PUTCONTACT)"},"ReferredByCode":{"type":"string","description":"Get or Update the referred by code of the contact"},"ReferrerCode":{"type":"string","description":"Update the referrer code of the contact"},"ReferrerCodeList":{"type":"array","items":{"type":"string"},"description":"return the list of referre codes linked to this contact"},"SourceID":{"type":"string","description":"Source ID"},"SupInfo":{"type":"array","items":{"$ref":"#/components/schemas/SupInfo"},"description":"Collection of contact supplementary information"},"UpdateIfPopulated":{"type":"boolean","description":"Used only in PutContact method (Default = false). This will allow the user to update just a specifc contact field(s) IF false : the request will be considered as PUT HTTP request (updates the entire resource) IF true : the request will be considered as PATCH HTTP request (partial update). Only populated fields will be updated."}}},"Company":{"type":"object","nullable":true,"description":"Source-backed JSON members. IgnoreDataMember members are omitted even when the controller populates them. CpyNotes is a virtual CtcCpyNotes property, not a CLR type named virtual. No required property presence is inferred from CLR types.","properties":{"Building":{"type":"string","nullable":true,"description":"Address 1"},"City":{"type":"string","nullable":true,"description":"City"},"CpyID":{"type":"integer","format":"int32","description":"Houshold ID in B2C intance Company ID in B2B intance"},"Name":{"type":"string","nullable":true,"description":"Houshold name in B2C intance Company name in B2B intance"},"PostCode":{"type":"string","nullable":true,"description":"Postcode"},"StateCode":{"type":"string","nullable":true,"description":"StateCode"},"StateName":{"type":"string","nullable":true,"description":"County"},"Street":{"type":"string","nullable":true,"description":"Address 2"},"Zone":{"type":"string","nullable":true,"description":"Address 3"},"CountryCode":{"type":"string","nullable":true,"description":"Country code; source documentation describes two-character values."},"CountryName":{"type":"string","nullable":true},"Phone":{"type":"string","nullable":true},"Fax":{"type":"string","nullable":true},"Web":{"type":"string","nullable":true},"Email":{"type":"string","nullable":true},"NationalID":{"type":"string","nullable":true},"SourceID":{"type":"string","nullable":true},"OriginID":{"type":"string","nullable":true},"CreateDate":{"type":"string","format":"date-time","nullable":true},"LastModifDate":{"type":"string","format":"date-time","nullable":true},"ModifiedBy":{"type":"integer","format":"int32","nullable":true},"CpyNotes":{"allOf":[{"$ref":"#/components/schemas/CtcCpyNotes"}]},"SupInfo":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/SupInfo"}}}},"CtcCpyNotes":{"type":"object","nullable":true,"properties":{"Comment":{"type":"string","nullable":true,"description":"Comment Text"},"CtcCpyID":{"type":"integer","format":"int32","description":"Contact ID"},"NoteUserID":{"type":"integer","format":"int32"},"SourceNote":{"type":"integer","format":"int32"},"LastModifiedBy":{"type":"string","nullable":true},"LastModifiedOn":{"type":"string","format":"date-time"},"AttachmentFilesList":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/CtcCpyNotesAttachment"}},"AttachmentFilesListString":{"type":"array","nullable":true,"items":{"type":"string","nullable":true}}},"description":"Source-backed note model; individual actions may use only a subset of these members. No property presence is inferred solely from CLR types."},"CtcCpyNotesAttachment":{"type":"object","nullable":true,"properties":{"<AttachmentName>k__BackingField":{"type":"string","nullable":true},"<AttachmentID>k__BackingField":{"type":"string","nullable":true},"<FileName>k__BackingField":{"type":"string","nullable":true},"<FileContent>k__BackingField":{"type":"string","nullable":true},"<ContentType>k__BackingField":{"type":"string","nullable":true},"<FileSize>k__BackingField":{"type":"integer","format":"int32","nullable":true},"<ID>k__BackingField":{"type":"integer","format":"int32","nullable":true},"<HasContent>k__BackingField":{"type":"boolean"}},"description":"The nested Atreemo.Models.CtcCpyNotes.Attachment class is Serializable. The ordinary Web API formatter therefore exposes compiler backing-field names, not the property names used by a default Json.NET resolver. Runtime-unverified."},"SupInfo":{"type":"object","nullable":true,"properties":{"FieldContent":{"type":"string","nullable":true,"description":"Field value"},"FieldName":{"type":"string","nullable":true,"description":"Field name"}}},"PostCorporateOutput":{"type":"object","properties":{"Errors":{"type":"array","items":{"$ref":"#/components/schemas/APICallError"},"description":"Collection of errors if exist"},"ResponseStatus":{"type":"boolean","description":"True: if the action was succsessfully treated False: if there is an error"}}},"APICallError":{"type":"object","properties":{"ErrorCode":{"type":"integer","format":"int32","description":"The error code"},"ErrorDescription":{"type":"string","description":"The error description"}}}}},"paths":{"/api/Corporate/Post":{"post":{"operationId":"CorporatePost","summary":"Post","tags":["Corporate"],"description":"Create new Corporate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostCorporateData"}}}},"responses":{"200":{"description":"OK (sample status in the public collection).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostCorporateOutput"}}}}}}}}}
```

## RemoveContact

> Remove Contact From Corporate

```json
{"openapi":"3.0.3","info":{"title":"Atreemo API","version":"0.1.0"},"tags":[{"name":"Corporate","description":"Api Methods for Corporate"}],"servers":[{"url":"https://apim-hospitality-dev-uksouth.azure-api.net/atreemo-api","description":"Local DEV APIM import draft only; not a deployed endpoint announcement."}],"security":[{"AtreemoBearer":[]}],"components":{"securitySchemes":{"AtreemoBearer":{"type":"http","scheme":"bearer","description":"Atreemo access token obtained by the caller from the Atreemo instance `POST /token` endpoint (OAuth2 password grant) and sent as `Authorization: Bearer <token>`. See the Authorisation guide."}},"schemas":{"RemoveContactFromCorporateInput":{"type":"object","properties":{"CorporateID":{"type":"integer","format":"int32","nullable":true,"description":"Unique identifier of company from which the contact will be removed."},"CorporateName":{"type":"string","description":"The name of the corporate associated with the contact."},"CtcID":{"type":"integer","format":"int32","description":"The CtcID of the contact to be removed"}}},"RemoveContactFromCorporateOutput":{"type":"object","properties":{"Errors":{"type":"array","items":{"$ref":"#/components/schemas/APICallError"},"description":"Collection of errors if exist"},"ResponseStatus":{"type":"boolean","description":"True: if the action was succsessfully treated False: if there is an error"}}},"APICallError":{"type":"object","properties":{"ErrorCode":{"type":"integer","format":"int32","description":"The error code"},"ErrorDescription":{"type":"string","description":"The error description"}}}}},"paths":{"/api/Corporate/RemoveContact":{"delete":{"operationId":"CorporateRemoveContact","summary":"RemoveContact","tags":["Corporate"],"description":"Remove Contact From Corporate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveContactFromCorporateInput"}}}},"responses":{"200":{"description":"OK (sample status in the public collection).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoveContactFromCorporateOutput"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hos.accessacloud.com/atreemo-api/api-reference/atreemo-api-reference/corporate.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
