POST api/AccountApi/PushWorkOrderToprovide

Request Information

URI Parameters

None.

Body Parameters

WorkOrderDTO
NameDescriptionTypeAdditional information
WorkOrderId

integer

None.

Type

WorkOrderType

None.

TypeStr

string

None.

Status

WorkOrderStatus

None.

StatusStr

string

None.

SyncStatus

SyncStatus

None.

SyncStatusStr

string

None.

Content

string

None.

CustomerId

integer

None.

CustomerUserName

string

None.

CustomerDisplayName

string

None.

OperatorId

string

None.

OperatorDisplayName

string

None.

ReferenceId

integer

None.

ApplicationId

globally unique identifier

None.

CreatedDateStr

string

None.

WorkOrderDetails

Collection of WorkOrderDetailDTO

None.

WorkOrderLogs

Collection of WorkOrderLogDTO

None.

IsDeleted

boolean

None.

CreatedBy

string

None.

CreatedDate

date

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "WorkOrderId": 1,
  "Type": 101,
  "TypeStr": "系统问题",
  "Status": 0,
  "StatusStr": "草稿",
  "SyncStatus": 0,
  "SyncStatusStr": "等待同步",
  "Content": "sample string 2",
  "CustomerId": 3,
  "CustomerUserName": "sample string 4",
  "CustomerDisplayName": "sample string 5",
  "OperatorId": "sample string 6",
  "OperatorDisplayName": "sample string 7",
  "ReferenceId": 8,
  "ApplicationId": "1ce89851-fc05-44c5-8fb9-235efec4a701",
  "CreatedDateStr": "2021/11/27 4:45:02",
  "WorkOrderDetails": [
    {
      "$id": "2",
      "Id": 1,
      "Content": "sample string 2",
      "ReplyUserName": "sample string 3",
      "ReplyDisplayName": "sample string 4",
      "ReferenceId": 5,
      "IsReply": true,
      "CreatedDateStr": "2021/11/27 4:45:02",
      "OrderId": 7,
      "OperatorId": "sample string 8",
      "OperatorDisplayName": "sample string 9",
      "WorkOrderDetailLogs": [
        {
          "$id": "3",
          "ProcessLogId": 2,
          "Type": 0,
          "OperatorId": "sample string 3",
          "Operator": "sample string 4",
          "OperateDate": "2021-11-27T04:45:02.0194162+00:00",
          "Remark": "sample string 6"
        },
        {
          "$ref": "3"
        }
      ],
      "IsDeleted": true,
      "CreatedBy": "sample string 11",
      "CreatedDate": "2021-11-27T04:45:02.0194162+00:00",
      "ModifiedBy": "sample string 13",
      "ModifiedDate": "2021-11-27T04:45:02.0194162+00:00"
    },
    {
      "$ref": "2"
    }
  ],
  "WorkOrderLogs": [
    {
      "$id": "4",
      "ProcessLogId": 2,
      "Type": 0,
      "OperatorId": "sample string 3",
      "Operator": "sample string 4",
      "OperateDate": "2021-11-27T04:45:02.0194162+00:00",
      "Remark": "sample string 6"
    },
    {
      "$ref": "4"
    }
  ],
  "IsDeleted": true,
  "CreatedBy": "sample string 11",
  "CreatedDate": "2021-11-27T04:45:02.0194162+00:00",
  "ModifiedBy": "sample string 13",
  "ModifiedDate": "2021-11-27T04:45:02.0194162+00:00"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResultOfString
NameDescriptionTypeAdditional information
ResultType

ServiceResultType

None.

message

string

None.

LogMessage

string

None.

Result

string

None.

success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultType": 0,
  "message": "sample string 1",
  "LogMessage": "sample string 2",
  "Result": "sample string 3",
  "success": true
}