创建项目

Request method/request path

POST /ms/openapi/api/apigw/v3/projects

Resource description

Create a project

Input parameter description

Body parameter

Parameter nameParameter typemustParameter descriptionDefault value

body

is

Project information

Path parameter

Parameter nameParameter typemustParameter descriptionDefault value

response

HTTP codedescriptionParameter type

200

successful operation

Request sample

curl -X POST '[Please replace API address bar request address]' 

HEADER example

accept: application/json Content-Type: application/json 

Return example -200

{  "data" : true,  "message" : "String",  "status" : 0 } 

Project - New model

Parameter nameParameter typemustParameter description

englishName

string

no

English abbreviation

deptName

string

no

Name of secondary department

centerId

integer

no

Tertiary department ID

secrecy

boolean

no

Confidentiality or not

kind

integer

no

kind

projectType

integer

no

Item type

deptId

integer

no

Secondary department ID

description

string

no

description

bgName

string

no

Name of primary department

projectName

string

no

Project name

bgId

integer

no

Primary department ID

centerName

string

no

Three-level department name

Data return wrapper model Boolean

Parameter nameParameter typemustParameter description

data

boolean

no

data

message

string

no

Error message

status

integer

is

Status code

Last updated