POST api/XTRF/Project/addXTRFProject?fromModule={fromModule}&ip={ip}

新增项目信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fromModule

string

Required

ip

string

Required

Body Parameters

XTRF_Project
NameDescriptionTypeAdditional information
id

唯一标识

integer

None.

ClientId

客户id

integer

None.

ProjectName

项目名称

string

None.

ServiceType

流程类型

integer

None.

StartDate

开始时间

date

None.

EndDate

结束时间

date

None.

CurrencyId

货币id

integer

None.

TotalAgreed

总价

decimal number

None.

TotalCost

总成本

decimal number

None.

Margin

利润率

decimal number

None.

TotalWordNum

总字数

decimal number

None.

SpecializationId

领域

integer

None.

ContactUserId

联系人

integer

None.

ContactUserDepaId

联系部门

integer

None.

ClientNote

客户备注

string

None.

status

状态

integer

None.

inputDate

date

None.

inputUser

string

None.

WorkFlowId

integer

None.

Attachment

string

None.

CATId

CAT工具id

integer

None.

Match_100

Match_100

decimal number

None.

Match_5074

Match_5074

decimal number

None.

Match_7584

Match_7584

decimal number

None.

Match_8594

Match_8594

decimal number

None.

Match_9599

Match_9599

decimal number

None.

CATAmount

CATAmount

decimal number

None.

OtherAmount

OtherAmount

decimal number

None.

XTranslated

XTranslated

decimal number

None.

Repetitions

Repetitions

decimal number

None.

Nomatch

Nomatch

decimal number

None.

accountManager

客户经理

integer

None.

projectManager

项目经理

integer

None.

salesManager

销售经理

integer

None.

projectAssistant

项目助理

integer

None.

ParentId

integer

None.

Match_101

decimal number

None.

Fragments

decimal number

None.

ProfileId

integer

None.

isChanceQuote

boolean

None.

CurrencyExchangeRate

decimal number

None.

CurrencyExchangeRateTime

date

None.

pid

string

None.

projectCategories

string

None.

projectResult

string

None.

projectTag

string

None.

projectContent

string

None.

isAutoFinish

boolean

None.

CreateDate

date

None.

DefaultCaseWorkFlowId

integer

None.

FinanceReceivableState

integer

None.

XTRF_Project_Case

Collection of XTRF_Project_Case

None.

XTRF_Project_Other_Financial

Collection of XTRF_Project_Other_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--