GET api/ParameterMatch?orderId={orderId}&conditionReportId={conditionReportId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
orderId | string |
Required |
|
conditionReportId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ParameterMatchApiResponseName | Description | Type | Additional information |
---|---|---|---|
lines | Collection of SuggestedOrderLine |
None. |
|
orderId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "lines": [ { "id": "sample string 1", "name": "sample string 2", "description": "sample string 3", "productId": "sample string 4", "guid": "7e167fe2-02a8-4591-bf2a-f80dc3aaff52", "quantity": 6.0, "amount": 7.0, "unit": { "id": "e805a914-bc02-49ed-889b-df43193e27a5", "logicalName": "sample string 2" }, "task": { "createTask": true, "subject": "sample string 2", "description": "sample string 3" }, "isPreApproved": true, "refParameterId": "4235a8bb-2f7e-41f0-ac11-5e0bfacb150e", "isTaskOnly": true, "hasAmount": true }, { "id": "sample string 1", "name": "sample string 2", "description": "sample string 3", "productId": "sample string 4", "guid": "7e167fe2-02a8-4591-bf2a-f80dc3aaff52", "quantity": 6.0, "amount": 7.0, "unit": { "id": "e805a914-bc02-49ed-889b-df43193e27a5", "logicalName": "sample string 2" }, "task": { "createTask": true, "subject": "sample string 2", "description": "sample string 3" }, "isPreApproved": true, "refParameterId": "4235a8bb-2f7e-41f0-ac11-5e0bfacb150e", "isTaskOnly": true, "hasAmount": true } ], "orderId": "b02932a5-1047-45d9-92c9-5368be9eaa2d" }
application/xml, text/xml
Sample:
<ParameterMatchApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PARS.WebApi.Proxy.Models"> <Lines xmlns:d2p1="http://schemas.datacontract.org/2004/07/PARS.Web.Common.Model"> <d2p1:SuggestedOrderLine> <d2p1:Amount>7</d2p1:Amount> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:HasAmount>true</d2p1:HasAmount> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:IsPreApproved>true</d2p1:IsPreApproved> <d2p1:IsTaskOnly>true</d2p1:IsTaskOnly> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:ProductGuid>7e167fe2-02a8-4591-bf2a-f80dc3aaff52</d2p1:ProductGuid> <d2p1:ProductId>sample string 4</d2p1:ProductId> <d2p1:Quantity>6</d2p1:Quantity> <d2p1:ReferenceParameterId>4235a8bb-2f7e-41f0-ac11-5e0bfacb150e</d2p1:ReferenceParameterId> <d2p1:Task> <d2p1:CreateTask>true</d2p1:CreateTask> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:Subject>sample string 2</d2p1:Subject> </d2p1:Task> <d2p1:Unit> <Id>e805a914-bc02-49ed-889b-df43193e27a5</Id> <LogicalName>sample string 2</LogicalName> </d2p1:Unit> </d2p1:SuggestedOrderLine> <d2p1:SuggestedOrderLine> <d2p1:Amount>7</d2p1:Amount> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:HasAmount>true</d2p1:HasAmount> <d2p1:Id>sample string 1</d2p1:Id> <d2p1:IsPreApproved>true</d2p1:IsPreApproved> <d2p1:IsTaskOnly>true</d2p1:IsTaskOnly> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:ProductGuid>7e167fe2-02a8-4591-bf2a-f80dc3aaff52</d2p1:ProductGuid> <d2p1:ProductId>sample string 4</d2p1:ProductId> <d2p1:Quantity>6</d2p1:Quantity> <d2p1:ReferenceParameterId>4235a8bb-2f7e-41f0-ac11-5e0bfacb150e</d2p1:ReferenceParameterId> <d2p1:Task> <d2p1:CreateTask>true</d2p1:CreateTask> <d2p1:Description>sample string 3</d2p1:Description> <d2p1:Subject>sample string 2</d2p1:Subject> </d2p1:Task> <d2p1:Unit> <Id>e805a914-bc02-49ed-889b-df43193e27a5</Id> <LogicalName>sample string 2</LogicalName> </d2p1:Unit> </d2p1:SuggestedOrderLine> </Lines> <OrderId>b02932a5-1047-45d9-92c9-5368be9eaa2d</OrderId> </ParameterMatchApiResponse>