Contains .http files used in VS Code and Visual Studio to perform RESTful queries toward SuperOffice Online tenants.
In VS Code, install the REST Client extension.
Replace the parameter values at the top of every file contains placeholders for the following values:
{{env}}- The environment to query. Eithersodorsod2orqaonlineorstageoronlineoronline3.{{token}}- The access token to use for authentication.{{tenant}}- The online tenant context identifier to query.{{ticket}}- The ticket credential to use for queries. Must be used with app_secret.{{app_secret}}- The app secret to use for authentication. Must be used with ticket.
Query using access token:
GET https://{{env}}.superoffice.com/{{tenant}}/api/v1/Contact/3 HTTP/1.1
Authorization: Bearer {{token}}
Accept: application/jsonQuery using ticket credential with app secret:
GET https://{{env}}.superoffice.com/{{tenant}}/api/v1/Contact/3 HTTP/1.1
Authorization: SOTicket {{ticket}}
SO-AppToken: {{app_secret}}
Accept: application/jsonUse the OIDC.http file and follow the instructions in the file.