Endpoint 01
list-product-orders
Lists TMF622 ProductOrder resources with bounded mock pagination.
- Status
- 200
- Priority
- 0
- Paths
- 2
Bound paths
-
GET
order-management.tmfmock.com/tmf622/productOrder -
GET
order-management.tmfmock.com/tmf-api/productOrderingManagement/v4/productOrder
Request conditions
DefaultEvery request matching a bound method and path uses this rule.
Bound response rule
JSON formula{
"body": {
"$repeat": {
"max": 100,
"min": 1,
"count": {
"$var": "count"
},
"template": {
"id": {
"$concat": [
"PO-",
{
"$var": "number"
}
]
},
"href": {
"$concat": [
{
"$request": "origin"
},
"/tmf-api/productOrderingManagement/v4/productOrder/PO-",
{
"$var": "number"
}
]
},
"@type": "ProductOrder",
"state": "acknowledged",
"category": "consumer",
"priority": "3",
"orderDate": "2026-08-31T00:00:00.000Z",
"externalId": {
"$concat": [
"CRM-",
{
"$var": "number"
}
]
},
"description": "Mock product order",
"relatedParty": [
{
"id": "customer-001",
"name": "Mock customer",
"role": "customer",
"@type": "RelatedParty",
"@referredType": "Individual"
}
],
"billingAccount": {
"id": "BA-001",
"href": {
"$concat": [
{
"$request": "origin"
},
"/tmf-api/accountManagement/v4/billingAccount/BA-001"
]
},
"name": "Mock billing account",
"@referredType": "BillingAccount"
},
"productOrderItem": [
{
"id": "1",
"@type": "ProductOrderItem",
"state": "acknowledged",
"action": "add",
"quantity": 1,
"productOffering": {
"id": "offer-mobile-basic",
"name": "Mobile Basic",
"@referredType": "ProductOffering"
}
}
],
"requestedStartDate": "2026-09-01T09:00:00.000Z",
"expectedCompletionDate": "2026-09-05T17:00:00.000Z",
"requestedCompletionDate": "2026-09-05T17:00:00.000Z"
}
}
},
"status": 200,
"headers": {
"Content-Type": "application/json; charset=utf-8",
"X-Total-Count": {
"$var": "count"
},
"X-Result-Count": {
"$var": "count"
}
},
"variables": {
"count": {
"$request": {
"max": 100,
"min": 1,
"path": "query.limit",
"type": "integer",
"default": 2
}
}
}
}