Valuekeep Developers - Web API Reference

Settings | Mobile Report

Service to manage entities of type 'MobileReport'.

Overview


URL api/{tenantKey}/{orgKey}/settings/mobileReports
Methods Supported GET, POST, PUT, DELETE

All Operations

This service includes the following operations:

All Resources

This service uses the following resources:

GET Operations

GET MobileReports (odata)

Returns a page of the list of all the entity records available.

The following elements are optional:

opts (ODataQueryOptions) OData query option.

Response:

When successful, the response body contains the list of records available. See MobileReportResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /settings/mobileReports/odata

GET MobileReport by identifier

Returns the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body contains the entity record. See MobileReportResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /settings/mobileReports/{id}

GET MobileReport by key

Returns the entity record that matches the specified key.

The following elements are required:

mobileReportKey (string) Mobile Report.

Response:

When successful, the response body contains the entity record. See MobileReportResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /settings/mobileReports/{mobileReportKey}

GET Get Mobile Report Paged

Custom operation 'GetMobileReportPaged'.

The following elements are required:

modifiedOn (DateTimeOffset) ModifiedOn.
maxRecords (int) MaxRecords.

Response:

When successful, the response body contains a list of resources of type 'MobileReportResourceResource'. See MobileReportResourceResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /settings/mobileReports/getMobileReportPaged

POST Operations

POST MobileReports

Creates a new entity record.

The following elements are required:

mobileReportResource (ApiMobileReportResource) The request body should contain the entity record that should be created.
See ApiMobileReportResource.

The following elements are optional:

customAttributes (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity.
The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName".
While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required.

Response:

When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiMobileReportResource.

Response status codes:

201 Created. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /settings/mobileReports

PUT Operations

PUT Set Definition MobileReport

Updates the value of attribute 'Definition' in the specified entity record.

The following elements are required:

mobileReportKey (string) Mobile Report.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/mobileReports/{mobileReportKey}/definition

PUT Set Description MobileReport

Updates the value of attribute 'Description' in the specified entity record.

The following elements are required:

mobileReportKey (string) Mobile Report.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/mobileReports/{mobileReportKey}/description

PUT Set IsActive MobileReport

Updates the value of attribute 'IsActive' in the specified entity record.

The following elements are required:

mobileReportKey (string) Mobile Report.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /settings/mobileReports/{mobileReportKey}/isActive

PUT Set IsDefault MobileReport

Updates the value of attribute 'IsDefault' in the specified entity record.

The following elements are required:

mobileReportKey (string) Mobile Report.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/mobileReports/{mobileReportKey}/isDefault

PUT Set MobileReportKey MobileReport

Updates the value of attribute 'MobileReportKey' in the specified entity record.

The following elements are required:

mobileReportKey (string) Mobile Report.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/mobileReports/{mobileReportKey}/mobileReportKey

PUT Set Remarks MobileReport

Updates the value of attribute 'Remarks' in the specified entity record.

The following elements are required:

mobileReportKey (string) Mobile Report.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/mobileReports/{mobileReportKey}/remarks

PUT Set Custom Attribute MobileReport

Updates the value of 'CustomAttribute' in the specified entity record.

The following elements are required:

mobileReportKey (string) Mobile Report
customAttributeName (string) The custom attribute name.
value (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute.
See ExtensibilityCustomAttributeValueResource.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /settings/mobileReports/{mobileReportKey}/{customAttributeName}

DELETE Operations

DELETE MobileReport by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /settings/mobileReports/{id}

DELETE MobileReport by key

Deletes the entity record that matches the specified key.

The following elements are required:

mobileReportKey (string) Mobile Report.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /settings/mobileReports/{mobileReportKey}

Resources


ApiMobileReportResource

The following elements are required:

mobileReportKey (string) Mobile Report.
definition (string) Definition.

The following elements are optional:

description (string) Description.
isDefault (bool) Is Default.
remarks (string) Remarks.


MobileReportResource

The following elements are required:

mobileReportKey (string) Mobile Report.
definition (string) Definition.

The following elements are optional:

description (string) Description.
isDefault (bool) Is Default.
remarks (string) Remarks.


MobileReportResourceResource

The following elements are required:

definition (string) Definition.
mobileReportKey (string) Mobile Report.

The following elements are optional:

description (string) Description.
isDefault (bool) Is Default.
remarks (string) Remarks.


ExtensibilityCustomAttributeValueResource

The following elements are required:

value (object) The custom attribute value.