How can we help?

Searching:

0 results found

Reports/Patch or Reports/Put

PATCH /odata/Reports/[reportId]

– OR –

PUT /odata/Reports/[reportId]

Description

To update an existing Report.

See the following for request and response details ‒

See Also

Request ‒ Reports/Patch or Put

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

For the Patch request, all unspecified fields remain unchanged.

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

Example JSON Reports/Patch Request

curl -X PATCH \

https://api.stg.axonize.com/odata/reports/5b58670919ec0c1a68412345\

-H ‘Cache-Control: no-cache’ \

-H ‘Authorization: Token’ \

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

-H ‘appId: 801A048A-9F23-429F-BF0D-B6D35B212345’ \

-d ‘        {

“name”:”patched – devices – report”

}’

Response ‒ Reports/Patch or Put

Property Type Description
createDate, createUser, updateDate, updateUser See Common Response Properties.

Status 204 – No Content