{
	"info": {
		"_postman_id": "b1036115-a3f5-451b-8935-dfa982cf8986",
		"name": "MLA API Collection",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "8601524"
	},
	"item": [
		{
			"name": "Samples",
			"item": [
				{
					"name": "Get Existing Registration",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{token}}",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text",
								"disabled": true
							}
						],
						"url": {
							"raw": "https://api.ucld.us/env/{{environment}}/workflowreport/:workflowreportId",
							"protocol": "https",
							"host": [
								"api",
								"ucld",
								"us"
							],
							"path": [
								"env",
								"{{environment}}",
								"workflowreport",
								":workflowreportId"
							],
							"variable": [
								{
									"key": "workflowreportId",
									"value": null
								}
							]
						},
						"description": "This endpoint is used to get an existing registration. Useful for making any necessary edits.\r\n\r\n## Request query arguments\r\n| Request query argument | Details |\r\n| --------- | ----- |\r\n| workflowreportId  | Required. The system key of the registration report to get |\r\n\r\n## Response status codes\r\n<table>\r\n\t<th>Status code</th><th>Details</th>\r\n\t<tr><td  valign=\"top\">200</td><td>If report exists and user has access to it, response will contain the report object\r\n{\r\n    \"ReportId\": 867045031,\r\n    \"ReportDate\": \"2020-09-22T00:00:00.000Z\",\r\n    \"ReportAuthorId\": \"51b4ce11-28f2-4559-bc30-050377309082\",\r\n    \"ReportAuthorUsername\": \"MobilServ@utilitycloud.us\",\r\n    \"ReportAuthorFullname\": \"AESC Admin 1 For ExxonMobil\",\r\n    \"ReportSignature\": null,\r\n    \"ReportParentId\": null,\r\n    \"AssetId\": 650567503,\r\n    \"WorkflowId\": 5030,\r\n    \"WorkOrderId\": null,\r\n    \"ReportData\": [\r\n        {\r\n            \"WorkflowDataId\": 2936998968,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25231,\r\n            \"FieldType\": 8,\r\n            \"Value\": \"2020-09-22\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998970,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25232,\r\n            \"FieldType\": 2,\r\n            \"Value\": \"5\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998972,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25233,\r\n            \"FieldType\": 2,\r\n            \"Value\": \"3\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998974,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25234,\r\n            \"FieldType\": 2,\r\n            \"Value\": \"250\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998976,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25235,\r\n            \"FieldType\": 3,\r\n            \"Value\": \"Yes\",\r\n            \"Key\": null,\r\n            \"ListItemId\": 16489,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998977,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25236,\r\n            \"FieldType\": 3,\r\n            \"Value\": \"Yes\",\r\n            \"Key\": null,\r\n            \"ListItemId\": 16489,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998969,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25237,\r\n            \"FieldType\": 13,\r\n            \"Value\": \"b035280773\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998971,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25468,\r\n            \"FieldType\": 3,\r\n            \"Value\": \"Years\",\r\n            \"Key\": null,\r\n            \"ListItemId\": 14700,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998973,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25469,\r\n            \"FieldType\": 3,\r\n            \"Value\": \"Months\",\r\n            \"Key\": null,\r\n            \"ListItemId\": 14701,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998975,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25470,\r\n            \"FieldType\": 3,\r\n            \"Value\": \"Quarts\",\r\n            \"Key\": null,\r\n            \"ListItemId\": 14706,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998983,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25472,\r\n            \"FieldType\": 1,\r\n            \"Value\": \"\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998984,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25473,\r\n            \"FieldType\": 1,\r\n            \"Value\": \"\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998985,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25474,\r\n            \"FieldType\": 1,\r\n            \"Value\": \"\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998986,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25475,\r\n            \"FieldType\": 1,\r\n            \"Value\": \"Monica Oil 3\",\r\n            \"Key\": \"94132\",\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998987,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25477,\r\n            \"FieldType\": 1,\r\n            \"Value\": \"ENG\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998988,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 25478,\r\n            \"FieldType\": 1,\r\n            \"Value\": \"NME1_S\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998978,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 440082,\r\n            \"FieldType\": 2,\r\n            \"Value\": \"200\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998979,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 440083,\r\n            \"FieldType\": 3,\r\n            \"Value\": \"F\",\r\n            \"Key\": null,\r\n            \"ListItemId\": 16572,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998981,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 50855268,\r\n            \"FieldType\": 5,\r\n            \"Value\": \"This is a test\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998982,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 50855269,\r\n            \"FieldType\": 11,\r\n            \"Value\": null,\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        },\r\n        {\r\n            \"WorkflowDataId\": 2936998980,\r\n            \"WorkflowReportId\": 867045031,\r\n            \"WorkflowFieldId\": 50856063,\r\n            \"FieldType\": 1,\r\n            \"Value\": \"Test - AESC\",\r\n            \"Key\": null,\r\n            \"ListItemId\": null,\r\n            \"IsVisible\": true,\r\n            \"ListItemIdMulti\": null\r\n        }\r\n    ],\r\n    \"FiledInSequence\": false,\r\n    \"SequenceAssetAssetId\": 0,\r\n    \"WorkflowReportKey\": null,\r\n    \"BatchId\": null,\r\n    \"WorkQueueListId\": null,\r\n    \"LifeCycleStage\": 4,\r\n    \"SampleStatus\": null,\r\n    \"UserLatitude\": null,\r\n    \"UserLongitude\": null\r\n}\r\n</td></tr>\r\n<tr >\r\n\t<td valign=\"top\">200 with null body</td>\r\n\t<td >The report does not exist</td></tr>\r\n<tr><td  valign=\"top\">400</td><td>User does not have access to the report</td></tr></table>"
					},
					"response": []
				},
				{
					"name": "Get completed samples - by workflowreportid",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "https://api.ucld.us/env/{{environment}}/sample/workflowreportid/:sampleworkflowreportid",
							"protocol": "https",
							"host": [
								"api",
								"ucld",
								"us"
							],
							"path": [
								"env",
								"{{environment}}",
								"sample",
								"workflowreportid",
								":sampleworkflowreportid"
							],
							"variable": [
								{
									"key": "sampleworkflowreportid",
									"value": ""
								}
							]
						},
						"description": "This endpoint is used to get completed samples by supplying a workflow report id (of either the registration or result workflow report id).\r\n\r\n## Request argument parameters ## \r\n| Request argument parameter | Details |\r\n| --------- | ----- |\r\n| sampleworkflowreportid  |  Required. System key of the workflow report (of either the registration or result workflow report id) |\r\n\r\n## Response status codes ## \r\n<table>\r\n\t<th>Status code</th><th>Details</th>\r\n\t<tr><td  valign=\"top\">200</td><td>The sample exists and the user has access to it. The response will contain a Sample object</td></tr>\r\n    <tr><td  valign=\"top\">400</td><td>The sample does not exist, or the supplied report id is invalid</td></tr>\r\n<tr><td  valign=\"top\">403</td><td>The user does not have access to the specified sample</td></tr></table>"
					},
					"response": []
				},
				{
					"name": "Get completed samples - by bottle id",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "https://api.ucld.us/env/{{environment}}/sample/bottleid/:bottleid",
							"protocol": "https",
							"host": [
								"api",
								"ucld",
								"us"
							],
							"path": [
								"env",
								"{{environment}}",
								"sample",
								"bottleid",
								":bottleid"
							],
							"variable": [
								{
									"key": "bottleid",
									"value": ""
								}
							]
						},
						"description": "This endpoint is used to get completed samples by supplying a bottle id.\r\n\r\n## Request argument parameters ## \r\n| Request argument parameter | Details |\r\n| --------- | ----- |\r\n| bottleid  |  Required. The bottle id from the sample |\r\n\r\n## Response status codes ## \r\n<table>\r\n\t<th>Status code</th><th>Details</th>\r\n\t<tr><td  valign=\"top\">200</td><td>The sample exists and the user has access to it. The response will contain a Sample object</td></tr>\r\n    <tr><td  valign=\"top\">400</td><td>The bottle is not associated with a workflow report, or the bottle id is invalid</td></tr>\r\n<tr><td  valign=\"top\">403</td><td>The user does not have access to the specified sample</td></tr></table>"
					},
					"response": []
				},
				{
					"name": "Get Sample Activity - by Account",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"url": {
							"raw": "https://api.ucld.us/env/{{environment}}/sampleactivity/filter/accountid/:clientId",
							"protocol": "https",
							"host": [
								"api",
								"ucld",
								"us"
							],
							"path": [
								"env",
								"{{environment}}",
								"sampleactivity",
								"filter",
								"accountid",
								":clientId"
							],
							"variable": [
								{
									"key": "clientId",
									"value": null
								}
							]
						},
						"description": "This endpoint is used to get a list of samples for a given account.\r\n\r\n## Request argument parameters ## \r\n| Request argument parameter | Details |\r\n| --------- | ----- |\r\n| accountid  |  Required. The account id to get the list of samples for |\r\n\r\n## Response status codes ## \r\n<table>\r\n\t<th>Status code</th><th>Details</th>\r\n\t<tr><td  valign=\"top\">200</td><td>The response will contain a list of samples for the account</td></tr>\r\n    <tr><td  valign=\"top\">400</td><td>The supplied account id is invalid</td></tr>\r\n<tr><td  valign=\"top\">403</td><td>The user does not have access to the specified account</td></tr></table>"
					},
					"response": []
				},
				{
					"name": "Get Sample Activity - by Asset",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"type": "text",
								"value": "{{token}}"
							}
						],
						"url": {
							"raw": "https://api.ucld.us/env/{{environment}}/sampleactivity/filter/assetid/:assetid",
							"protocol": "https",
							"host": [
								"api",
								"ucld",
								"us"
							],
							"path": [
								"env",
								"{{environment}}",
								"sampleactivity",
								"filter",
								"assetid",
								":assetid"
							],
							"variable": [
								{
									"key": "assetid",
									"value": ""
								}
							]
						},
						"description": "This endpoint is used to get a list of samples for a given asset.\r\n\r\n## Request argument parameters ## \r\n| Request argument parameter | Details |\r\n| --------- | ----- |\r\n| assetid  |  Required. The asset id to get the list of samples for |\r\n\r\n## Response status codes ## \r\n<table>\r\n\t<th>Status code</th><th>Details</th>\r\n\t<tr><td  valign=\"top\">200</td><td>The response will contain a list of samples for the asset</td></tr>\r\n    <tr><td  valign=\"top\">400</td><td>The supplied asset id is invalid</td></tr>\r\n<tr><td  valign=\"top\">403</td><td>The user does not have access to the specified asset</td></tr></table>"
					},
					"response": []
				},
				{
					"name": "Get Sample Activity - by Bottle",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"type": "text",
								"value": "{{token}}"
							}
						],
						"url": {
							"raw": "https://api.ucld.us/env/{{environment}}/sampleactivity/filter/bottleid/:bottleid",
							"protocol": "https",
							"host": [
								"api",
								"ucld",
								"us"
							],
							"path": [
								"env",
								"{{environment}}",
								"sampleactivity",
								"filter",
								"bottleid",
								":bottleid"
							],
							"variable": [
								{
									"key": "bottleid",
									"value": ""
								}
							]
						},
						"description": "This endpoint is used to get the sample for a given bottle id.\r\n\r\n## Request argument parameters ## \r\n| Request argument parameter | Details |\r\n| --------- | ----- |\r\n| bottleid  |  Required. The bottle id to get the sample for |\r\n\r\n## Response status codes ## \r\n<table>\r\n\t<th>Status code</th><th>Details</th>\r\n\t<tr><td  valign=\"top\">200</td><td>The response will contain the sample for the bottle</td></tr>\r\n    <tr><td  valign=\"top\">400</td><td>The supplied bottle id is invalid</td></tr>\r\n<tr><td  valign=\"top\">403</td><td>The user does not have access to the specified sample</td></tr></table>"
					},
					"response": []
				},
				{
					"name": "Get Sample Data",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "{{token}}"
							},
							{
								"key": "Content-Type",
								"value": "application/json"
							},
							{
								"key": "Accept",
								"value": "*/*"
							},
							{
								"key": "Accept-Language",
								"value": "en-US,en;q=0.8"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n  \"StartUtcDateReported\": \"2022-12-01\",\r\n  \"EndUtcDateReported\": \"2023-01-31\",\r\n  \"SampleStatus\": [\r\n      {{Sample status}}\r\n  ],\r\n  \"AssetClasses\": [\r\n      {{Asset class name}}\r\n  ],\r\n  \"Accounts\": [\r\n      \"{{Account name}}\"\r\n  ],\r\n  \"Assets\": [\r\n      {{Asset ID}}\r\n\r\n  ],\r\n  \"IncludeWorkFlowData\": true,\r\n  \"IncludeComments\": true,\r\n  \"IncludeChildren\": false,\r\n  \"Lubricant\": \"{{Lubricant name}}\"\r\n}"
						},
						"url": {
							"raw": "https://api.ucld.us/env/{{environment}}/samplereport/getsampledata",
							"protocol": "https",
							"host": [
								"api",
								"ucld",
								"us"
							],
							"path": [
								"env",
								"{{environment}}",
								"samplereport",
								"getsampledata"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Sample Activity - all results",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "{{token}}",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"Page\": 1,\r\n    \"PageSize\": 25,\r\n    \"ClientIds\": [\"96ffd743-d57a-4200-88c8-ba5e40a27123\"], // [\"96ffd743-d57a-4200-88c8-ba5e40a27123\"]\r\n    \"SampleStatuses\": [\"alert\"], // [\"normal\", \"caution\", \"alert\"]\r\n    \"LifeCycleStages\": [], // [\"in-testing\",\"registered\",\"completed\"]\r\n    \"ServiceLevels\": [], // [\"signum\",\"varnish\",\"elite\",\"essential\",\"essentialt\",\"suitability\",\"enhanced\",\"enhanceds\",\"maxservice\",\"heattransfer\"]\r\n    \"AssetClassId\": \"\",\r\n    \"AssetTag\": \"\",\r\n    \"AssetDescription\": \"\",\r\n    \"Manufacturer\": \"\",\r\n    \"Model\": \"\",\r\n    \"ModelYear\": \"\",\r\n    \"UnitID\": \"\",\r\n    \"SerialNumber\": \"\",\r\n    \"SampleBottleID\": \"\", //\"b074733558\"\r\n    \"TestedLubricant\": \"\",\r\n    \"LIMSSampleID\": \"\",\r\n    \"Schedule\": \"\",\r\n    \"DateReportedFrom\": \"\",\r\n    \"DateReportedThru\": \"\",\r\n    \"IncludeAllAccounts\": true,\r\n    \"IncludeAllAssignedAccounts\": false\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://api.ucld.us/env/{{environment}}/sampleactivity/filter",
							"protocol": "https",
							"host": [
								"api",
								"ucld",
								"us"
							],
							"path": [
								"env",
								"{{environment}}",
								"sampleactivity",
								"filter"
							]
						},
						"description": "Sample Activity Filter\n## Request Body Arguments\n| Request query argument | Details |\n| --------- | ----- |\n| Page | Page of records returned |\n| PageSize| Number of records per page |\n| ClientIds | An array of clients\n| SampleStatuses | An array of statuses - [\"normal\", \"caution\", \"alert\"] |\n| LifeCycleStages| An array of stages - [\"in-testing\",\"registered\",\"completed\"] |\n| ServiceLevels | An array of levels - [\"signum\",\"varnish\",\"elite\",\"essential\",\"essentialt\",\"suitability\",\"enhanced\",\"enhanceds\",\"maxservice\",\"heattransfer\"] |\n| AssetClassId |  |\n| AssetTag | |\n| AssetDescription | |\n| Manufacturer | |\n| Model | |\n| ModelYear | |\n| UnitID | |\n| SerialNumber | |\n| SampleBottleID | |\n| TestedLubricant | |\n| LIMSSampleID | |\n| Schedule | |\n| DateReportedFrom | From date |\n| DateReportedThru | To date |\n| IncludeAllAccounts | If the user has the security right, \"Billing Account Admin\", will contain results in all accounts from the billing account. Other wise, it will function as IncludeAllAssignedAccounts. If you pass in ClientIds array, you will only receive results from those accounts. |\n| IncludeAllAssignedAccounts | Will return results in the accounts assigned to the user. If you pass in ClientIds array, you will only receive results from those accounts. |"
					},
					"response": []
				}
			]
		},
		{
			"name": "Authentication",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.collectionVariables.set(\"token\", responseBody);"
						],
						"type": "text/javascript",
						"packages": {}
					}
				}
			],
			"request": {
				"auth": {
					"type": "noauth"
				},
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"UserName\" : \"MLAloginemail\",\r\n    \"Password\" : \"Password\"\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://api.ucld.us/env/acc/authentication",
					"protocol": "https",
					"host": [
						"api",
						"ucld",
						"us"
					],
					"path": [
						"env",
						"acc",
						"authentication"
					]
				},
				"description": "This endpoint is used to obtain an authentication token to be used with subsequent requests. There are two different sets of parameters that can be used to obtain the token.\n\n## Request body parameters - UserName and Password (preferred)\n\n| Request body parameter | Details |\n| --- | --- |\n| UserName | Required. The username of the user to be authenticated as |\n| Password | Required. The password for the user |\n\n## Request body parameters - Apikey and email or userid\n\n| Request body parameter | Details |\n| --- | --- |\n| apikey | Required. A trusted key issued to specific users, granting permission to log in as other users |\n| email | Required if userid is not supplied. The email of the user to log in as |\n| userid | Required if email is not supplied. The system key of the user to log in as |\n\n## Response status codes\n\n<table><tbody><tr><th>Status code</th><th>Details</th></tr><tr><td><div>201</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>If all good you will receive token like<br>3F0A986F2774128DD98BB690D8E5E857C4F72545EEFDCCF1393ECACCA07D378CE57F505456BD6BD976013B203A0F96243E53422DCB658E803C53CD71055E04420EACC3A689FC0029F6483A5C644936649DF8D283301B1815A5A667A72B9F702BE01F3B3F0ABFBF65E7AAA7C9A41BE383629E2081<br></div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>400</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Request cannot be authenticated<br></div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>403</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>UserName or password is incorrect<br></div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>"
			},
			"response": []
		},
		{
			"name": "Get Accounts",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Authorization",
						"value": "{{token}}",
						"type": "text"
					}
				],
				"url": {
					"raw": "https://api.ucld.us/env/{{environment}}/account/getaccounts/?searchterm=",
					"protocol": "https",
					"host": [
						"api",
						"ucld",
						"us"
					],
					"path": [
						"env",
						"{{environment}}",
						"account",
						"getaccounts",
						""
					],
					"query": [
						{
							"key": "searchterm",
							"value": ""
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get My Accounts",
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Accept",
						"value": "application/json"
					},
					{
						"key": "Accept",
						"value": "*/*"
					},
					{
						"key": "ContentType",
						"value": "application/json"
					},
					{
						"key": "Accept-Language",
						"value": "en-US,en;q=0.8"
					},
					{
						"key": "Authorization",
						"value": "{{token}}"
					}
				],
				"body": {
					"mode": "formdata",
					"formdata": []
				},
				"url": {
					"raw": "https://api.ucld.us/env/{{environment}}/account/getaccounts",
					"protocol": "https",
					"host": [
						"api",
						"ucld",
						"us"
					],
					"path": [
						"env",
						"{{environment}}",
						"account",
						"getaccounts"
					]
				},
				"description": "This operation is used to get all accounts assigned to this authenticated user."
			},
			"response": []
		},
		{
			"name": "Get Assets",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Accept",
						"value": "*/*"
					},
					{
						"key": "Accept-Language",
						"value": "en-US,en;q=0.8"
					},
					{
						"key": "Authorization",
						"value": "{{token}}"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n  \"Page\": 1,\r\n  \"ItemCount\": 20,\r\n  \"clientID\": \"MY_CLIENTS\",\r\n  \"IsActive\": true,\r\n  \"SearchFacets\": \"\"\r\n}"
				},
				"url": {
					"raw": "https://api.ucld.us/env/{{environment}}/asset/getassets",
					"protocol": "https",
					"host": [
						"api",
						"ucld",
						"us"
					],
					"path": [
						"env",
						"{{environment}}",
						"asset",
						"getassets"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Basic Search Facets",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "{{token}}"
					},
					{
						"key": "Content-Type",
						"value": "application/json"
					}
				],
				"url": {
					"raw": "https://api.ucld.us/env/{{environment}}/asset/basicfilters",
					"protocol": "https",
					"host": [
						"api",
						"ucld",
						"us"
					],
					"path": [
						"env",
						"{{environment}}",
						"asset",
						"basicfilters"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Workflow Reports",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Authorization",
						"value": "{{token}}"
					},
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Accept",
						"value": "*/*"
					},
					{
						"key": "Accept-Language",
						"value": "en-US,en;q=0.8"
					}
				],
				"url": {
					"raw": "http://{{environment}}.ucld.us/getwfreports.ashx?sr=0&k=&c=&ac=&wf=5031&a=&wfr=&s=&e=",
					"protocol": "http",
					"host": [
						"{{environment}}",
						"ucld",
						"us"
					],
					"path": [
						"getwfreports.ashx"
					],
					"query": [
						{
							"key": "sr",
							"value": "0",
							"description": "sort"
						},
						{
							"key": "k",
							"value": "",
							"description": "User's API key (not necessary if authenticating through auth API)"
						},
						{
							"key": "c",
							"value": "",
							"description": "Client ID"
						},
						{
							"key": "ac",
							"value": "",
							"description": "Asset class ID"
						},
						{
							"key": "wf",
							"value": "5031",
							"description": "workflow ID"
						},
						{
							"key": "a",
							"value": "",
							"description": "Asset key"
						},
						{
							"key": "wfr",
							"value": "",
							"description": "Workflow report ID"
						},
						{
							"key": "s",
							"value": "",
							"description": "start date"
						},
						{
							"key": "e",
							"value": "",
							"description": "end date"
						}
					]
				}
			},
			"response": []
		}
	],
	"variable": [
		{
			"key": "token",
			"value": ""
		}
	]
}