POST api/timesheetprojects

Request Information

URI Parameters

None.

Body Parameters

TimesheetProjectGridModel
NameDescriptionTypeAdditional information
name

string

None.

timesheet_project_modules

Collection of globally unique identifier

None.

timesheet_project_module_names

Collection of string

None.

user_id

string

None.

color

string

None.

id

globally unique identifier

None.

subscription_id

globally unique identifier

None.

ts

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "timesheet_project_modules": [
    "db01f7c9-1a01-4d2b-8dc8-acbd2052042c",
    "ff49f596-1f5e-43e6-8341-9dde4da8d98d"
  ],
  "timesheet_project_module_names": [
    "sample string 1",
    "sample string 2"
  ],
  "user_id": "sample string 2",
  "color": "sample string 3",
  "id": "70ae2c60-5fde-4df1-b410-826c669136a8",
  "subscription_id": "91644f9d-138b-4e81-abea-9906dd1b607c",
  "ts": "QEA="
}

application/xml, text/xml

Sample:
<TimesheetProjectGridModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models">
  <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">70ae2c60-5fde-4df1-b410-826c669136a8</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">91644f9d-138b-4e81-abea-9906dd1b607c</SubscriptionId>
  <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
  <Color>sample string 3</Color>
  <Name>sample string 1</Name>
  <TimesheetProjectModuleNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </TimesheetProjectModuleNames>
  <TimesheetProjectModules xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>db01f7c9-1a01-4d2b-8dc8-acbd2052042c</d2p1:guid>
    <d2p1:guid>ff49f596-1f5e-43e6-8341-9dde4da8d98d</d2p1:guid>
  </TimesheetProjectModules>
  <UserId>sample string 2</UserId>
</TimesheetProjectGridModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.