GET CMMeasure?CMPackageId={CMPackageId}
Returns a list of CM Measures
Request Information
URI Parameters
Name | Type | Description | Additional information |
---|---|---|---|
CMPackageId | integer |
Body Parameters
None.
Response Information
Resource Description
Collection of CMMeasureDtoName | Type | Description | Additional information |
---|---|---|---|
CMMeasureID | integer |
None. |
|
Name | string |
None. |
|
OfSKU | decimal number |
None. |
|
DispSeq | integer |
None. |
|
ShortName | string |
None. |
|
IsStockOnly | boolean |
None. |
|
IsOutOfStockable | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CMMeasureID": 1, "Name": "sample string 2", "OfSKU": 3.0, "DispSeq": 4, "ShortName": "sample string 5", "IsStockOnly": true, "IsOutOfStockable": true }, { "CMMeasureID": 1, "Name": "sample string 2", "OfSKU": 3.0, "DispSeq": 4, "ShortName": "sample string 5", "IsStockOnly": true, "IsOutOfStockable": true } ]
application/xml, text/xml
Sample:
<ArrayOfCMMeasureDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.CM.DAL.Domain.Measures.Dto"> <CMMeasureDto> <CMMeasureID>1</CMMeasureID> <DispSeq>4</DispSeq> <IsOutOfStockable>true</IsOutOfStockable> <IsStockOnly>true</IsStockOnly> <Name>sample string 2</Name> <OfSKU>3</OfSKU> <ShortName>sample string 5</ShortName> </CMMeasureDto> <CMMeasureDto> <CMMeasureID>1</CMMeasureID> <DispSeq>4</DispSeq> <IsOutOfStockable>true</IsOutOfStockable> <IsStockOnly>true</IsStockOnly> <Name>sample string 2</Name> <OfSKU>3</OfSKU> <ShortName>sample string 5</ShortName> </CMMeasureDto> </ArrayOfCMMeasureDto>