Detailed Measurement Book
Last updated
Was this helpful?
Last updated
Was this helpful?
Search values in a measurement book
POST /measurement/v1/_search HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 313
{
"requestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
},
"criteria": {
"referenceId": [
"text"
],
"measurementNumber": "text",
"ids": [
"text"
]
},
"pagination": {
"limit": 1,
"offSet": 1,
"sortBy": "text",
"order": {
"0": "a",
"1": "s",
"2": "c"
}
}
}
{
"responseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"measurements": [
{
"id": "251c51eb-e970-4e01-a99a-70136c47a934",
"tenantId": "pb.jalandhar,dwss",
"measurementNumber": "text",
"physicalRefNumber": "text",
"referenceId": "Contract number",
"entryDate": 1,
"measures": [
{
"id": "251c51eb-e970-4e01-a99a-70136c47a934",
"referenceId": "measurementId",
"targetId": "contractlineitemid",
"length": 200,
"breadth": 200,
"height": 200,
"numItems": 1,
"currentValue": 1,
"cumulativeValue": 1,
"isActive": true,
"comments": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
],
"isActive": true,
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
]
}
Search values in a measurement book
POST /measurementservice/v1/_search HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 313
{
"requestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
},
"criteria": {
"referenceId": [
"text"
],
"measurementNumber": "text",
"ids": [
"text"
]
},
"pagination": {
"limit": 1,
"offSet": 1,
"sortBy": "text",
"order": {
"0": "a",
"1": "s",
"2": "c"
}
}
}
{
"responseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"measurements": [
{
"id": "251c51eb-e970-4e01-a99a-70136c47a934",
"tenantId": "pb.jalandhar,dwss",
"measurementNumber": "text",
"physicalRefNumber": "text",
"referenceId": "Contract number",
"entryDate": 1,
"measures": [
{
"id": "251c51eb-e970-4e01-a99a-70136c47a934",
"referenceId": "measurementId",
"targetId": "contractlineitemid",
"length": 200,
"breadth": 200,
"height": 200,
"numItems": 1,
"currentValue": 1,
"cumulativeValue": 1,
"isActive": true,
"comments": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
],
"isActive": true,
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
]
}
Create one or more measurement entries
Encapsulates a measurement entry request
POST /measurement/v1/_create HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 587
{
"requestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
},
"measurements": [
{
"physicalRefNumber": "text",
"referenceId": "Contract number",
"entryDate": 1,
"measures": [
{
"targetId": "contractlineitemid",
"length": 200,
"breadth": 200,
"height": 200,
"numItems": 1,
"currentValue": 1,
"cumulativeValue": 1,
"isActive": true,
"comments": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"additionalDetails": {}
}
],
"isActive": true,
"additionalDetails": {}
}
]
}
{
"responseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"measurements": [
{
"id": "251c51eb-e970-4e01-a99a-70136c47a934",
"measurementNumber": "text",
"physicalRefNumber": "text",
"referenceId": "Contract number",
"entryDate": 1,
"measures": [
{
"targetId": "contractlineitemid",
"length": 200,
"breadth": 200,
"height": 200,
"numItems": 1,
"currentValue": 1,
"cumulativeValue": 1,
"isActive": true,
"comments": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
],
"isActive": true,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
]
}
Update one or more measurement entries
Encapsulates a measurement entry request
POST /measurement/v1/_update HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 587
{
"requestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
},
"measurements": [
{
"physicalRefNumber": "text",
"referenceId": "Contract number",
"entryDate": 1,
"measures": [
{
"targetId": "contractlineitemid",
"length": 200,
"breadth": 200,
"height": 200,
"numItems": 1,
"currentValue": 1,
"cumulativeValue": 1,
"isActive": true,
"comments": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"additionalDetails": {}
}
],
"isActive": true,
"additionalDetails": {}
}
]
}
{
"responseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"measurements": [
{
"id": "251c51eb-e970-4e01-a99a-70136c47a934",
"measurementNumber": "text",
"physicalRefNumber": "text",
"referenceId": "Contract number",
"entryDate": 1,
"measures": [
{
"targetId": "contractlineitemid",
"length": 200,
"breadth": 200,
"height": 200,
"numItems": 1,
"currentValue": 1,
"cumulativeValue": 1,
"isActive": true,
"comments": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
],
"isActive": true,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
]
}
Creates a measurement entry along with workflow details.
Encapsulates a measurement book service request. Takes a singleton along with workflow.
POST /measurementservice/v1/_create HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 664
{
"requestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
},
"measurements": [
{
"allOf": {
"physicalRefNumber": "text",
"referenceId": "Contract number",
"entryDate": 1,
"measures": [
{
"targetId": "contractlineitemid",
"length": 200,
"breadth": 200,
"height": 200,
"numItems": 1,
"currentValue": 1,
"cumulativeValue": 1,
"isActive": true,
"comments": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"additionalDetails": {}
}
],
"isActive": true,
"additionalDetails": {}
},
"workflow": {
"action": "text",
"comment": "text",
"assignees": [
"text"
]
}
}
]
}
{
"responseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"measurements": [
{
"allOf": {
"id": "251c51eb-e970-4e01-a99a-70136c47a934",
"measurementNumber": "text",
"physicalRefNumber": "text",
"referenceId": "Contract number",
"entryDate": 1,
"measures": [
{
"targetId": "contractlineitemid",
"length": 200,
"breadth": 200,
"height": 200,
"numItems": 1,
"currentValue": 1,
"cumulativeValue": 1,
"isActive": true,
"comments": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
],
"isActive": true,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"workflow": {
"action": "text",
"comment": "text",
"assignees": [
"text"
]
}
}
]
}
Update values in a measurement book
Encapsulates a measurement book service request. Takes a singleton along with workflow.
POST /measurementservice/v1/_update HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 664
{
"requestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
},
"measurements": [
{
"allOf": {
"physicalRefNumber": "text",
"referenceId": "Contract number",
"entryDate": 1,
"measures": [
{
"targetId": "contractlineitemid",
"length": 200,
"breadth": 200,
"height": 200,
"numItems": 1,
"currentValue": 1,
"cumulativeValue": 1,
"isActive": true,
"comments": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"additionalDetails": {}
}
],
"isActive": true,
"additionalDetails": {}
},
"workflow": {
"action": "text",
"comment": "text",
"assignees": [
"text"
]
}
}
]
}
{
"responseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
},
"measurements": [
{
"allOf": {
"id": "251c51eb-e970-4e01-a99a-70136c47a934",
"measurementNumber": "text",
"physicalRefNumber": "text",
"referenceId": "Contract number",
"entryDate": 1,
"measures": [
{
"targetId": "contractlineitemid",
"length": 200,
"breadth": 200,
"height": 200,
"numItems": 1,
"currentValue": 1,
"cumulativeValue": 1,
"isActive": true,
"comments": "text",
"documents": [
{
"id": "text",
"documentType": "text",
"fileStore": "text",
"documentUid": "text",
"additionalDetails": {}
}
],
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
}
],
"isActive": true,
"auditDetails": {
"createdBy": "text",
"lastModifiedBy": "text",
"createdTime": 1,
"lastModifiedTime": 1
},
"additionalDetails": {}
},
"workflow": {
"action": "text",
"comment": "text",
"assignees": [
"text"
]
}
}
]
}