POST api/Proj/SaveProjUserData

Request Information

URI Parameters

None.

Body Parameters

ProjUserData
NameDescriptionTypeAdditional information
ProjID

integer

None.

ManagerUserID

integer

None.

ManagerUserName

string

None.

CompUsers

Collection of CheckOption

None.

TotUsers

Collection of CheckOption

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjID": 1,
  "ManagerUserID": 2,
  "ManagerUserName": "sample string 3",
  "CompUsers": [
    {
      "Val": "sample string 1",
      "Name": "sample string 2",
      "Checked": true
    },
    {
      "Val": "sample string 1",
      "Name": "sample string 2",
      "Checked": true
    }
  ],
  "TotUsers": [
    {
      "Val": "sample string 1",
      "Name": "sample string 2",
      "Checked": true
    },
    {
      "Val": "sample string 1",
      "Name": "sample string 2",
      "Checked": true
    }
  ]
}

application/xml, text/xml

Sample:
<ProjUserData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WORK.Api.Models">
  <CompUsers>
    <CheckOption>
      <Checked>true</Checked>
      <Name>sample string 2</Name>
      <Val>sample string 1</Val>
    </CheckOption>
    <CheckOption>
      <Checked>true</Checked>
      <Name>sample string 2</Name>
      <Val>sample string 1</Val>
    </CheckOption>
  </CompUsers>
  <ManagerUserID>2</ManagerUserID>
  <ManagerUserName>sample string 3</ManagerUserName>
  <ProjID>1</ProjID>
  <TotUsers>
    <CheckOption>
      <Checked>true</Checked>
      <Name>sample string 2</Name>
      <Val>sample string 1</Val>
    </CheckOption>
    <CheckOption>
      <Checked>true</Checked>
      <Name>sample string 2</Name>
      <Val>sample string 1</Val>
    </CheckOption>
  </TotUsers>
</ProjUserData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResOfString
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<HttpResOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WORK.Api.Models">
  <code>1</code>
  <data />
  <msg>sample string 2</msg>
</HttpResOfstring>