POST api/Parts/GetHardwareDetails

Request Information

URI Parameters

None.

Body Parameters

NagsHardwarePartDetailsPostModel
NameDescriptionTypeAdditional information
hardwarePartIds

Collection of string

None.

vehicleId

integer

None.

nagsGlassId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "hardwarePartIds": [
    "sample string 1",
    "sample string 2"
  ],
  "vehicleId": 1,
  "nagsGlassId": "sample string 2"
}

application/xml, text/xml

Sample:
<NagsHardwarePartDetailsPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ibs.Nags.Web.Areas.NagsSearch.Models">
  <hardwarePartIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </hardwarePartIds>
  <nagsGlassId>sample string 2</nagsGlassId>
  <vehicleId>1</vehicleId>
</NagsHardwarePartDetailsPostModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of HardwarePartDetailModel
NameDescriptionTypeAdditional information
NagsHardwareId

string

None.

NagsGlassId

string

None.

MfrId

string

None.

MfrPartId

string

None.

Description

string

None.

Price1

decimal number

None.

Price1EffDate

date

None.

Price2

decimal number

None.

Price2EffDate

date

None.

PriceStatus

string

None.

ManufacturerName

string

None.

PartType

string

None.

IsNeedPart

boolean

None.

Quantity

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "NagsHardwareId": "sample string 1",
    "NagsGlassId": "sample string 2",
    "MfrId": "sample string 3",
    "MfrPartId": "sample string 4",
    "Description": "sample string 5",
    "Price1": 1.0,
    "Price1EffDate": "2024-07-20T11:58:12.3867015+00:00",
    "Price2": 1.0,
    "Price2EffDate": "2024-07-20T11:58:12.3867015+00:00",
    "PriceStatus": "sample string 6",
    "ManufacturerName": "sample string 7",
    "PartType": "sample string 8",
    "IsNeedPart": true,
    "Quantity": 1.0
  },
  {
    "NagsHardwareId": "sample string 1",
    "NagsGlassId": "sample string 2",
    "MfrId": "sample string 3",
    "MfrPartId": "sample string 4",
    "Description": "sample string 5",
    "Price1": 1.0,
    "Price1EffDate": "2024-07-20T11:58:12.3867015+00:00",
    "Price2": 1.0,
    "Price2EffDate": "2024-07-20T11:58:12.3867015+00:00",
    "PriceStatus": "sample string 6",
    "ManufacturerName": "sample string 7",
    "PartType": "sample string 8",
    "IsNeedPart": true,
    "Quantity": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfHardwarePartDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ibs.Nags.Domain.Models">
  <HardwarePartDetailModel>
    <Description>sample string 5</Description>
    <IsNeedPart>true</IsNeedPart>
    <ManufacturerName>sample string 7</ManufacturerName>
    <MfrId>sample string 3</MfrId>
    <MfrPartId>sample string 4</MfrPartId>
    <NagsGlassId>sample string 2</NagsGlassId>
    <NagsHardwareId>sample string 1</NagsHardwareId>
    <PartType>sample string 8</PartType>
    <Price1>1</Price1>
    <Price1EffDate>2024-07-20T11:58:12.3867015+00:00</Price1EffDate>
    <Price2>1</Price2>
    <Price2EffDate>2024-07-20T11:58:12.3867015+00:00</Price2EffDate>
    <PriceStatus>sample string 6</PriceStatus>
    <Quantity>1</Quantity>
  </HardwarePartDetailModel>
  <HardwarePartDetailModel>
    <Description>sample string 5</Description>
    <IsNeedPart>true</IsNeedPart>
    <ManufacturerName>sample string 7</ManufacturerName>
    <MfrId>sample string 3</MfrId>
    <MfrPartId>sample string 4</MfrPartId>
    <NagsGlassId>sample string 2</NagsGlassId>
    <NagsHardwareId>sample string 1</NagsHardwareId>
    <PartType>sample string 8</PartType>
    <Price1>1</Price1>
    <Price1EffDate>2024-07-20T11:58:12.3867015+00:00</Price1EffDate>
    <Price2>1</Price2>
    <Price2EffDate>2024-07-20T11:58:12.3867015+00:00</Price2EffDate>
    <PriceStatus>sample string 6</PriceStatus>
    <Quantity>1</Quantity>
  </HardwarePartDetailModel>
</ArrayOfHardwarePartDetailModel>