POST   https://api.d-tools.com/SI/Publish/TimeSheets

Publish a new time sheet to SI.

Request Information

URI Parameters

None.

Body Parameters

NewTimeSheetRequest.

NewTimeSheetsRequest
NameDescriptionTypeAdditional information
Name

Name (Optional)

string

None.

NewTimeSheets

Array of new time sheets

Collection of NewTimeSheet

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "NewTimeSheets": [
    {
      "EntityId": 64,
      "EntitySourceId": "sample string 2",
      "Date": "2026-02-07T08:48:26.7242142+00:00",
      "DateTicks": 4,
      "Resource": "sample string 5",
      "CF1": "sample string 6",
      "CF2": "sample string 7",
      "CF3": "sample string 8",
      "CF4": "sample string 9",
      "CF5": "sample string 10",
      "CF6": true,
      "CF7": true,
      "CF8": true,
      "CF9": true,
      "CF10": true,
      "CF11": "2026-02-07T08:48:26.725516+00:00",
      "CF12": "2026-02-07T08:48:26.725516+00:00",
      "CF13": "2026-02-07T08:48:26.725516+00:00",
      "CF14": "2026-02-07T08:48:26.725516+00:00",
      "CF15": "2026-02-07T08:48:26.725516+00:00",
      "CF16": "sample string 11",
      "CF17": "sample string 12",
      "CF18": "sample string 13",
      "CF19": "sample string 14",
      "CF20": "sample string 15",
      "CF21": "sample string 16",
      "CF22": "sample string 17",
      "CF23": "sample string 18",
      "CF24": "sample string 19",
      "CF25": "sample string 20",
      "CF26": "sample string 21",
      "CF27": "sample string 22",
      "CF28": 1.0,
      "CF29": 1.0,
      "CF30": 1.0,
      "CF31": 1.0,
      "CF32": 1.0,
      "Phase": "sample string 23",
      "LaborType": "sample string 24",
      "SubLaborType": "sample string 25",
      "TypeId": 64,
      "Duration": 27.0,
      "StartTime": "2026-02-07T08:48:26.7259892+00:00",
      "EndTime": "2026-02-07T08:48:26.7259892+00:00",
      "Billable": true,
      "Overtime": true,
      "Description": "sample string 29"
    },
    {
      "EntityId": 64,
      "EntitySourceId": "sample string 2",
      "Date": "2026-02-07T08:48:26.7242142+00:00",
      "DateTicks": 4,
      "Resource": "sample string 5",
      "CF1": "sample string 6",
      "CF2": "sample string 7",
      "CF3": "sample string 8",
      "CF4": "sample string 9",
      "CF5": "sample string 10",
      "CF6": true,
      "CF7": true,
      "CF8": true,
      "CF9": true,
      "CF10": true,
      "CF11": "2026-02-07T08:48:26.725516+00:00",
      "CF12": "2026-02-07T08:48:26.725516+00:00",
      "CF13": "2026-02-07T08:48:26.725516+00:00",
      "CF14": "2026-02-07T08:48:26.725516+00:00",
      "CF15": "2026-02-07T08:48:26.725516+00:00",
      "CF16": "sample string 11",
      "CF17": "sample string 12",
      "CF18": "sample string 13",
      "CF19": "sample string 14",
      "CF20": "sample string 15",
      "CF21": "sample string 16",
      "CF22": "sample string 17",
      "CF23": "sample string 18",
      "CF24": "sample string 19",
      "CF25": "sample string 20",
      "CF26": "sample string 21",
      "CF27": "sample string 22",
      "CF28": 1.0,
      "CF29": 1.0,
      "CF30": 1.0,
      "CF31": 1.0,
      "CF32": 1.0,
      "Phase": "sample string 23",
      "LaborType": "sample string 24",
      "SubLaborType": "sample string 25",
      "TypeId": 64,
      "Duration": 27.0,
      "StartTime": "2026-02-07T08:48:26.7259892+00:00",
      "EndTime": "2026-02-07T08:48:26.7259892+00:00",
      "Billable": true,
      "Overtime": true,
      "Description": "sample string 29"
    }
  ]
}

application/xml, text/xml

Sample:
<NewTimeSheetsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTools.SICloudAPI.DataObjects">
  <Name>sample string 1</Name>
  <NewTimeSheets>
    <NewTimeSheet>
      <Billable>true</Billable>
      <Description>sample string 29</Description>
      <Duration>27</Duration>
      <EndTime>2026-02-07T08:48:26.7259892+00:00</EndTime>
      <LaborType>sample string 24</LaborType>
      <Overtime>true</Overtime>
      <Phase>sample string 23</Phase>
      <StartTime>2026-02-07T08:48:26.7259892+00:00</StartTime>
      <SubLaborType>sample string 25</SubLaborType>
      <TypeId>64</TypeId>
      <CF1>sample string 6</CF1>
      <CF10>true</CF10>
      <CF11>2026-02-07T08:48:26.725516+00:00</CF11>
      <CF12>2026-02-07T08:48:26.725516+00:00</CF12>
      <CF13>2026-02-07T08:48:26.725516+00:00</CF13>
      <CF14>2026-02-07T08:48:26.725516+00:00</CF14>
      <CF15>2026-02-07T08:48:26.725516+00:00</CF15>
      <CF16>sample string 11</CF16>
      <CF17>sample string 12</CF17>
      <CF18>sample string 13</CF18>
      <CF19>sample string 14</CF19>
      <CF2>sample string 7</CF2>
      <CF20>sample string 15</CF20>
      <CF21>sample string 16</CF21>
      <CF22>sample string 17</CF22>
      <CF23>sample string 18</CF23>
      <CF24>sample string 19</CF24>
      <CF25>sample string 20</CF25>
      <CF26>sample string 21</CF26>
      <CF27>sample string 22</CF27>
      <CF28>1</CF28>
      <CF29>1</CF29>
      <CF3>sample string 8</CF3>
      <CF30>1</CF30>
      <CF31>1</CF31>
      <CF32>1</CF32>
      <CF4>sample string 9</CF4>
      <CF5>sample string 10</CF5>
      <CF6>true</CF6>
      <CF7>true</CF7>
      <CF8>true</CF8>
      <CF9>true</CF9>
      <Date>2026-02-07T08:48:26.7242142+00:00</Date>
      <DateTicks>4</DateTicks>
      <EntityId>64</EntityId>
      <EntitySourceId>sample string 2</EntitySourceId>
      <Resource>sample string 5</Resource>
    </NewTimeSheet>
    <NewTimeSheet>
      <Billable>true</Billable>
      <Description>sample string 29</Description>
      <Duration>27</Duration>
      <EndTime>2026-02-07T08:48:26.7259892+00:00</EndTime>
      <LaborType>sample string 24</LaborType>
      <Overtime>true</Overtime>
      <Phase>sample string 23</Phase>
      <StartTime>2026-02-07T08:48:26.7259892+00:00</StartTime>
      <SubLaborType>sample string 25</SubLaborType>
      <TypeId>64</TypeId>
      <CF1>sample string 6</CF1>
      <CF10>true</CF10>
      <CF11>2026-02-07T08:48:26.725516+00:00</CF11>
      <CF12>2026-02-07T08:48:26.725516+00:00</CF12>
      <CF13>2026-02-07T08:48:26.725516+00:00</CF13>
      <CF14>2026-02-07T08:48:26.725516+00:00</CF14>
      <CF15>2026-02-07T08:48:26.725516+00:00</CF15>
      <CF16>sample string 11</CF16>
      <CF17>sample string 12</CF17>
      <CF18>sample string 13</CF18>
      <CF19>sample string 14</CF19>
      <CF2>sample string 7</CF2>
      <CF20>sample string 15</CF20>
      <CF21>sample string 16</CF21>
      <CF22>sample string 17</CF22>
      <CF23>sample string 18</CF23>
      <CF24>sample string 19</CF24>
      <CF25>sample string 20</CF25>
      <CF26>sample string 21</CF26>
      <CF27>sample string 22</CF27>
      <CF28>1</CF28>
      <CF29>1</CF29>
      <CF3>sample string 8</CF3>
      <CF30>1</CF30>
      <CF31>1</CF31>
      <CF32>1</CF32>
      <CF4>sample string 9</CF4>
      <CF5>sample string 10</CF5>
      <CF6>true</CF6>
      <CF7>true</CF7>
      <CF8>true</CF8>
      <CF9>true</CF9>
      <Date>2026-02-07T08:48:26.7242142+00:00</Date>
      <DateTicks>4</DateTicks>
      <EntityId>64</EntityId>
      <EntitySourceId>sample string 2</EntitySourceId>
      <Resource>sample string 5</Resource>
    </NewTimeSheet>
  </NewTimeSheets>
</NewTimeSheetsRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NewTimeSheetsRequest'.

Response Information

Resource Description

PublishResponse
NameDescriptionTypeAdditional information
MessageId

Check the status of the transaction using this Message Id

globally unique identifier

None.

Message

Success Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageId": "38a9d199-94c4-49b8-b90b-1fba6743da52",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<PublishResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTools.SICloudAPI.DataObjects">
  <Message>sample string 2</Message>
  <MessageId>38a9d199-94c4-49b8-b90b-1fba6743da52</MessageId>
</PublishResponse>