Valuekeep Developers - Web API Reference

GET Operations

GET FailureSymptoms (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 FailureSymptomResource.

Response status codes:

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

Resource URL:

GET /maintenanceCore/failureSymptoms/odata

GET FailureSymptom 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 FailureSymptomResource.

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 /maintenanceCore/failureSymptoms/{id}

GET FailureSymptom by key

Returns the entity record that matches the specified key.

The following elements are required:

failureSymptomKey (string) Failure Symptom.

Response:

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

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 /maintenanceCore/failureSymptoms/{failureSymptomKey}

POST Operations

POST FailureSymptoms

Creates a new entity record.

The following elements are required:

failureSymptomResource (ApiFailureSymptomResource) The request body should contain the entity record that should be created.
See ApiFailureSymptomResource.

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 ApiFailureSymptomResource.

Response status codes:

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

Resource URL:

POST /maintenanceCore/failureSymptoms

POST Failure Symptom Cause

Inserts a new 'Failure Symptom Cause' in the 'Failure Symptom'.

The following elements are required:

failureSymptomKey (string) Failure Symptom.
value (ApiFailureSymptomFailureSymptomCausesResource) The ApiFailureSymptomFailureSymptomCausesResource instance.
See ApiFailureSymptomFailureSymptomCausesResource.

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 is empty.

Response status codes:

204 NoContent. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /maintenanceCore/failureSymptoms/{failureSymptomKey}/failureSymptomCauses

PUT Operations

PUT Set Description FailureSymptom

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

The following elements are required:

failureSymptomKey (string) Failure Symptom.
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 /maintenanceCore/failureSymptoms/{failureSymptomKey}/description

PUT Set FailureCause FailureSymptomCause

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

The following elements are required:

failureSymptomKey (string) Failure Symptom.
lineId (string) The detail identifier.
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 /maintenanceCore/failureSymptoms/{failureSymptomKey}/failureSymptomCauses/{lineId}/failureCause

PUT Set FailureSymptomKey FailureSymptom

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

The following elements are required:

failureSymptomKey (string) Failure Symptom.
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 /maintenanceCore/failureSymptoms/{failureSymptomKey}/failureSymptomKey

PUT Set IsActive FailureSymptom

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

The following elements are required:

failureSymptomKey (string) Failure Symptom.
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 /maintenanceCore/failureSymptoms/{failureSymptomKey}/isActive

PUT Set Remarks FailureSymptom

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

The following elements are required:

failureSymptomKey (string) Failure Symptom.
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 /maintenanceCore/failureSymptoms/{failureSymptomKey}/remarks

PUT Set Custom Attribute FailureSymptom

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

The following elements are required:

failureSymptomKey (string) Failure Symptom
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 /maintenanceCore/failureSymptoms/{failureSymptomKey}/{customAttributeName}

PUT Set Custom Attribute FailureSymptomCause

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

The following elements are required:

failureSymptomKey (string) Failure Symptom
lineId (string) The detail identifier.
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 /maintenanceCore/failureSymptoms/{failureSymptomKey}/failureSymptomCauses/{lineId}/{customAttributeName}

DELETE Operations

DELETE Failure Symptom Cause by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

failureSymptomKey (string) Failure Symptom.
lineId (string) The line identifier.

Response:

When successful, the response body is empty.

Response status codes:

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

Resource URL:

DELETE /maintenanceCore/failureSymptoms/{failureSymptomKey}/failureSymptomCauses/{lineId}

DELETE FailureSymptom 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 /maintenanceCore/failureSymptoms/{id}

DELETE FailureSymptom by key

Deletes the entity record that matches the specified key.

The following elements are required:

failureSymptomKey (string) Failure Symptom.

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 /maintenanceCore/failureSymptoms/{failureSymptomKey}

Resources


ApiFailureSymptomFailureSymptomCausesResource

The following elements are required:

failureCause (string) Failure Cause.


ApiFailureSymptomResource

The following elements are required:

failureSymptomKey (string) Failure Symptom.
description (string) Description.

The following elements are optional:

remarks (string) Remarks.
failureSymptomCauses (List of ApiFailureSymptomFailureSymptomCausesResource) Failure Symptom Causes.
See ApiFailureSymptomFailureSymptomCausesResource.


FailureSymptomResource

The following elements are required:

failureSymptomKey (string) Failure Symptom.
description (string) Description.

The following elements are optional:

remarks (string) Remarks.
failureSymptomCauses (List of FailureSymptomCauseResource) Failure Symptom Causes.
See FailureSymptomCauseResource.


ExtensibilityCustomAttributeValueResource

The following elements are required:

value (object) The custom attribute value.