PUT api/XTRF/Case/editXTRFCaseById?id={id}&fromModule={fromModule}&ip={ip}

根据 id 修改整个案件信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

fromModule

string

Required

ip

string

Required

Body Parameters

XTRF_Project_Case
NameDescriptionTypeAdditional information
id

唯一标识

integer

None.

ProjectId

项目id

integer

None.

SourceLanguageId

源语言id

integer

None.

TargetLanguageId

目标语言id

integer

None.

StartDate

开始时间

date

None.

EndDate

结束时间

date

None.

Attachment

附件列表字符串

string

None.

CaseNote

案件备注

string

None.

status

案件状态 0,未发布 根据 workFlowModuleProcess order 来判断

integer

None.

unitStatus

模块状态,根据 workFlowUnitProcess order 来判断

integer

None.

inputDate

date

None.

inputUser

string

None.

WordNum

案件字数

decimal number

None.

CaseCode

案件编号,自动生成

string

None.

workType

作业种类

integer

None.

FileNo

文件号

string

None.

XTranslatedWords

XTranslatedWords

integer

None.

XTranslatedCharacters

XTranslatedCharacters

integer

None.

C101Words

integer

None.

C101Characters

integer

None.

RepetitionsWords

RepetitionsWords

integer

None.

RepetitionsCharacters

RepetitionsCharacters

integer

None.

C100Words

integer

None.

C100Characters

integer

None.

C9599Words

integer

None.

C9599Characters

integer

None.

C8594Words

integer

None.

C8594Characters

integer

None.

C7584Words

integer

None.

C7584Characters

integer

None.

C5074Words

integer

None.

C5074Characters

integer

None.

NomatchWords

NomatchWords

integer

None.

NomatchCharacters

NomatchCharacters

integer

None.

FragmentsWords

FragmentsWords

integer

None.

FragmentsCharacters

FragmentsCharacters

integer

None.

Totalwords

Totalwords

integer

None.

TotalCharacters

TotalCharacters

integer

None.

DiscountTotalwords

DiscountTotalwords

integer

None.

DiscountTotalCharacters

DiscountTotalCharacters

integer

None.

DiscountXTranslatedWords

DiscountXTranslatedWords

integer

None.

DiscountXTranslatedCharacters

DiscountXTranslatedCharacters

integer

None.

Discount101Words

Discount101Words

integer

None.

Discount101Characters

Discount101Characters

integer

None.

DiscountRepetitionsWords

DiscountRepetitionsWords

integer

None.

DiscountRepetitionsCharacters

DiscountRepetitionsCharacters

integer

None.

Discount100Words

Discount100Words

integer

None.

Discount100Characters

Discount100Characters

integer

None.

Discount9599Words

Discount9599Words

integer

None.

Discount9599Characters

Discount9599Characters

integer

None.

Discount8594Words

Discount8594Words

integer

None.

Discount8594Characters

Discount8594Characters

integer

None.

Discount7584Words

Discount7584Words

integer

None.

Discount7584Characters

Discount7584Characters

integer

None.

Discount5074Words

Discount5074Words

integer

None.

Discount5074Characters

Discount5074Characters

integer

None.

DiscountNomatchWords

DiscountNomatchWords

integer

None.

DiscountNomatchCharacters

DiscountNomatchCharacters

integer

None.

DiscountFragmentsWords

DiscountFragmentsWords

integer

None.

DiscountFragmentsCharacters

DiscountFragmentsCharacters

integer

None.

RelatedCaseId

integer

None.

tasklnstructions

string

None.

cid

integer

None.

XTRF_Project_Case_Financial

Collection of XTRF_Project_Case_Financial

None.

Request Formats

application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded, multipart/form-data

Sample:

Sample not available.

Response Information

Resource Description

resultSuccess
NameDescriptionTypeAdditional information
code

0 =SUCCESS,1=ERROR,401TIMEOUT

integer

None.

result

Object

None.

message

string

None.

type

string

None.

page

string

None.

pageSize

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "result": {},
  "message": "sample string 3",
  "type": "sample string 4",
  "page": "sample string 5",
  "pageSize": "sample string 6"
}

application/xml, text/xml

Sample:
<resultSuccess xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Base.Entities">
  <code>1</code>
  <message>sample string 3</message>
  <page>sample string 5</page>
  <pageSize>sample string 6</pageSize>
  <result />
  <type>sample string 4</type>
</resultSuccess>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="code"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="result"

System.Object
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="message"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="type"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="page"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="pageSize"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e--