POST api/HourEntry

Create an HourEntryLine

Request Information

URI Parameters

None.

Body Parameters

HourEntryLine to create

HourEntryLine
NameDescriptionTypeAdditional information
ActualQuantity

decimal number

Required

ItemCode

string

Required

LineEntryDate

date

Required

ProjectCode

string

Required

ResourceID

decimal number

Required

Activity

string

None.

Amount

decimal number

None.

Scenario

string

None.

BudgetID

integer

None.

BudgetQuantity

decimal number

None.

Costcenter

string

None.

Costunit

string

None.

EndTime

date

None.

FullName

string

None.

ID

integer

None.

IsExpense

boolean

None.

IsSerialBatchItem

boolean

None.

ItemDescription

string

None.

ItemType

string

None.

ItemUnit

string

None.

LinkedLine

globally unique identifier

None.

NoteID

globally unique identifier

None.

oorsprong

string

None.

OurReference

string

None.

PercentComplete

string

None.

Planning

string

None.

Postingint

integer

None.

Price

decimal number

None.

ProjectDescription

string

None.

Quantity

integer

None.

Request

string

None.

Reviewed

integer

None.

Serialint

string

None.

StartTime

date

None.

Target

string

None.

transsubtype

string

None.

transtype

string

None.

IsFractionAllowedItem

boolean

None.

ActionFlag

string

None.

JournalCode

string

None.

IsShowStandardItem

boolean

None.

IsShowStartTime

boolean

None.

IsShowEndTime

boolean

None.

IsShowTarget

boolean

None.

IsShowPlanningCompletion

boolean

None.

IsShowRequest

boolean

None.

StartDateTime

date

None.

YourReference

string

None.

Option

string

None.

InvoiceProposalID

integer

None.

Operation

string

None.

Step

integer

None.

TransactionKey

string

None.

Action

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ActualQuantity": 1.1,
  "ItemCode": "sample string 2",
  "LineEntryDate": "2019-08-22T18:23:51.1102035+02:00",
  "ProjectCode": "sample string 4",
  "ResourceID": 5.1,
  "Activity": "sample string 6",
  "Amount": 7.1,
  "Scenario": "sample string 8",
  "BudgetID": 1,
  "BudgetQuantity": 1.1,
  "Costcenter": "sample string 9",
  "Costunit": "sample string 10",
  "EndTime": "2019-08-22T18:23:51.1102035+02:00",
  "FullName": "sample string 11",
  "ID": 1,
  "IsExpense": true,
  "IsSerialBatchItem": true,
  "ItemDescription": "sample string 12",
  "ItemType": "sample string 13",
  "ItemUnit": "sample string 14",
  "LinkedLine": "b62f363c-fe0a-4288-b7f6-20e1e1ef08a6",
  "NoteID": "da77c491-a05a-4c7c-9f6d-8920eb8bdeef",
  "oorsprong": "sample string 15",
  "OurReference": "sample string 16",
  "PercentComplete": "sample string 17",
  "Planning": "sample string 18",
  "Postingint": 1,
  "Price": 1.1,
  "ProjectDescription": "sample string 19",
  "Quantity": 1,
  "Request": "sample string 20",
  "Reviewed": 1,
  "Serialint": "sample string 21",
  "StartTime": "2019-08-22T18:23:51.1102035+02:00",
  "Target": "sample string 22",
  "transsubtype": "sample string 23",
  "transtype": "sample string 24",
  "IsFractionAllowedItem": true,
  "ActionFlag": "sample string 25",
  "JournalCode": "sample string 26",
  "IsShowStandardItem": true,
  "IsShowStartTime": true,
  "IsShowEndTime": true,
  "IsShowTarget": true,
  "IsShowPlanningCompletion": true,
  "IsShowRequest": true,
  "StartDateTime": "2019-08-22T18:23:51.1102035+02:00",
  "YourReference": "sample string 27",
  "Option": "sample string 28",
  "InvoiceProposalID": 1,
  "Operation": "sample string 29",
  "Step": 1,
  "TransactionKey": "sample string 30",
  "Action": "sample string 31"
}

application/xml, text/xml

Sample:
<HourEntryLine xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TransactionKey>sample string 30</TransactionKey>
  <Action>sample string 31</Action>
  <ActualQuantity>1.1</ActualQuantity>
  <ItemCode>sample string 2</ItemCode>
  <LineEntryDate>2019-08-22T18:23:51.1102035+02:00</LineEntryDate>
  <ProjectCode>sample string 4</ProjectCode>
  <ResourceID>5.1</ResourceID>
  <Activity>sample string 6</Activity>
  <Amount>7.1</Amount>
  <Scenario>sample string 8</Scenario>
  <BudgetID>1</BudgetID>
  <BudgetQuantity>1.1</BudgetQuantity>
  <Costcenter>sample string 9</Costcenter>
  <Costunit>sample string 10</Costunit>
  <EndTime>2019-08-22T18:23:51.1102035+02:00</EndTime>
  <FullName>sample string 11</FullName>
  <ID>1</ID>
  <IsExpense>true</IsExpense>
  <IsSerialBatchItem>true</IsSerialBatchItem>
  <ItemDescription>sample string 12</ItemDescription>
  <ItemType>sample string 13</ItemType>
  <ItemUnit>sample string 14</ItemUnit>
  <LinkedLine>b62f363c-fe0a-4288-b7f6-20e1e1ef08a6</LinkedLine>
  <NoteID>da77c491-a05a-4c7c-9f6d-8920eb8bdeef</NoteID>
  <oorsprong>sample string 15</oorsprong>
  <OurReference>sample string 16</OurReference>
  <PercentComplete>sample string 17</PercentComplete>
  <Planning>sample string 18</Planning>
  <Postingint>1</Postingint>
  <Price>1.1</Price>
  <ProjectDescription>sample string 19</ProjectDescription>
  <Quantity>1</Quantity>
  <Request>sample string 20</Request>
  <Reviewed>1</Reviewed>
  <Serialint>sample string 21</Serialint>
  <StartTime>2019-08-22T18:23:51.1102035+02:00</StartTime>
  <Target>sample string 22</Target>
  <transsubtype>sample string 23</transsubtype>
  <transtype>sample string 24</transtype>
  <IsFractionAllowedItem>true</IsFractionAllowedItem>
  <ActionFlag>sample string 25</ActionFlag>
  <JournalCode>sample string 26</JournalCode>
  <IsShowStandardItem>true</IsShowStandardItem>
  <IsShowStartTime>true</IsShowStartTime>
  <IsShowEndTime>true</IsShowEndTime>
  <IsShowTarget>true</IsShowTarget>
  <IsShowPlanningCompletion>true</IsShowPlanningCompletion>
  <IsShowRequest>true</IsShowRequest>
  <StartDateTime>2019-08-22T18:23:51.1102035+02:00</StartDateTime>
  <YourReference>sample string 27</YourReference>
  <Option>sample string 28</Option>
  <InvoiceProposalID>1</InvoiceProposalID>
  <Operation>sample string 29</Operation>
  <Step>1</Step>
</HourEntryLine>

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 'HourEntryLine'.

Response Information

Resource Description

HourEntryLine as its created

HourEntryLine
NameDescriptionTypeAdditional information
ActualQuantity

decimal number

Required

ItemCode

string

Required

LineEntryDate

date

Required

ProjectCode

string

Required

ResourceID

decimal number

Required

Activity

string

None.

Amount

decimal number

None.

Scenario

string

None.

BudgetID

integer

None.

BudgetQuantity

decimal number

None.

Costcenter

string

None.

Costunit

string

None.

EndTime

date

None.

FullName

string

None.

ID

integer

None.

IsExpense

boolean

None.

IsSerialBatchItem

boolean

None.

ItemDescription

string

None.

ItemType

string

None.

ItemUnit

string

None.

LinkedLine

globally unique identifier

None.

NoteID

globally unique identifier

None.

oorsprong

string

None.

OurReference

string

None.

PercentComplete

string

None.

Planning

string

None.

Postingint

integer

None.

Price

decimal number

None.

ProjectDescription

string

None.

Quantity

integer

None.

Request

string

None.

Reviewed

integer

None.

Serialint

string

None.

StartTime

date

None.

Target

string

None.

transsubtype

string

None.

transtype

string

None.

IsFractionAllowedItem

boolean

None.

ActionFlag

string

None.

JournalCode

string

None.

IsShowStandardItem

boolean

None.

IsShowStartTime

boolean

None.

IsShowEndTime

boolean

None.

IsShowTarget

boolean

None.

IsShowPlanningCompletion

boolean

None.

IsShowRequest

boolean

None.

StartDateTime

date

None.

YourReference

string

None.

Option

string

None.

InvoiceProposalID

integer

None.

Operation

string

None.

Step

integer

None.

TransactionKey

string

None.

Action

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ActualQuantity": 1.1,
  "ItemCode": "sample string 2",
  "LineEntryDate": "2019-08-22T18:23:51.1414349+02:00",
  "ProjectCode": "sample string 4",
  "ResourceID": 5.1,
  "Activity": "sample string 6",
  "Amount": 7.1,
  "Scenario": "sample string 8",
  "BudgetID": 1,
  "BudgetQuantity": 1.1,
  "Costcenter": "sample string 9",
  "Costunit": "sample string 10",
  "EndTime": "2019-08-22T18:23:51.1414349+02:00",
  "FullName": "sample string 11",
  "ID": 1,
  "IsExpense": true,
  "IsSerialBatchItem": true,
  "ItemDescription": "sample string 12",
  "ItemType": "sample string 13",
  "ItemUnit": "sample string 14",
  "LinkedLine": "6cf95c61-0c79-461b-a7f8-9c7d98b4b539",
  "NoteID": "e635bb6c-2193-4e58-9ee5-754d743b0588",
  "oorsprong": "sample string 15",
  "OurReference": "sample string 16",
  "PercentComplete": "sample string 17",
  "Planning": "sample string 18",
  "Postingint": 1,
  "Price": 1.1,
  "ProjectDescription": "sample string 19",
  "Quantity": 1,
  "Request": "sample string 20",
  "Reviewed": 1,
  "Serialint": "sample string 21",
  "StartTime": "2019-08-22T18:23:51.1414349+02:00",
  "Target": "sample string 22",
  "transsubtype": "sample string 23",
  "transtype": "sample string 24",
  "IsFractionAllowedItem": true,
  "ActionFlag": "sample string 25",
  "JournalCode": "sample string 26",
  "IsShowStandardItem": true,
  "IsShowStartTime": true,
  "IsShowEndTime": true,
  "IsShowTarget": true,
  "IsShowPlanningCompletion": true,
  "IsShowRequest": true,
  "StartDateTime": "2019-08-22T18:23:51.1414349+02:00",
  "YourReference": "sample string 27",
  "Option": "sample string 28",
  "InvoiceProposalID": 1,
  "Operation": "sample string 29",
  "Step": 1,
  "TransactionKey": "sample string 30",
  "Action": "sample string 31"
}

application/xml, text/xml

Sample:
<HourEntryLine xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TransactionKey>sample string 30</TransactionKey>
  <Action>sample string 31</Action>
  <ActualQuantity>1.1</ActualQuantity>
  <ItemCode>sample string 2</ItemCode>
  <LineEntryDate>2019-08-22T18:23:51.1414349+02:00</LineEntryDate>
  <ProjectCode>sample string 4</ProjectCode>
  <ResourceID>5.1</ResourceID>
  <Activity>sample string 6</Activity>
  <Amount>7.1</Amount>
  <Scenario>sample string 8</Scenario>
  <BudgetID>1</BudgetID>
  <BudgetQuantity>1.1</BudgetQuantity>
  <Costcenter>sample string 9</Costcenter>
  <Costunit>sample string 10</Costunit>
  <EndTime>2019-08-22T18:23:51.1414349+02:00</EndTime>
  <FullName>sample string 11</FullName>
  <ID>1</ID>
  <IsExpense>true</IsExpense>
  <IsSerialBatchItem>true</IsSerialBatchItem>
  <ItemDescription>sample string 12</ItemDescription>
  <ItemType>sample string 13</ItemType>
  <ItemUnit>sample string 14</ItemUnit>
  <LinkedLine>6cf95c61-0c79-461b-a7f8-9c7d98b4b539</LinkedLine>
  <NoteID>e635bb6c-2193-4e58-9ee5-754d743b0588</NoteID>
  <oorsprong>sample string 15</oorsprong>
  <OurReference>sample string 16</OurReference>
  <PercentComplete>sample string 17</PercentComplete>
  <Planning>sample string 18</Planning>
  <Postingint>1</Postingint>
  <Price>1.1</Price>
  <ProjectDescription>sample string 19</ProjectDescription>
  <Quantity>1</Quantity>
  <Request>sample string 20</Request>
  <Reviewed>1</Reviewed>
  <Serialint>sample string 21</Serialint>
  <StartTime>2019-08-22T18:23:51.1414349+02:00</StartTime>
  <Target>sample string 22</Target>
  <transsubtype>sample string 23</transsubtype>
  <transtype>sample string 24</transtype>
  <IsFractionAllowedItem>true</IsFractionAllowedItem>
  <ActionFlag>sample string 25</ActionFlag>
  <JournalCode>sample string 26</JournalCode>
  <IsShowStandardItem>true</IsShowStandardItem>
  <IsShowStartTime>true</IsShowStartTime>
  <IsShowEndTime>true</IsShowEndTime>
  <IsShowTarget>true</IsShowTarget>
  <IsShowPlanningCompletion>true</IsShowPlanningCompletion>
  <IsShowRequest>true</IsShowRequest>
  <StartDateTime>2019-08-22T18:23:51.1414349+02:00</StartDateTime>
  <YourReference>sample string 27</YourReference>
  <Option>sample string 28</Option>
  <InvoiceProposalID>1</InvoiceProposalID>
  <Operation>sample string 29</Operation>
  <Step>1</Step>
</HourEntryLine>