GET api/external/v1/Workorder/{id}/unitdata?operation={operation}&operationindex={operationindex}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

operation

string

None.

operationindex

integer

Default value is -1

Body Parameters

None.

Response Information

Resource Description

Collection of SFE.Common.PublicEntities.UnitDataVM
NameDescriptionTypeAdditional information
Id

integer

None.

AlphaNumId

string

None.

WorkorderAlphaNumId

string

None.

WorkorderProductAlphaNumId

string

None.

WorkorderProductName

string

None.

WorkorderProductLinkId

string

None.

WorkorderProductSFCLawLabel

boolean

None.

WorkorderConsolidate

boolean

None.

WorkorderNotes

string

None.

Quantity

integer

None.

TotalWipStartCount

integer

None.

TotalWipEndCount

integer

None.

TotalProductionStartedUOM

decimal number

None.

TotalProductionFinishedUOM

decimal number

None.

WorkorderSalesOrder

string

None.

WorkorderSerialnumber

string

None.

WorkorderExternalWorkorder

string

None.

ExternalUnit

string

None.

BatchId

string

None.

Content

string

None.

Thumbnail

string

None.

Href

string

None.

Tags

Collection of SFE.Common.PublicEntities.TagVM

None.

TotalOnStandardSMV

decimal number

None.

TotalOffstandardSMV

decimal number

None.

TotalOnStandardDeviationSMV

decimal number

None.

TotalOffstandardDeviationSMV

decimal number

None.

TotalMonetaryValue

decimal number

None.

TotalOnStandardCycleTime

integer

None.

TotalOffStandardCycleTime

integer

None.

TotalPauseCycleTime

integer

None.

TotalAuditCount

integer

None.

TotalScrapCount

integer

None.

StatusWorkorderLog

SFE.Common.PublicEntities.WorkorderLogVM

None.

DocumentList

Collection of SFE.Common.PublicEntities.DocumentSerachListResultVM

None.

TotalSMV

decimal number

None.

TotalDeviationSMV

decimal number

None.

TotalCycleTime

integer

None.

TotalEfficiency

decimal number

None.

OnStandardEfficiency

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "alphaNumId": "sample string 1",
    "workorderAlphaNumId": "sample string 2",
    "workorderProductAlphaNumId": "sample string 3",
    "workorderProductName": "sample string 4",
    "workorderProductLinkId": "sample string 5",
    "workorderProductSFCLawLabel": true,
    "workorderConsolidate": true,
    "workorderNotes": "sample string 6",
    "quantity": 7,
    "totalWipStartCount": 8,
    "totalWipEndCount": 9,
    "totalProductionStartedUOM": 1.0,
    "totalProductionFinishedUOM": 1.0,
    "workorderSalesOrder": "sample string 10",
    "workorderSerialnumber": "sample string 11",
    "workorderExternalWorkorder": "sample string 12",
    "externalUnit": "sample string 13",
    "batchId": "sample string 14",
    "content": "sample string 15",
    "thumbnail": "/sample string 14/sample string 11_sample string 1.jpg",
    "href": "/sample string 11.jpg",
    "tags": [
      {
        "id": 1,
        "alphaNumId": "sample string 1",
        "name": "sample string 2",
        "tagKindId": 3,
        "tagKindName": "sample string 4"
      },
      {
        "id": 1,
        "alphaNumId": "sample string 1",
        "name": "sample string 2",
        "tagKindId": 3,
        "tagKindName": "sample string 4"
      }
    ],
    "totalOnStandardSMV": 16.0,
    "totalOffstandardSMV": 17.0,
    "totalOnStandardDeviationSMV": 18.0,
    "totalOffstandardDeviationSMV": 19.0,
    "totalMonetaryValue": 20.0,
    "totalOnStandardCycleTime": 21,
    "totalOffStandardCycleTime": 22,
    "totalPauseCycleTime": 23,
    "totalAuditCount": 24,
    "totalScrapCount": 25,
    "statusWorkorderLog": {
      "workorderAlphaNumId": "sample string 1",
      "workorderQuantity": 2,
      "workorderQuantityUOM": 1.0,
      "unitAlphaNumId": "sample string 3",
      "unitQuantity": 4,
      "unitQuantityUOM": 1.0,
      "workorderTotalScrapCount": 5,
      "unitTotalScrapCount": 6,
      "produced": 7,
      "producedUOM": 1.0,
      "toRepair": 8,
      "scrapped": 9,
      "cycleTime": 10,
      "toAudit": 11,
      "listToRepair": [
        {
          "qcCodeAlphaNumId": "sample string 1",
          "qcCodeName": "sample string 2",
          "qcCodeShortName": "sample string 3",
          "toRepair": 4,
          "hasImages": true
        },
        {
          "qcCodeAlphaNumId": "sample string 1",
          "qcCodeName": "sample string 2",
          "qcCodeShortName": "sample string 3",
          "toRepair": 4,
          "hasImages": true
        }
      ]
    },
    "documentList": [
      {
        "path": "sample string 1",
        "name": "sample string 2",
        "extension": "sample string 3",
        "modified": "2024-11-15T03:28:22.8139415Z"
      },
      {
        "path": "sample string 1",
        "name": "sample string 2",
        "extension": "sample string 3",
        "modified": "2024-11-15T03:28:22.8139415Z"
      }
    ],
    "totalSMV": 33.0,
    "totalDeviationSMV": 37.0,
    "totalCycleTime": 66,
    "totalEfficiency": 9767.4418604651164,
    "onStandardEfficiency": 9714.2857142857138
  },
  {
    "id": 1,
    "alphaNumId": "sample string 1",
    "workorderAlphaNumId": "sample string 2",
    "workorderProductAlphaNumId": "sample string 3",
    "workorderProductName": "sample string 4",
    "workorderProductLinkId": "sample string 5",
    "workorderProductSFCLawLabel": true,
    "workorderConsolidate": true,
    "workorderNotes": "sample string 6",
    "quantity": 7,
    "totalWipStartCount": 8,
    "totalWipEndCount": 9,
    "totalProductionStartedUOM": 1.0,
    "totalProductionFinishedUOM": 1.0,
    "workorderSalesOrder": "sample string 10",
    "workorderSerialnumber": "sample string 11",
    "workorderExternalWorkorder": "sample string 12",
    "externalUnit": "sample string 13",
    "batchId": "sample string 14",
    "content": "sample string 15",
    "thumbnail": "/sample string 14/sample string 11_sample string 1.jpg",
    "href": "/sample string 11.jpg",
    "tags": [
      {
        "id": 1,
        "alphaNumId": "sample string 1",
        "name": "sample string 2",
        "tagKindId": 3,
        "tagKindName": "sample string 4"
      },
      {
        "id": 1,
        "alphaNumId": "sample string 1",
        "name": "sample string 2",
        "tagKindId": 3,
        "tagKindName": "sample string 4"
      }
    ],
    "totalOnStandardSMV": 16.0,
    "totalOffstandardSMV": 17.0,
    "totalOnStandardDeviationSMV": 18.0,
    "totalOffstandardDeviationSMV": 19.0,
    "totalMonetaryValue": 20.0,
    "totalOnStandardCycleTime": 21,
    "totalOffStandardCycleTime": 22,
    "totalPauseCycleTime": 23,
    "totalAuditCount": 24,
    "totalScrapCount": 25,
    "statusWorkorderLog": {
      "workorderAlphaNumId": "sample string 1",
      "workorderQuantity": 2,
      "workorderQuantityUOM": 1.0,
      "unitAlphaNumId": "sample string 3",
      "unitQuantity": 4,
      "unitQuantityUOM": 1.0,
      "workorderTotalScrapCount": 5,
      "unitTotalScrapCount": 6,
      "produced": 7,
      "producedUOM": 1.0,
      "toRepair": 8,
      "scrapped": 9,
      "cycleTime": 10,
      "toAudit": 11,
      "listToRepair": [
        {
          "qcCodeAlphaNumId": "sample string 1",
          "qcCodeName": "sample string 2",
          "qcCodeShortName": "sample string 3",
          "toRepair": 4,
          "hasImages": true
        },
        {
          "qcCodeAlphaNumId": "sample string 1",
          "qcCodeName": "sample string 2",
          "qcCodeShortName": "sample string 3",
          "toRepair": 4,
          "hasImages": true
        }
      ]
    },
    "documentList": [
      {
        "path": "sample string 1",
        "name": "sample string 2",
        "extension": "sample string 3",
        "modified": "2024-11-15T03:28:22.8139415Z"
      },
      {
        "path": "sample string 1",
        "name": "sample string 2",
        "extension": "sample string 3",
        "modified": "2024-11-15T03:28:22.8139415Z"
      }
    ],
    "totalSMV": 33.0,
    "totalDeviationSMV": 37.0,
    "totalCycleTime": 66,
    "totalEfficiency": 9767.4418604651164,
    "onStandardEfficiency": 9714.2857142857138
  }
]

application/xml, text/xml

Sample:
<ArrayOfUnitDataVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFE.Common.PublicEntities">
  <UnitDataVM>
    <AlphaNumId>sample string 1</AlphaNumId>
    <BatchId>sample string 14</BatchId>
    <Content>sample string 15</Content>
    <DocumentList>
      <DocumentSerachListResultVM>
        <extension>sample string 3</extension>
        <modified>2024-11-14T23:28:22.8139415-04:00</modified>
        <name>sample string 2</name>
        <path>sample string 1</path>
      </DocumentSerachListResultVM>
      <DocumentSerachListResultVM>
        <extension>sample string 3</extension>
        <modified>2024-11-14T23:28:22.8139415-04:00</modified>
        <name>sample string 2</name>
        <path>sample string 1</path>
      </DocumentSerachListResultVM>
    </DocumentList>
    <ExternalUnit>sample string 13</ExternalUnit>
    <Id>1</Id>
    <Quantity>7</Quantity>
    <StatusWorkorderLog>
      <CycleTime>10</CycleTime>
      <ListToRepair>
        <WorkorderLogRepairVM>
          <HasImages>true</HasImages>
          <QcCodeAlphaNumId>sample string 1</QcCodeAlphaNumId>
          <QcCodeName>sample string 2</QcCodeName>
          <QcCodeShortName>sample string 3</QcCodeShortName>
          <ToRepair>4</ToRepair>
        </WorkorderLogRepairVM>
        <WorkorderLogRepairVM>
          <HasImages>true</HasImages>
          <QcCodeAlphaNumId>sample string 1</QcCodeAlphaNumId>
          <QcCodeName>sample string 2</QcCodeName>
          <QcCodeShortName>sample string 3</QcCodeShortName>
          <ToRepair>4</ToRepair>
        </WorkorderLogRepairVM>
      </ListToRepair>
      <Produced>7</Produced>
      <ProducedUOM>1</ProducedUOM>
      <Scrapped>9</Scrapped>
      <ToAudit>11</ToAudit>
      <ToRepair>8</ToRepair>
      <UnitAlphaNumId>sample string 3</UnitAlphaNumId>
      <UnitQuantity>4</UnitQuantity>
      <UnitQuantityUOM>1</UnitQuantityUOM>
      <UnitTotalScrapCount>6</UnitTotalScrapCount>
      <WorkorderAlphaNumId>sample string 1</WorkorderAlphaNumId>
      <WorkorderQuantity>2</WorkorderQuantity>
      <WorkorderQuantityUOM>1</WorkorderQuantityUOM>
      <WorkorderTotalScrapCount>5</WorkorderTotalScrapCount>
    </StatusWorkorderLog>
    <Tags>
      <TagVM>
        <AlphaNumId>sample string 1</AlphaNumId>
        <Id>1</Id>
        <Name>sample string 2</Name>
        <TagKindId>3</TagKindId>
        <TagKindName>sample string 4</TagKindName>
      </TagVM>
      <TagVM>
        <AlphaNumId>sample string 1</AlphaNumId>
        <Id>1</Id>
        <Name>sample string 2</Name>
        <TagKindId>3</TagKindId>
        <TagKindName>sample string 4</TagKindName>
      </TagVM>
    </Tags>
    <TotalAuditCount>24</TotalAuditCount>
    <TotalMonetaryValue>20</TotalMonetaryValue>
    <TotalOffStandardCycleTime>22</TotalOffStandardCycleTime>
    <TotalOffstandardDeviationSMV>19</TotalOffstandardDeviationSMV>
    <TotalOffstandardSMV>17</TotalOffstandardSMV>
    <TotalOnStandardCycleTime>21</TotalOnStandardCycleTime>
    <TotalOnStandardDeviationSMV>18</TotalOnStandardDeviationSMV>
    <TotalOnStandardSMV>16</TotalOnStandardSMV>
    <TotalPauseCycleTime>23</TotalPauseCycleTime>
    <TotalProductionFinishedUOM>1</TotalProductionFinishedUOM>
    <TotalProductionStartedUOM>1</TotalProductionStartedUOM>
    <TotalScrapCount>25</TotalScrapCount>
    <TotalWipEndCount>9</TotalWipEndCount>
    <TotalWipStartCount>8</TotalWipStartCount>
    <WorkorderAlphaNumId>sample string 2</WorkorderAlphaNumId>
    <WorkorderConsolidate>true</WorkorderConsolidate>
    <WorkorderExternalWorkorder>sample string 12</WorkorderExternalWorkorder>
    <WorkorderNotes>sample string 6</WorkorderNotes>
    <WorkorderProductAlphaNumId>sample string 3</WorkorderProductAlphaNumId>
    <WorkorderProductLinkId>sample string 5</WorkorderProductLinkId>
    <WorkorderProductName>sample string 4</WorkorderProductName>
    <WorkorderProductSFCLawLabel>true</WorkorderProductSFCLawLabel>
    <WorkorderSalesOrder>sample string 10</WorkorderSalesOrder>
    <WorkorderSerialnumber>sample string 11</WorkorderSerialnumber>
  </UnitDataVM>
  <UnitDataVM>
    <AlphaNumId>sample string 1</AlphaNumId>
    <BatchId>sample string 14</BatchId>
    <Content>sample string 15</Content>
    <DocumentList>
      <DocumentSerachListResultVM>
        <extension>sample string 3</extension>
        <modified>2024-11-14T23:28:22.8139415-04:00</modified>
        <name>sample string 2</name>
        <path>sample string 1</path>
      </DocumentSerachListResultVM>
      <DocumentSerachListResultVM>
        <extension>sample string 3</extension>
        <modified>2024-11-14T23:28:22.8139415-04:00</modified>
        <name>sample string 2</name>
        <path>sample string 1</path>
      </DocumentSerachListResultVM>
    </DocumentList>
    <ExternalUnit>sample string 13</ExternalUnit>
    <Id>1</Id>
    <Quantity>7</Quantity>
    <StatusWorkorderLog>
      <CycleTime>10</CycleTime>
      <ListToRepair>
        <WorkorderLogRepairVM>
          <HasImages>true</HasImages>
          <QcCodeAlphaNumId>sample string 1</QcCodeAlphaNumId>
          <QcCodeName>sample string 2</QcCodeName>
          <QcCodeShortName>sample string 3</QcCodeShortName>
          <ToRepair>4</ToRepair>
        </WorkorderLogRepairVM>
        <WorkorderLogRepairVM>
          <HasImages>true</HasImages>
          <QcCodeAlphaNumId>sample string 1</QcCodeAlphaNumId>
          <QcCodeName>sample string 2</QcCodeName>
          <QcCodeShortName>sample string 3</QcCodeShortName>
          <ToRepair>4</ToRepair>
        </WorkorderLogRepairVM>
      </ListToRepair>
      <Produced>7</Produced>
      <ProducedUOM>1</ProducedUOM>
      <Scrapped>9</Scrapped>
      <ToAudit>11</ToAudit>
      <ToRepair>8</ToRepair>
      <UnitAlphaNumId>sample string 3</UnitAlphaNumId>
      <UnitQuantity>4</UnitQuantity>
      <UnitQuantityUOM>1</UnitQuantityUOM>
      <UnitTotalScrapCount>6</UnitTotalScrapCount>
      <WorkorderAlphaNumId>sample string 1</WorkorderAlphaNumId>
      <WorkorderQuantity>2</WorkorderQuantity>
      <WorkorderQuantityUOM>1</WorkorderQuantityUOM>
      <WorkorderTotalScrapCount>5</WorkorderTotalScrapCount>
    </StatusWorkorderLog>
    <Tags>
      <TagVM>
        <AlphaNumId>sample string 1</AlphaNumId>
        <Id>1</Id>
        <Name>sample string 2</Name>
        <TagKindId>3</TagKindId>
        <TagKindName>sample string 4</TagKindName>
      </TagVM>
      <TagVM>
        <AlphaNumId>sample string 1</AlphaNumId>
        <Id>1</Id>
        <Name>sample string 2</Name>
        <TagKindId>3</TagKindId>
        <TagKindName>sample string 4</TagKindName>
      </TagVM>
    </Tags>
    <TotalAuditCount>24</TotalAuditCount>
    <TotalMonetaryValue>20</TotalMonetaryValue>
    <TotalOffStandardCycleTime>22</TotalOffStandardCycleTime>
    <TotalOffstandardDeviationSMV>19</TotalOffstandardDeviationSMV>
    <TotalOffstandardSMV>17</TotalOffstandardSMV>
    <TotalOnStandardCycleTime>21</TotalOnStandardCycleTime>
    <TotalOnStandardDeviationSMV>18</TotalOnStandardDeviationSMV>
    <TotalOnStandardSMV>16</TotalOnStandardSMV>
    <TotalPauseCycleTime>23</TotalPauseCycleTime>
    <TotalProductionFinishedUOM>1</TotalProductionFinishedUOM>
    <TotalProductionStartedUOM>1</TotalProductionStartedUOM>
    <TotalScrapCount>25</TotalScrapCount>
    <TotalWipEndCount>9</TotalWipEndCount>
    <TotalWipStartCount>8</TotalWipStartCount>
    <WorkorderAlphaNumId>sample string 2</WorkorderAlphaNumId>
    <WorkorderConsolidate>true</WorkorderConsolidate>
    <WorkorderExternalWorkorder>sample string 12</WorkorderExternalWorkorder>
    <WorkorderNotes>sample string 6</WorkorderNotes>
    <WorkorderProductAlphaNumId>sample string 3</WorkorderProductAlphaNumId>
    <WorkorderProductLinkId>sample string 5</WorkorderProductLinkId>
    <WorkorderProductName>sample string 4</WorkorderProductName>
    <WorkorderProductSFCLawLabel>true</WorkorderProductSFCLawLabel>
    <WorkorderSalesOrder>sample string 10</WorkorderSalesOrder>
    <WorkorderSerialnumber>sample string 11</WorkorderSerialnumber>
  </UnitDataVM>
</ArrayOfUnitDataVM>