POST api/MatchingParts
Request Information
URI Parameters
None.
Body Parameters
MatchingPartsRequestDTOName | Description | Type | Additional information |
---|---|---|---|
MFCode | string |
None. |
|
PartNumber | string |
None. |
|
Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MFCode": "sample string 1", "PartNumber": "sample string 2", "Description": "sample string 3" }
text/html, multipart/form-data, application/zip
Sample:
{"MFCode":"sample string 1","PartNumber":"sample string 2","Description":"sample string 3"}
application/xml, text/xml
Sample:
<MatchingPartsRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO"> <Description>sample string 3</Description> <MFCode>sample string 1</MFCode> <PartNumber>sample string 2</PartNumber> </MatchingPartsRequestDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of MatchingPartsDTOName | Description | Type | Additional information |
---|---|---|---|
PartId | integer |
None. |
|
MFCode | string |
None. |
|
PartNumber | string |
None. |
|
Description | string |
None. |
|
RetailPrice | decimal number |
None. |
|
DealerCost | decimal number |
None. |
|
CustomerPrice | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PartId": 1, "MFCode": "sample string 2", "PartNumber": "sample string 3", "Description": "sample string 4", "RetailPrice": 1.0, "DealerCost": 1.0, "CustomerPrice": 1.0 }, { "PartId": 1, "MFCode": "sample string 2", "PartNumber": "sample string 3", "Description": "sample string 4", "RetailPrice": 1.0, "DealerCost": 1.0, "CustomerPrice": 1.0 } ]
text/html, multipart/form-data, application/zip
Sample:
[{"PartId":1,"MFCode":"sample string 2","PartNumber":"sample string 3","Description":"sample string 4","RetailPrice":1.0,"DealerCost":1.0,"CustomerPrice":1.0},{"PartId":1,"MFCode":"sample string 2","PartNumber":"sample string 3","Description":"sample string 4","RetailPrice":1.0,"DealerCost":1.0,"CustomerPrice":1.0}]
application/xml, text/xml
Sample:
<ArrayOfMatchingPartsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO"> <MatchingPartsDTO> <CustomerPrice>1</CustomerPrice> <DealerCost>1</DealerCost> <Description>sample string 4</Description> <MFCode>sample string 2</MFCode> <PartId>1</PartId> <PartNumber>sample string 3</PartNumber> <RetailPrice>1</RetailPrice> </MatchingPartsDTO> <MatchingPartsDTO> <CustomerPrice>1</CustomerPrice> <DealerCost>1</DealerCost> <Description>sample string 4</Description> <MFCode>sample string 2</MFCode> <PartId>1</PartId> <PartNumber>sample string 3</PartNumber> <RetailPrice>1</RetailPrice> </MatchingPartsDTO> </ArrayOfMatchingPartsDTO>