How can we help?

Searching:

0 results found

applicationTemplates/Patch or applicationTemplates/Put

PATCH /odata/applicationTemplates/Patch/[applicationTemplateId]

– OR –

PUT /odata/applicationTemplates/Put/[applicationTemplateId]

Description

To update an existing Axonize Application Manifest (template).

See the following for request and response details ‒

See Also

Request ‒ applicationTemplates/Patch or Put

In the request, specify the ID of the Application Manifest (template) whose definition to change and the name of the property(s) to change. These properties are described in applicationTemplates/Post.

For the Patch endpoint, all unspecified fields remain unchanged.

For the Put endpoint, all unspecified fields are assigned default values.

Property Type Description Mandatory
appId String A unique identifier that is automatically generated by Axonize for this Application.

This property is used to link between other entities (such as Users and Devices) and this Application.

Y
id String A unique identifier for this Application Manifest that is automatically generated. Please note that this ID is only intended for internal use by Axonize. Y

 

Example JSON applicationTemplates/Patch Request

curl -X PATCH \

https://api.dev.axonize.com/odata/applicationTemplates/5cc070b4e3b0cc2ce87494f0 \

-H ‘Accept: application/json, text/plain, */*’ \

-H ‘Content-Type: application/json’ \

-H ‘appId: 1aaf017c-b987-4f53-94d6-ad9afb8e4767’ \

-H ‘cache-control: no-cache’ \

-d ‘{

“name”: “appTemplate1”

}’

Example JSON applicationTemplates/Put Request

curl -X PUT \

https://api.dev.axonize.com/odata/applicationTemplates/5cc070b4e3b0cc2ce87494f0 \

-H ‘Accept: application/json, text/plain, */*’ \

-H ‘Content-Type: application/json’ \

-H ‘appId: 1aaf017c-b987-4f53-94d6-ad9afb8e4767’ \

-H ‘cache-control: no-cache’ \

-d ‘{

“name”: “appTemplate2”,

“settings”:

{

“appLogo” : “Logo”,

“appDarkLogo” : null,

“cultureInfo” : null,

“timezone” : null,

“phoneCountryCode” : null,

“passwordPolicy” : null,

“retention” : 30,

“format” : null,

“mapLayout” : null,

“mapOverlay” : null,

“viewMode” : null,

“defaultLocation” : null,

“featureSetId” : null

}

}’

Response ‒ applicationTemplates/Patch or Put

Example JSON applicationTemplates/Patch Response

Status 204 – No Content

Example JSON applicationTemplates/Put Response

Status 204 – No Content