Get part specs for a part id
Endpoint:
GET v1/Spec/{id}?format={format}&storeId={storeId}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Part Id |
string |
Required |
format |
Format type for the response. Value passed in the query string. Options: json, xml, csv |
string |
Default value is json |
storeId | string |
None. |
Body Parameters
None.
Response Information
Collection of PartSpecApiName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
Name | string |
None. |
|
NoUps | boolean |
None. |
|
Hazmat | boolean |
None. |
|
WARecFee | decimal number |
None. |
|
EachUpc | string |
None. |
|
EachVolume | string |
None. |
|
EachDimWeight | string |
None. |
|
EachWeight | string |
None. |
|
EachLength | string |
None. |
|
EachWidth | string |
None. |
|
EachHeight | string |
None. |
|
CaseUpc | string |
None. |
|
CaseVolume | string |
None. |
|
CaseDimWeight | string |
None. |
|
CaseWeight | string |
None. |
|
CaseLength | string |
None. |
|
CaseWidth | string |
None. |
|
CaseHeight | string |
None. |
|
PalletUpc | string |
None. |
|
PalletQty | string |
None. |
|
PalletVolume | string |
None. |
|
PalletDimWeight | string |
None. |
|
PalletWeight | string |
None. |
|
PalletLength | string |
None. |
|
PalletWidth | string |
None. |
|
PalletHeight | string |
None. |
Response Examples
application/json, text/json :
[ { "Id": "sample string 1", "Name": "sample string 2", "NoUps": true, "Hazmat": true, "WARecFee": 5.0, "EachUpc": "sample string 6", "EachVolume": "sample string 7", "EachDimWeight": "sample string 8", "EachWeight": "sample string 9", "EachLength": "sample string 10", "EachWidth": "sample string 11", "EachHeight": "sample string 12", "CaseUpc": "sample string 13", "CaseVolume": "sample string 14", "CaseDimWeight": "sample string 15", "CaseWeight": "sample string 16", "CaseLength": "sample string 17", "CaseWidth": "sample string 18", "CaseHeight": "sample string 19", "PalletUpc": "sample string 20", "PalletQty": "sample string 21", "PalletVolume": "sample string 22", "PalletDimWeight": "sample string 23", "PalletWeight": "sample string 24", "PalletLength": "sample string 25", "PalletWidth": "sample string 26", "PalletHeight": "sample string 27" }, { "Id": "sample string 1", "Name": "sample string 2", "NoUps": true, "Hazmat": true, "WARecFee": 5.0, "EachUpc": "sample string 6", "EachVolume": "sample string 7", "EachDimWeight": "sample string 8", "EachWeight": "sample string 9", "EachLength": "sample string 10", "EachWidth": "sample string 11", "EachHeight": "sample string 12", "CaseUpc": "sample string 13", "CaseVolume": "sample string 14", "CaseDimWeight": "sample string 15", "CaseWeight": "sample string 16", "CaseLength": "sample string 17", "CaseWidth": "sample string 18", "CaseHeight": "sample string 19", "PalletUpc": "sample string 20", "PalletQty": "sample string 21", "PalletVolume": "sample string 22", "PalletDimWeight": "sample string 23", "PalletWeight": "sample string 24", "PalletLength": "sample string 25", "PalletWidth": "sample string 26", "PalletHeight": "sample string 27" } ]
text/javascript :
[{"Id":"sample string 1","Name":"sample string 2","NoUps":true,"Hazmat":true,"WARecFee":5.0,"EachUpc":"sample string 6","EachVolume":"sample string 7","EachDimWeight":"sample string 8","EachWeight":"sample string 9","EachLength":"sample string 10","EachWidth":"sample string 11","EachHeight":"sample string 12","CaseUpc":"sample string 13","CaseVolume":"sample string 14","CaseDimWeight":"sample string 15","CaseWeight":"sample string 16","CaseLength":"sample string 17","CaseWidth":"sample string 18","CaseHeight":"sample string 19","PalletUpc":"sample string 20","PalletQty":"sample string 21","PalletVolume":"sample string 22","PalletDimWeight":"sample string 23","PalletWeight":"sample string 24","PalletLength":"sample string 25","PalletWidth":"sample string 26","PalletHeight":"sample string 27"},{"Id":"sample string 1","Name":"sample string 2","NoUps":true,"Hazmat":true,"WARecFee":5.0,"EachUpc":"sample string 6","EachVolume":"sample string 7","EachDimWeight":"sample string 8","EachWeight":"sample string 9","EachLength":"sample string 10","EachWidth":"sample string 11","EachHeight":"sample string 12","CaseUpc":"sample string 13","CaseVolume":"sample string 14","CaseDimWeight":"sample string 15","CaseWeight":"sample string 16","CaseLength":"sample string 17","CaseWidth":"sample string 18","CaseHeight":"sample string 19","PalletUpc":"sample string 20","PalletQty":"sample string 21","PalletVolume":"sample string 22","PalletDimWeight":"sample string 23","PalletWeight":"sample string 24","PalletLength":"sample string 25","PalletWidth":"sample string 26","PalletHeight":"sample string 27"}]
application/xml, text/xml :
<ArrayOfPartSpecApi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sunlight.Library.Models"> <PartSpecApi> <CaseDimWeight>sample string 15</CaseDimWeight> <CaseHeight>sample string 19</CaseHeight> <CaseLength>sample string 17</CaseLength> <CaseUpc>sample string 13</CaseUpc> <CaseVolume>sample string 14</CaseVolume> <CaseWeight>sample string 16</CaseWeight> <CaseWidth>sample string 18</CaseWidth> <EachDimWeight>sample string 8</EachDimWeight> <EachHeight>sample string 12</EachHeight> <EachLength>sample string 10</EachLength> <EachUpc>sample string 6</EachUpc> <EachVolume>sample string 7</EachVolume> <EachWeight>sample string 9</EachWeight> <EachWidth>sample string 11</EachWidth> <Hazmat>true</Hazmat> <Id>sample string 1</Id> <Name>sample string 2</Name> <NoUps>true</NoUps> <PalletDimWeight>sample string 23</PalletDimWeight> <PalletHeight>sample string 27</PalletHeight> <PalletLength>sample string 25</PalletLength> <PalletQty>sample string 21</PalletQty> <PalletUpc>sample string 20</PalletUpc> <PalletVolume>sample string 22</PalletVolume> <PalletWeight>sample string 24</PalletWeight> <PalletWidth>sample string 26</PalletWidth> <WARecFee>5</WARecFee> </PartSpecApi> <PartSpecApi> <CaseDimWeight>sample string 15</CaseDimWeight> <CaseHeight>sample string 19</CaseHeight> <CaseLength>sample string 17</CaseLength> <CaseUpc>sample string 13</CaseUpc> <CaseVolume>sample string 14</CaseVolume> <CaseWeight>sample string 16</CaseWeight> <CaseWidth>sample string 18</CaseWidth> <EachDimWeight>sample string 8</EachDimWeight> <EachHeight>sample string 12</EachHeight> <EachLength>sample string 10</EachLength> <EachUpc>sample string 6</EachUpc> <EachVolume>sample string 7</EachVolume> <EachWeight>sample string 9</EachWeight> <EachWidth>sample string 11</EachWidth> <Hazmat>true</Hazmat> <Id>sample string 1</Id> <Name>sample string 2</Name> <NoUps>true</NoUps> <PalletDimWeight>sample string 23</PalletDimWeight> <PalletHeight>sample string 27</PalletHeight> <PalletLength>sample string 25</PalletLength> <PalletQty>sample string 21</PalletQty> <PalletUpc>sample string 20</PalletUpc> <PalletVolume>sample string 22</PalletVolume> <PalletWeight>sample string 24</PalletWeight> <PalletWidth>sample string 26</PalletWidth> <WARecFee>5</WARecFee> </PartSpecApi> </ArrayOfPartSpecApi>
text/csv :
Id,Name,NoUps,Hazmat,WARecFee,EachUpc,EachVolume,EachDimWeight,EachWeight,EachLength,EachWidth,EachHeight,CaseUpc,CaseVolume,CaseDimWeight,CaseWeight,CaseLength,CaseWidth,CaseHeight,PalletUpc,PalletQty,PalletVolume,PalletDimWeight,PalletWeight,PalletLength,PalletWidth,PalletHeight sample string 1,sample string 2,True,True,5,sample string 6,sample string 7,sample string 8,sample string 9,sample string 10,sample string 11,sample string 12,sample string 13,sample string 14,sample string 15,sample string 16,sample string 17,sample string 18,sample string 19,sample string 20,sample string 21,sample string 22,sample string 23,sample string 24,sample string 25,sample string 26,sample string 27 sample string 1,sample string 2,True,True,5,sample string 6,sample string 7,sample string 8,sample string 9,sample string 10,sample string 11,sample string 12,sample string 13,sample string 14,sample string 15,sample string 16,sample string 17,sample string 18,sample string 19,sample string 20,sample string 21,sample string 22,sample string 23,sample string 24,sample string 25,sample string 26,sample string 27
text/tsv :
Id Name NoUps Hazmat WARecFee EachUpc EachVolume EachDimWeight EachWeight EachLength EachWidth EachHeight CaseUpc CaseVolume CaseDimWeight CaseWeight CaseLength CaseWidth CaseHeight PalletUpc PalletQty PalletVolume PalletDimWeight PalletWeight PalletLength PalletWidth PalletHeight sample string 1 sample string 2 True True 5 sample string 6 sample string 7 sample string 8 sample string 9 sample string 10 sample string 11 sample string 12 sample string 13 sample string 14 sample string 15 sample string 16 sample string 17 sample string 18 sample string 19 sample string 20 sample string 21 sample string 22 sample string 23 sample string 24 sample string 25 sample string 26 sample string 27 sample string 1 sample string 2 True True 5 sample string 6 sample string 7 sample string 8 sample string 9 sample string 10 sample string 11 sample string 12 sample string 13 sample string 14 sample string 15 sample string 16 sample string 17 sample string 18 sample string 19 sample string 20 sample string 21 sample string 22 sample string 23 sample string 24 sample string 25 sample string 26 sample string 27