Yunique.API.REST

<back to all web services

StyleModelDetail

The following routes are available for this service:
GET,OPTIONS/v3/Style/Model/{StyleID}/{StyleSet}/{ModelID}

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/StyleModelDetail HTTP/1.1 
Host: ncsu.yuniquecloud.com 
Content-Type: application/xml
Content-Length: length

<StyleModelDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yunique.API.Rest.DTOs">
  <ModelID>String</ModelID>
  <RecordCountOnly>0</RecordCountOnly>
  <StyleID>String</StyleID>
  <StyleSet>0</StyleSet>
</StyleModelDetail>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<StyleModelDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yunique.API.Rest.DTOs">
  <Model xmlns:d2p1="http://schemas.datacontract.org/2004/07/Yunique.API.Rest.DTOs.POCOs">
    <d2p1:Active>0</d2p1:Active>
    <d2p1:AnnotationFile>String</d2p1:AnnotationFile>
    <d2p1:BodyID>00000000-0000-0000-0000-000000000000</d2p1:BodyID>
    <d2p1:CDate>0001-01-01T00:00:00</d2p1:CDate>
    <d2p1:CUser>String</d2p1:CUser>
    <d2p1:ID>00000000-0000-0000-0000-000000000000</d2p1:ID>
    <d2p1:ImageID>00000000-0000-0000-0000-000000000000</d2p1:ImageID>
    <d2p1:IsLinked>0</d2p1:IsLinked>
    <d2p1:IsLinkedBF>0</d2p1:IsLinkedBF>
    <d2p1:LastCADRefresh>0001-01-01T00:00:00</d2p1:LastCADRefresh>
    <d2p1:Last_Updated>0001-01-01T00:00:00</d2p1:Last_Updated>
    <d2p1:MDate>0001-01-01T00:00:00</d2p1:MDate>
    <d2p1:MUser>String</d2p1:MUser>
    <d2p1:Marker_Code>0</d2p1:Marker_Code>
    <d2p1:Model_Code>0</d2p1:Model_Code>
    <d2p1:Model_Comments>String</d2p1:Model_Comments>
    <d2p1:Model_CrOpId>String</d2p1:Model_CrOpId>
    <d2p1:Model_Create>0001-01-01T00:00:00</d2p1:Model_Create>
    <d2p1:Model_Description>String</d2p1:Model_Description>
    <d2p1:Model_GRTable>String</d2p1:Model_GRTable>
    <d2p1:Model_HPTable>String</d2p1:Model_HPTable>
    <d2p1:Model_Image_Name>String</d2p1:Model_Image_Name>
    <d2p1:Model_Image_SN>0</d2p1:Model_Image_SN>
    <d2p1:Model_MTMFile>String</d2p1:Model_MTMFile>
    <d2p1:Model_Name>String</d2p1:Model_Name>
    <d2p1:Model_Rev1>0001-01-01T00:00:00</d2p1:Model_Rev1>
    <d2p1:Model_Rev2>0001-01-01T00:00:00</d2p1:Model_Rev2>
    <d2p1:Model_RevOp1>String</d2p1:Model_RevOp1>
    <d2p1:Model_RevOp2>String</d2p1:Model_RevOp2>
    <d2p1:Model_SAName>String</d2p1:Model_SAName>
    <d2p1:Model_SYNTable>String</d2p1:Model_SYNTable>
    <d2p1:Model_SampleSize>String</d2p1:Model_SampleSize>
    <d2p1:Model_nMaterials>0</d2p1:Model_nMaterials>
    <d2p1:Model_nPieces>0</d2p1:Model_nPieces>
    <d2p1:Model_nSizes>0</d2p1:Model_nSizes>
    <d2p1:NotchFile>String</d2p1:NotchFile>
    <d2p1:PlotFileLocation>String</d2p1:PlotFileLocation>
    <d2p1:PreferMetric>0</d2p1:PreferMetric>
    <d2p1:StorageType>0</d2p1:StorageType>
    <d2p1:StyleID>00000000-0000-0000-0000-000000000000</d2p1:StyleID>
    <d2p1:StyleSet>0</d2p1:StyleSet>
    <d2p1:Total_Area>0</d2p1:Total_Area>
    <d2p1:UserDefined1>String</d2p1:UserDefined1>
    <d2p1:UserDefined2>String</d2p1:UserDefined2>
    <d2p1:UserDefined3>String</d2p1:UserDefined3>
    <d2p1:UserDefined4>String</d2p1:UserDefined4>
    <d2p1:UserDefined5>String</d2p1:UserDefined5>
  </Model>
  <RecordCount>0</RecordCount>
</StyleModelDetailResponse>