Measurements
Authorizations
Header parameters
api-versionstringOptional
younium-idempotency-keystringOptional
younium-idempotency-durationInHoursintegerOptional
Body
all ofOptional
Responses
201
Created
No content
400
Bad Request.
application/json
401
Unauthorized
403
Forbidden
post
/MeasurementsPOST /Measurements HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 169
{
"account": "A-000001",
"order": "O-000001",
"product": "OP-000001",
"charge": "OPC-000001",
"fromDate": "2025-10-28T23:27:19.148Z",
"quantity": 1,
"tag": "text",
"validateData": true
}No content
Authorizations
Query parameters
FilterstringOptionalExample:
Filter the results. See developer resources for more information
name eq 'Adam' and age gt 20OrderBystringOptionalExample:
Sorting the results. See developer resources for more information
accountNumber DescModifiedAfterstring · date-timeOptionalExample:
Apply a separate modified After filter. See 'ModifiedBefore' filter for further details.
2025-10-01ModifiedBeforestring · date-timeOptionalExample:
Apply a separate filter to only get records that has been modified Before the specified date time.
2025-10-01PageSizeinteger · int32OptionalExample:
Page Size
20PageNumberinteger · int32OptionalExample:
Page Number
1Header parameters
api-versionstringOptional
Responses
200
Success
application/json
400
Bad Request.
application/json
401
Unauthorized
403
Forbidden
get
/MeasurementsGET /Measurements HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageNumber": 1,
"pageSize": 1,
"totalPages": 1,
"totalCount": 1,
"nextPage": "https://example.com",
"previousPage": "https://example.com",
"firstPage": "https://example.com",
"lastPage": "https://example.com",
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"account": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"order": {
"orderNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"product": {
"description": "text",
"productNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"charge": {
"name": "text",
"chargeNumber": "OPC-000001",
"description": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"importDate": "2025-10-28T23:27:19.148Z",
"fromDate": "2025-10-28T23:27:19.148Z",
"quantity": 1,
"tag": "text",
"created": "2025-10-28T23:27:19.148Z",
"modified": "2025-10-28T23:27:19.148Z"
}
]
}Import measurement Data in csv or json format.
Authorizations
Header parameters
api-versionstringOptional
younium-idempotency-keystringOptional
younium-idempotency-durationInHoursintegerOptional
Body
all ofOptional
Responses
200
Success
application/json
400
Bad Request.
application/json
401
Unauthorized
403
Forbidden
post
/Measurements/importPOST /Measurements/import HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 215
{
"mappingTemplateName": "text",
"dateFormat": "text",
"decimalSeparator": "text",
"dataFormat": "text",
"batchName": "text",
"data": null,
"usePreprocessingRules": true,
"allowDuplicateEntries": true,
"breakOnValidationError": true
}{
"importDataType": "text",
"batchId": "123e4567-e89b-12d3-a456-426614174000",
"hasErrors": true,
"errors": []
}Authorizations
Path parameters
idstring · uuidRequired
Header parameters
api-versionstringOptional
Responses
200
Success
application/json
400
Bad Request.
application/json
401
Unauthorized
403
Forbidden
404
Not Found
application/json
get
/Measurements/{id}GET /Measurements/{id} HTTP/1.1
Host: api.sandbox.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"account": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"order": {
"orderNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"product": {
"description": "text",
"productNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"charge": {
"name": "text",
"chargeNumber": "OPC-000001",
"description": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"importDate": "2025-10-28T23:27:19.148Z",
"fromDate": "2025-10-28T23:27:19.148Z",
"quantity": 1,
"tag": "text",
"created": "2025-10-28T23:27:19.148Z",
"modified": "2025-10-28T23:27:19.148Z"
}Last updated