POST api/WorkTaskTemporary/{workTaskID}/CustomerGrade?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}

标签 新增

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DomainId

域Id

globally unique identifier

None.

AccountId

账户Id

globally unique identifier

None.

PersonId

人员Id

globally unique identifier

None.

workTaskID

globally unique identifier

Required

Body Parameters

MS358_CustomerGradeInfo
NameDescriptionTypeAdditional information
TID

globally unique identifier

None.

DomainID

globally unique identifier

None.

LastUpdatePersonID

string

None.

LastUpdateAccountID

string

None.

LastUpdateDateTime

date

None.

CreatePersonID

string

None.

CreateAccountID

string

None.

CreateDateTime

date

None.

IsDelete

boolean

None.

GradeName

string

None.

GradeNumber

string

None.

GradeLevel

integer

None.

IsEnabled

boolean

None.

WorkTaskID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "TID": "b085c046-d466-4caa-8f59-d72933b85e66",
  "DomainID": "cc43ea8b-37b1-428b-a1e7-05f5e3054116",
  "LastUpdatePersonID": "sample string 1",
  "LastUpdateAccountID": "sample string 2",
  "LastUpdateDateTime": "2025-07-23 07:32:23",
  "CreatePersonID": "sample string 3",
  "CreateAccountID": "sample string 4",
  "CreateDateTime": "2025-07-23 07:32:23",
  "IsDelete": true,
  "GradeName": "sample string 5",
  "GradeNumber": "sample string 6",
  "GradeLevel": 1,
  "IsEnabled": true,
  "WorkTaskID": "30df717c-a0fb-40dd-af8a-b8394401b1f0"
}

application/xml, text/xml

Sample:
<MS358_CustomerGradeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity">
  <CreateAccountID>sample string 4</CreateAccountID>
  <CreateDateTime>2025-07-23T07:32:23.6853794+08:00</CreateDateTime>
  <CreatePersonID>sample string 3</CreatePersonID>
  <DomainID>cc43ea8b-37b1-428b-a1e7-05f5e3054116</DomainID>
  <GradeLevel>1</GradeLevel>
  <GradeName>sample string 5</GradeName>
  <GradeNumber>sample string 6</GradeNumber>
  <IsDelete>true</IsDelete>
  <IsEnabled>true</IsEnabled>
  <LastUpdateAccountID>sample string 2</LastUpdateAccountID>
  <LastUpdateDateTime>2025-07-23T07:32:23.6853794+08:00</LastUpdateDateTime>
  <LastUpdatePersonID>sample string 1</LastUpdatePersonID>
  <TID>b085c046-d466-4caa-8f59-d72933b85e66</TID>
  <WorkTaskID>30df717c-a0fb-40dd-af8a-b8394401b1f0</WorkTaskID>
</MS358_CustomerGradeInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfObject
NameDescriptionTypeAdditional information
Code

ReturnCode

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 200,
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResultModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility">
  <Code>Success</Code>
  <Data />
  <Message>sample string 1</Message>
</ResultModelOfanyType>