Delete a loyalty transaction
delete
/crmRestApi/resources/11.13.18.05/loyTransactions/{LoyTransactionId}
Request
Path Parameters
-
LoyTransactionId(required): integer(int64)
The primary key to identify a transaction. Oracle Loyalty Cloud generates this attribute value during the creation of a transaction record. There is no default value, dependency, or limitation associated with this attribute.
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
Default Response
No Content. This task does not return elements in the response body.
Examples
Use DELETE with the following URI syntax to delete a loyalty transaction. Note that you can only delete transactions that are in the In Progress state. This example deletes transaction 300100181514792.
https://example.com:port/crmRestApi/resources/11.13.18.05/loyTransactions/300100181514792
Response Header Example
Date -Thu, 06 Jun 2019 10:14:50 GMT
Server -Oracle-HTTP-Server
Cache-Control -no-cache, no-store, must-revalidate
Location -
Content-Length -0
X-ORACLE-DMS-ECID -005YeJvyl7qFw0GLIys1yf00024m0003Ls
Vary -Content-Encoding,User-Agent
Link -<https://example.com:port/crmRestApi/resources/11.13.18.05/loyTransactions>;rel="self";kind="collection";name="loyTransactions"
REST-Framework-Version -1
Keep-Alive -timeout=61, max=100
Connection -Keep-Alive
Content-Type -text/plain
Content-Language -en
Response Body Example
There is no response body.