GET api/GD/GetLaborHourById?fid={fid}

根据ID获取一个工单工时费用实体

请求参数信息

URI 参数

NameDescriptionTypeAdditional information
fid

string

Required

Body 参数

None.

接口返回信息

返回信息说明

JMResponseOfGDLaborHourEntity
NameDescriptionTypeAdditional information
code

string

None.

msg

string

None.

data

GDLaborHourEntity

None.

返回数据格式

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "msg": "sample string 2",
  "data": {
    "FId": "sample string 1",
    "GD_FNumber": "sample string 2",
    "ServicesClassId": "sample string 3",
    "ServicesFId": "sample string 4",
    "LaborCount": 5.0,
    "Amount": 6.0,
    "UnitPrice": 7.0,
    "UnitPriceDesc": "sample string 8",
    "FDescription": "sample string 9",
    "FCreatorTime": "2026-02-04 21:55:52",
    "FCreatorUserId": "sample string 10",
    "FLastModifyTime": "2026-02-04 21:55:52",
    "FLastModifyUserId": "sample string 11",
    "FCheckStatus": 0,
    "FCheckDescription": "sample string 12",
    "ServiceClassName": "sample string 13",
    "ServiceName": "sample string 14",
    "FFinalApprovalStatus": 1,
    "FFinalApprovalDescription": "sample string 15"
  }
}

application/xml, text/xml

Sample:
<JMResponseOfGDLaborHourEntity8FrIkT2R xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLYServices.APIApplication.Models">
  <code>sample string 1</code>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/WLYServices.Domain.Entity.GDManage">
    <d2p1:Amount>6</d2p1:Amount>
    <d2p1:FCheckDescription>sample string 12</d2p1:FCheckDescription>
    <d2p1:FCheckStatus>待提交</d2p1:FCheckStatus>
    <d2p1:FCreatorTime>2026-02-04T21:55:52.8797173+08:00</d2p1:FCreatorTime>
    <d2p1:FCreatorUserId>sample string 10</d2p1:FCreatorUserId>
    <d2p1:FDescription>sample string 9</d2p1:FDescription>
    <d2p1:FFinalApprovalDescription>sample string 15</d2p1:FFinalApprovalDescription>
    <d2p1:FFinalApprovalStatus>待审批</d2p1:FFinalApprovalStatus>
    <d2p1:FId>sample string 1</d2p1:FId>
    <d2p1:FLastModifyTime>2026-02-04T21:55:52.8797173+08:00</d2p1:FLastModifyTime>
    <d2p1:FLastModifyUserId>sample string 11</d2p1:FLastModifyUserId>
    <d2p1:GD_FNumber>sample string 2</d2p1:GD_FNumber>
    <d2p1:LaborCount>5</d2p1:LaborCount>
    <d2p1:ServiceClassName>sample string 13</d2p1:ServiceClassName>
    <d2p1:ServiceName>sample string 14</d2p1:ServiceName>
    <d2p1:ServicesClassId>sample string 3</d2p1:ServicesClassId>
    <d2p1:ServicesFId>sample string 4</d2p1:ServicesFId>
    <d2p1:UnitPrice>7</d2p1:UnitPrice>
    <d2p1:UnitPriceDesc>sample string 8</d2p1:UnitPriceDesc>
  </data>
  <msg>sample string 2</msg>
</JMResponseOfGDLaborHourEntity8FrIkT2R>