POST v1/bunits/{bunitId}/applications
Create an application.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
The ID of the business unit of the application | integer |
Required |
Body Parameters
the application object
ApplicationName | Description | Type | Additional information |
---|---|---|---|
ClientId |
Client id is a unique key that is used by the application to connect to the api. |
globally unique identifier |
Read-only. |
AllowRefreshTokens |
Specifies whether the application can use refresh-tokens to renew access-tokens. |
boolean |
None. |
Name |
The name of the application. |
string |
Required. |
Host |
Host location of application. The api will only accept requests from this application if this host is used. |
string |
Required. |
LastAccess |
When did the application last access the api. |
date |
Read-only. |
User |
The user of the application. If the application is not using the users of the system this user is used. |
User |
None. |
HasErrorLog |
Indicates whether the application has any errors logged. |
boolean |
Read-only. |
DefaultApplication |
Indicates whether or not the application is the default application, ie. the one that runs the website |
boolean |
None. |
Id |
A unique ID for the object. |
integer |
Read-only. |
CreatedDate |
Time and date the object was created. |
date |
Read-only. |
ArchivedDate |
Time and date the object was or is going to be archived. Unarchived objects have no value in ArchivedDate |
date |
Read-only. |
Operations |
Collection of OperationResult |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
Response Information
Resource Description
The application object with the information created
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.