List available products, place orders, view order history, and retrieve ordered products.
- GET order item
Optional description to identify a transaction, used for billing purposes. Note that we'll be providing a separate order ID once the order has been submitted.
Optional unique UUID which can assist with tracing / debugging requests.
Unique UUID used to prevent duplicate order submissions. This allows requests to be retried after a network failure without accidentally submitting two orders. If you receive a network error or timeout, you should resend the request with the same idempotency-key. If you resend a request with the same value for the idempotency-key, you will receive the original response. If the server is still processing the original POST, you will receive 429 Too Many Requests. Idempotency keys expire after 24 hours.
Each product type offered has a unique productCode. The productCode together with productIds will uniquely specify a specific instance of a product that can be ordered.
To place an order for a product, these productIds need to be provided together with the productCode which uniquely specifies an instance of a product that can be ordered. Each product type can have different productIds. A couple of examples:
- for productCode RegisterSearchStatement the productIds will include a titleId, eg: { "titleId": "10940/843" }
- for productCode VicRoads productIds will include two fields, eg: { "propertyPfi": "5365126", "authorityId": 431 }
Customers are allowed to proceed only if they have accepted the warning messages. Warning messages are supplied in GET products.
Indicate how product is delivered to customers. If 'EMAIL' is selected, then product will be emailed to recipient. If 'NONE' then product will not be delivered and must be retrieved via API.
Email address where the products will be delivered to. Required if deliveryPreference is EMAIL or if alerting products are ordered.
Contact person for the order.
- Mock serverhttps://developer.servictoria.io/_mock/portal/rest/ddp-orders-api/openapi/orders/v1
- Production environmenthttps://api.servictoria.io/ddp/orders/v1
- Test environmenthttps://test.api.servictoria.io/ddp/orders/v1
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.servictoria.io/_mock/portal/rest/ddp-orders-api/openapi/orders/v1 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'customer-id: string' \
-H 'customer-reference: string' \
-H 'idempotency-key: cc4d91e3-17af-4d11-b333-eb449e62ff07' \
-H 'x-correlation-id: 824993ab-7366-4faa-963d-c456dec227a5' \
-d '{
"products": [
{
"productCode": "RegisterSearchStatement",
"productIds": {
"titleId": "10940/843"
},
"isWarningAcknowledged": true,
"extraData": {
"settlementDate": "yyyy-mm-dd",
"meterReadDate": "yyyy-mm-dd",
"waterShareId": "WEE123456",
"landUseApplicationReason": "VENDOR",
"postalAddress": {
"recipientName": "string",
"companyName": "string",
"contactNumber": "string",
"email": "string",
"streetAddress": "string",
"suburb": "string",
"state": "VIC",
"postcode": 1000
},
"vendors": [
{
"vendorType": "INDIVIDUAL",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"companyName": "string"
}
],
"purchasers": [
{
"purchaserType": "INDIVIDUAL",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"companyName": "string"
}
],
"ratesRequestDate": "yyyy-mm-dd",
"salePrice": 0,
"ownersCorpManagerData": {
"managerId": 0,
"managerName": "string",
"address": "string",
"phone": "string"
},
"wisNumber": 99999999,
"deliverySpeed": "STANDARD",
"parcel": "1\\\\PS508629",
"emailFormat": "TEXT"
},
"prerequisites": [
{
"productCode": "RegisterSearchStatement",
"productIds": {
"titleId": "10940/843"
}
}
]
}
],
"deliveryPreference": "NONE",
"email": "user@example.com",
"contactName": "string",
"contactNumber": "string",
"alternateAddress": {
"unitOrFlatNumber": "G10A",
"streetNumber": "23-25",
"streetName": "Flinders",
"streetType": "Road",
"suburbOrTownOrLocality": "Brunswick East",
"postcode": 1000
}
}'Successful Operation
Each product type offered has a unique productCode. The productCode together with productIds will uniquely specify a specific instance of a product that can be ordered.
To place an order for a product these productIds need to be provided together with the productCode which uniquely specifies an instance of a product that can be ordered. Each product type can have different productIds. A couple of examples:
- for productCode RegisterSearchStatement the productIds will include a titleId, eg: { "titleId": "10940/843" }
- for productCode VicRoads productIds will include two fields, eg: { "propertyPfi": "5365126", "authorityId": 431 }
Name of the product, suitable for display to customers.
For some products additional product specific information is provided to users such as decrypted product id, product type and more
Name of Authority who is responsible for the information product.
The amount (in cents) charged for this product (including gst).
{ "orderId": "10219435", "totalPrice": 891, "totalGst": 89, "fees": [ { … } ], "itemsOrdered": [ { … } ] }
- Mock serverhttps://developer.servictoria.io/_mock/portal/rest/ddp-orders-api/openapi/orders/v1
- Production environmenthttps://api.servictoria.io/ddp/orders/v1
- Test environmenthttps://test.api.servictoria.io/ddp/orders/v1
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.servictoria.io/_mock/portal/rest/ddp-orders-api/openapi/orders/v1?pageNumber=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'customer-id: string' \
-H 'x-correlation-id: 824993ab-7366-4faa-963d-c456dec227a5'Successful Operation
Date and time the item was ordered.
The amount (in cents) charged for this product (including gst).
Indicate how product is delivered to customers. If 'EMAIL' is selected, then product will be emailed to recipient. If 'NONE' then product will not be delivered and must be retrieved via API.
Any description customer entered during ordering process to identify a transaction.
Each product type offered has a unique productCode. The productCode together with productIds will uniquely specify a specific instance of a product that can be ordered.
To place an order for a product these productIds need to be provided together with the productCode which uniquely specifies an instance of a product that can be ordered. Each product type can have different productIds. A couple of examples:
- for productCode RegisterSearchStatement the productIds will include a titleId, eg: { "titleId": "10940/843" }
- for productCode VicRoads productIds will include two fields, eg: { "propertyPfi": "5365126", "authorityId": 431 }
Name of the product, suitable for display to customers.
For some products additional product specific information is provided to users such as decrypted product id, product type and more
Name of authority who is responsible for the information product.
Product processing status of the ordered product. The possible options are COMPLETE (successfully fulfilled), PROCESSING (Product is still being fulfilled), EXTERNAL_PROCESSING (certificate is with the external responsible authority), FAILED (there was an error causing fulfilment to not complete) or CANCELLED (product ordered was manually cancelled).
The amount (in cents) charged for this product (including gst).
The gst amount (in cents) charged for this product.
{ "pagination": { "totalRecords": 0, "nextPage": 2 }, "orders": [ { … } ] }
- Mock serverhttps://developer.servictoria.io/_mock/portal/rest/ddp-orders-api/openapi/orders/v1/{orderId}
- Production environmenthttps://api.servictoria.io/ddp/orders/v1/{orderId}
- Test environmenthttps://test.api.servictoria.io/ddp/orders/v1/{orderId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.servictoria.io/_mock/portal/rest/ddp-orders-api/openapi/orders/v1/{orderId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'customer-id: string' \
-H 'x-correlation-id: 824993ab-7366-4faa-963d-c456dec227a5'Successful Operation
Date and time the item was ordered.
The amount (in cents) charged for this product (including gst).
Indicate how product is delivered to customers. If 'EMAIL' is selected, then product will be emailed to recipient. If 'NONE' then product will not be delivered and must be retrieved via API.
Any description customer entered during ordering process to identify a transaction.
Each product type offered has a unique productCode. The productCode together with productIds will uniquely specify a specific instance of a product that can be ordered.
To place an order for a product these productIds need to be provided together with the productCode which uniquely specifies an instance of a product that can be ordered. Each product type can have different productIds. A couple of examples:
- for productCode RegisterSearchStatement the productIds will include a titleId, eg: { "titleId": "10940/843" }
- for productCode VicRoads productIds will include two fields, eg: { "propertyPfi": "5365126", "authorityId": 431 }
Name of the product, suitable for display to customers.
For some products additional product specific information is provided to users such as decrypted product id, product type and more
Name of authority who is responsible for the information product.
Product processing status of the ordered product. The possible options are COMPLETE (successfully fulfilled), PROCESSING (Product is still being fulfilled), EXTERNAL_PROCESSING (certificate is with the external responsible authority), FAILED (there was an error causing fulfilment to not complete) or CANCELLED (product ordered was manually cancelled).
The amount (in cents) charged for this product (including gst).
{ "orderId": "10219435", "orderDate": "2023-07-14T00:00:00.000000+11:00", "totalPrice": 891, "totalGst": 89, "fees": [ { … } ], "deliveryPreference": "NONE", "email": "string", "contactName": "string", "contactNumber": "string", "customerReference": "string", "products": [ { … } ] }
- Mock serverhttps://developer.servictoria.io/_mock/portal/rest/ddp-orders-api/openapi/orders/v1/{orderId}/item/{orderItemNumber}
- Production environmenthttps://api.servictoria.io/ddp/orders/v1/{orderId}/item/{orderItemNumber}
- Test environmenthttps://test.api.servictoria.io/ddp/orders/v1/{orderId}/item/{orderItemNumber}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.servictoria.io/_mock/portal/rest/ddp-orders-api/openapi/orders/v1/{orderId}/item/{orderItemNumber}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'customer-id: string' \
-H 'x-correlation-id: 824993ab-7366-4faa-963d-c456dec227a5'Successful Operation
Name of the product, suitable for display to customers.
Each product type offered has a unique productCode. The productCode together with productIds will uniquely specify a specific instance of a product that can be ordered.
Product processing status of the ordered product. The possible options are COMPLETE (successfully fulfilled), PROCESSING (Product is still being fulfilled), EXTERNAL_PROCESSING (certificate is with the external responsible authority), FAILED (there was an error causing fulfilment to not complete) or CANCELLED (product ordered was manually cancelled).
Any description customer entered during ordering process to identify a transaction.
Content of the ordered item in text format. Relevant for text based information products.
Content of the ordered item in json format. Relevant for JSON based information products
Date and time the item/product link expires.
{ "orderId": "10219435", "orderItemNumber": 1, "productName": "Register Search Statement (Copy of Title)", "productCode": "RegisterSearchStatement", "productStatus": "COMPLETE", "customerReference": "string", "resourceText": "string", "resourceJson": "string", "resourceLocation": "string", "resourceExpiry": "2024-11-07T04:43:46.564302+11:00", "resourceFileType": "string", "resourceFileSize": 1897 }
Optional description to identify a transaction, used for billing purposes. Note that we'll be providing a separate order ID once the order has been submitted.
Optional unique UUID which can assist with tracing / debugging requests.
Unique UUID used to prevent duplicate order submissions. This allows requests to be retried after a network failure without accidentally submitting two orders. If you receive a network error or timeout, you should resend the request with the same idempotency-key. If you resend a request with the same value for the idempotency-key, you will receive the original response. If the server is still processing the original POST, you will receive 429 Too Many Requests. Idempotency keys expire after 24 hours.
Object containing an array of encrypted titleIds
- Mock serverhttps://developer.servictoria.io/_mock/portal/rest/ddp-orders-api/openapi/orders/v1/titles/decrypt
- Production environmenthttps://api.servictoria.io/ddp/orders/v1/titles/decrypt
- Test environmenthttps://test.api.servictoria.io/ddp/orders/v1/titles/decrypt
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.servictoria.io/_mock/portal/rest/ddp-orders-api/openapi/orders/v1/titles/decrypt \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'customer-id: string' \
-H 'customer-reference: string' \
-H 'idempotency-key: cc4d91e3-17af-4d11-b333-eb449e62ff07' \
-H 'x-correlation-id: 824993ab-7366-4faa-963d-c456dec227a5' \
-d '{
"titleIds": [
"qp0gjuieZ5VzbNKtT/eZvqPryobRkEYxMA==",
"5JhN+47g1efe+q3uMjyaMiRQ6ySj0844Hg=="
]
}'{ "titleIds": { "qp0gjuieZ5VzbNKtT/eZvqPryobRkEYxMA==": "10940/843", "5JhN+47g1efe+q3uMjyaMiRQ6ySj0844Hg==": "11000/100" } }