Get a subscription asset transaction
get
/crmRestApi/resources/11.13.18.05/subscriptionAssetTransactions/{TransactionNumber}
Request
Path Parameters
-
TransactionNumber(required): string
The alternate unique identifier of the transaction.
Query Parameters
-
dependency: string
This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2
Format: <attr1>=<val1>,<attr2>=<value2> -
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
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
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
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.
Root Schema : subscriptionAssetTransactions-item-response
Type:
Show Source
object
-
AssetFulfillmentLines: array
Asset Fulfillment Lines
Title:
Asset Fulfillment Lines
The asset fulfillment lines resource to view and create the asset fulfillment details in a replacement or upgrade transaction. The Asset Fulfillment Lines object has details such as replaced or upgraded customer asset, fulfillment date, fulfillment type etc. -
AssetId: integer
(int64)
The unique identifier of the asset associated with the transaction.
-
AssetSplitLines: array
Asset Split Lines
Title:
Asset Split Lines
The asset split lines resource to is used view and create the asset split details in a split transaction. The Asset Split Lines object has details such as customer asset, quantity etc. -
BillToAccountId: integer
(int64)
The unique identifier of the bill-to account associated with the asset.
-
BillToAccountSiteId: integer
(int64)
The unique identifier of the bill-to account site associated with the asset.
-
BillToAccountSiteUseId: integer
(int64)
The unique identifier of the bill-to account site use associated with the asset.
-
BusinessUnitId: integer
(int64)
The unique identifier of the business unit associated with the asset.
-
CreatedBy: string
Read Only:
true
Maximum Length:64
The user who created the record. -
CreationDate: string
(date-time)
Read Only:
true
The date when the record was created. -
CustomerId: integer
(int64)
The unique identifier of the customer associated with the asset.
-
FulfillmentType: string
Maximum Length:
30
The type of fulfillment. -
LastUpdateDate: string
(date-time)
Read Only:
true
The date when the record was last updated. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
The user who last updated the record. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
The login of the user who last updated the record. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
PendingFulfillmentCancelled: string
Read Only:
true
Maximum Length:1
Indicates if the pendinf fulfillment can be cancelled. -
Quantity: number
The quatity for the transaction.
-
ReplacementAssetId: integer
(int64)
The unique identifier of the replacement asset.
-
ReturnCompleted: string
Read Only:
true
Maximum Length:1
Indicates if the return is complete. -
ReturnOrderId: integer
(int64)
The ID of the return order.
-
ReturnOrderLineId: integer
(int64)
The individual line ID of the return order.
-
ReturnOrderLineNumber: string
Maximum Length:
120
The return order line number. -
ReturnOrderNumber: string
Maximum Length:
120
The identifier of the return order. -
ReturnOrderSystem: string
Maximum Length:
30
The system used to track return orders. -
SalesOrderId: integer
(int64)
The unique identifier of the sales order.
-
SalesOrderLineId: integer
(int64)
The unique identifier of the line in the sales order.
-
SalesOrderLineNumber: string
Maximum Length:
120
The line number of the sles order. -
SalesOrderNumber: string
Maximum Length:
120
The alternate unique identifier of the sales order. -
SalesOrderSystem: string
Maximum Length:
30
The sales order system associated with the transaction. -
ShipmentCompleted: string
Read Only:
true
Maximum Length:1
Indicates if the shipment is complete. -
ShipToPartyId: integer
(int64)
The unique identifier of the ship-to account associated with the asset.
-
ShipToPartySiteId: integer
(int64)
The unique identifier of the ship-to account site associated with the asset.
-
TransactionDate: string
(date)
Title:
Transaction Date
The date for the transaction. -
TransactionId: integer
(int64)
The unique identifier of the transaction.
-
TransactionNumber: string
Read Only:
true
Maximum Length:120
The alternate unique identifier of the transaction. -
TransactionSequence: integer
(int64)
Title:
Sequence
Read Only:true
The sequence associated with the transaction. -
TransactionStatus: string
Title:
Status
Read Only:true
Maximum Length:30
Default Value:NEW
The currnet status of the transaction. -
TransactionType: string
Title:
Asset Transaction Type
Maximum Length:60
The type of the transaction. -
WaitForFulfillment: string
Maximum Length:
1
The time required to fulfil the subscription.
Nested Schema : Asset Fulfillment Lines
Type:
array
Title:
Asset Fulfillment Lines
The asset fulfillment lines resource to view and create the asset fulfillment details in a replacement or upgrade transaction. The Asset Fulfillment Lines object has details such as replaced or upgraded customer asset, fulfillment date, fulfillment type etc.
Show Source
Nested Schema : Asset Split Lines
Type:
array
Title:
Asset Split Lines
The asset split lines resource to is used view and create the asset split details in a split transaction. The Asset Split Lines object has details such as customer asset, quantity etc.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : subscriptionAssetTransactions-AssetFulfillmentLines-item-response
Type:
Show Source
object
-
AssetId: integer
(int64)
The unique identifier of the associated asset.
-
CreatedBy: string
Read Only:
true
Maximum Length:64
The user who created the record. -
CreationDate: string
(date-time)
Read Only:
true
The date when the record was created. -
FulfillmentLineDate: string
(date)
The date of the fulfillment line.
-
FulfillmentLineId: integer
(int64)
The unique identifier of the fulfillment line.
-
FulfillmentLineNumber: string
Read Only:
true
Maximum Length:120
The identifier of the fulfillment line. -
FulfillmentLineType: string
Maximum Length:
30
The type of the fullfillment type. -
LastUpdateDate: string
(date-time)
Read Only:
true
The date when the record was last updated. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
The user who last updated the record. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
The login of the user who last updated the record. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
OrderFulfillLineId: integer
(int64)
The unique identifier of the order fulfillment line.
-
OrderId: integer
(int64)
The unique identifier of the order in the system.
-
OrderLineId: integer
(int64)
The unique identifier of the order line in the system.
-
OrderLineNumber: string
Maximum Length:
120
The alternate unique identifier of the order line. -
OrderNumber: string
Maximum Length:
120
The alternate unique identifier of the order. -
OrderSystem: string
Maximum Length:
30
The order system associated. -
Quantity: number
The quantity of the asset in the fulfillment line.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : subscriptionAssetTransactions-AssetSplitLines-item-response
Type:
Show Source
object
-
AssetId: integer
(int64)
The unique identifier of the asset associated with the transaction.
-
CreatedBy: string
Read Only:
true
Maximum Length:64
The user who created the record. -
CreationDate: string
(date-time)
Read Only:
true
The date when the record was created. -
LastUpdateDate: string
(date-time)
Read Only:
true
The date when the record was last updated. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
The user who last updated the record. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
The login of the user who last updated the record. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Quantity: number
The quantity of the asset in the fulfillment line.
-
SplitLineId: integer
(int64)
The unique identifier of the split line.
-
SplitLineNumber: string
Read Only:
true
Maximum Length:120
The alternate unique identifier of the split line.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- AssetFulfillmentLines
-
Parameters:
- TransactionNumber:
$request.path.TransactionNumber
The asset fulfillment lines resource to view and create the asset fulfillment details in a replacement or upgrade transaction. The Asset Fulfillment Lines object has details such as replaced or upgraded customer asset, fulfillment date, fulfillment type etc. - TransactionNumber:
- AssetSplitLines
-
Parameters:
- TransactionNumber:
$request.path.TransactionNumber
The asset split lines resource to is used view and create the asset split details in a split transaction. The Asset Split Lines object has details such as customer asset, quantity etc. - TransactionNumber:
- notifyFulfillmentCompleted
-
Parameters:
- TransactionNumber:
$request.path.TransactionNumber
This method will be used for notifying the completion of fulfillment in case of customer replacement or upgrade transaction. - TransactionNumber:
- notifyPendingFulfillmentCancelled
-
Parameters:
- TransactionNumber:
$request.path.TransactionNumber
This method will be used for notifying the fulfillment is cancelled in case of customer replacement or upgrade transaction. - TransactionNumber:
- notifyReturnCompleted
-
Parameters:
- TransactionNumber:
$request.path.TransactionNumber
This method will be used for notifying the completion of return in case of customer replacement or upgrade transaction. - TransactionNumber:
- notifyShipmentCompleted
-
Parameters:
- TransactionNumber:
$request.path.TransactionNumber
Notifies the completion of shipment in case of customer replacement or upgrade transaction. - TransactionNumber:
Examples
The following example shows how to get a subscription asset transaction by submitting a GET request on the REST resource using cURL.
cURL Command
curl --user
sales_cloud_user -X GET -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/subscriptionAssetTransactions/ATXN-1002
Example of Response Body
The following shows the contents of the response body in JSON format.
{ "TransactionId": 100100132581487, "TransactionNumber": "ATXN-1002", "TransactionSequence": 1002, "TransactionType": "CUSTOMER_ASSET_CREATION", "TransactionDate": "2019-12-09", "TransactionStatus": "PROCESSED", "AssetId": 300100185258462, "Quantity": 1, "BusinessUnitId": null, "CustomerId": 1005, "BillToAccountId": 1005, "BillToAccountSiteId": null, "BillToAccountSiteUseId": 1023, "ShipToPartyId": null, "ShipToPartySiteId": null, "SalesOrderSystem": "CSV", "SalesOrderId": 43931, "SalesOrderLineId": 43931, "SalesOrderNumber": "43931", "SalesOrderLineNumber": "43931", "ReturnOrderSystem": null, "ReturnOrderId": null, "ReturnOrderLineId": null, "ReturnOrderNumber": null, "ReturnOrderLineNumber": null, "ReplacementAssetId": null, "FulfillmentType": null, "WaitForFulfillment": null, "PendingFulfillmentCancelled": null, "ShipmentCompleted": null, "ReturnCompleted": null, "CreatedBy": "ALM_QA", "CreationDate": "2019-12-10T12:27:25+00:00", "LastUpdatedBy": "ALM_QA", "LastUpdateDate": "2019-12-10T12:27:25+00:00", "LastUpdateLogin": "991B01E9868C8305E0533CFDF40ACD30", "links": [ .... }