Reference for https://www.accountabilityapi.com/Service.svc/Timesheets/Export/{FROMDATE}/{TODATE}/{MODIFIEDFROMDATE}/{MODIFIEDTODATE}?format=json

Url: https://www.accountabilityapi.com/Service.svc/Timesheets/Export/{FROMDATE}/{TODATE}/{MODIFIEDFROMDATE}/{MODIFIEDTODATE}?format=json

HTTP Method: GET

Message direction Format Body
Request N/A The Request body is empty.
Response Xml Example,Schema
Response Json Example

The following is an example response Xml body:

<Timesheets xmlns="http://schemas.datacontract.org/2004/07/Accountability.API.Model">
  <Timesheet>
    <ActionDate>1999-05-31T11:20:00</ActionDate>
    <ActionType>String content</ActionType>
    <ApprovedByEmployeeCode>String content</ApprovedByEmployeeCode>
    <ApprovedByEmployeeName>String content</ApprovedByEmployeeName>
    <ApprovedByID>2147483647</ApprovedByID>
    <BillableAmount>12678967.543233</BillableAmount>
    <BillableHours>12678967.543233</BillableHours>
    <BillableRate>12678967.543233</BillableRate>
    <CostAmount>12678967.543233</CostAmount>
    <CostRate>12678967.543233</CostRate>
    <CurrencyCode>String content</CurrencyCode>
    <DateApproved>1999-05-31T11:20:00</DateApproved>
    <DepartmentCode>String content</DepartmentCode>
    <DepartmentName>String content</DepartmentName>
    <EmployeeCode>String content</EmployeeCode>
    <EmployeeID>2147483647</EmployeeID>
    <EmployeeName>String content</EmployeeName>
    <EmployeeOfficeCode>String content</EmployeeOfficeCode>
    <EmployeeOfficeName>String content</EmployeeOfficeName>
    <JobDescription>String content</JobDescription>
    <JobID>2147483647</JobID>
    <JobNo>String content</JobNo>
    <JobOfficeCode>String content</JobOfficeCode>
    <JobOfficeName>String content</JobOfficeName>
    <NonBillableHours>12678967.543233</NonBillableHours>
    <Notes>String content</Notes>
    <TaskTypeCode>String content</TaskTypeCode>
    <TaskTypeID>2147483647</TaskTypeID>
    <TaskTypeName>String content</TaskTypeName>
    <TimeEntryID>2147483647</TimeEntryID>
    <TimeLineID>2147483647</TimeLineID>
    <TimesheetDate>1999-05-31T11:20:00</TimesheetDate>
    <TotalHours>12678967.543233</TotalHours>
  </Timesheet>
  <Timesheet>
    <ActionDate>1999-05-31T11:20:00</ActionDate>
    <ActionType>String content</ActionType>
    <ApprovedByEmployeeCode>String content</ApprovedByEmployeeCode>
    <ApprovedByEmployeeName>String content</ApprovedByEmployeeName>
    <ApprovedByID>2147483647</ApprovedByID>
    <BillableAmount>12678967.543233</BillableAmount>
    <BillableHours>12678967.543233</BillableHours>
    <BillableRate>12678967.543233</BillableRate>
    <CostAmount>12678967.543233</CostAmount>
    <CostRate>12678967.543233</CostRate>
    <CurrencyCode>String content</CurrencyCode>
    <DateApproved>1999-05-31T11:20:00</DateApproved>
    <DepartmentCode>String content</DepartmentCode>
    <DepartmentName>String content</DepartmentName>
    <EmployeeCode>String content</EmployeeCode>
    <EmployeeID>2147483647</EmployeeID>
    <EmployeeName>String content</EmployeeName>
    <EmployeeOfficeCode>String content</EmployeeOfficeCode>
    <EmployeeOfficeName>String content</EmployeeOfficeName>
    <JobDescription>String content</JobDescription>
    <JobID>2147483647</JobID>
    <JobNo>String content</JobNo>
    <JobOfficeCode>String content</JobOfficeCode>
    <JobOfficeName>String content</JobOfficeName>
    <NonBillableHours>12678967.543233</NonBillableHours>
    <Notes>String content</Notes>
    <TaskTypeCode>String content</TaskTypeCode>
    <TaskTypeID>2147483647</TaskTypeID>
    <TaskTypeName>String content</TaskTypeName>
    <TimeEntryID>2147483647</TimeEntryID>
    <TimeLineID>2147483647</TimeLineID>
    <TimesheetDate>1999-05-31T11:20:00</TimesheetDate>
    <TotalHours>12678967.543233</TotalHours>
  </Timesheet>
</Timesheets>

The following is an example response Json body:

[{
	"ActionDate":"\/Date(928113600000+1000)\/",
	"ActionType":"String content",
	"ApprovedByEmployeeCode":"String content",
	"ApprovedByEmployeeName":"String content",
	"ApprovedByID":2147483647,
	"BillableAmount":12678967.543233,
	"BillableHours":12678967.543233,
	"BillableRate":12678967.543233,
	"CostAmount":12678967.543233,
	"CostRate":12678967.543233,
	"CurrencyCode":"String content",
	"DateApproved":"\/Date(928113600000+1000)\/",
	"DepartmentCode":"String content",
	"DepartmentName":"String content",
	"EmployeeCode":"String content",
	"EmployeeID":2147483647,
	"EmployeeName":"String content",
	"EmployeeOfficeCode":"String content",
	"EmployeeOfficeName":"String content",
	"JobDescription":"String content",
	"JobID":2147483647,
	"JobNo":"String content",
	"JobOfficeCode":"String content",
	"JobOfficeName":"String content",
	"NonBillableHours":12678967.543233,
	"Notes":"String content",
	"TaskTypeCode":"String content",
	"TaskTypeID":2147483647,
	"TaskTypeName":"String content",
	"TimeEntryID":2147483647,
	"TimeLineID":2147483647,
	"TimesheetDate":"\/Date(928113600000+1000)\/",
	"TotalHours":12678967.543233
}]

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Accountability.API.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Accountability.API.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="Timesheets">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Timesheet" nillable="true" type="tns:Timesheet" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Timesheets" nillable="true" type="tns:Timesheets" />
  <xs:complexType name="Timesheet">
    <xs:sequence>
      <xs:element minOccurs="0" name="ActionDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ActionType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ApprovedByEmployeeCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ApprovedByEmployeeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ApprovedByID" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="BillableAmount" type="xs:decimal" />
      <xs:element minOccurs="0" name="BillableHours" type="xs:decimal" />
      <xs:element minOccurs="0" name="BillableRate" type="xs:decimal" />
      <xs:element minOccurs="0" name="CostAmount" type="xs:decimal" />
      <xs:element minOccurs="0" name="CostRate" type="xs:decimal" />
      <xs:element minOccurs="0" name="CurrencyCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DateApproved" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DepartmentCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DepartmentName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EmployeeCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EmployeeID" type="xs:int" />
      <xs:element minOccurs="0" name="EmployeeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EmployeeOfficeCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EmployeeOfficeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="JobDescription" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="JobID" type="xs:int" />
      <xs:element minOccurs="0" name="JobNo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="JobOfficeCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="JobOfficeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NonBillableHours" type="xs:decimal" />
      <xs:element minOccurs="0" name="Notes" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TaskTypeCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TaskTypeID" type="xs:int" />
      <xs:element minOccurs="0" name="TaskTypeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TimeEntryID" type="xs:int" />
      <xs:element minOccurs="0" name="TimeLineID" type="xs:int" />
      <xs:element minOccurs="0" name="TimesheetDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="TotalHours" type="xs:decimal" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Timesheet" nillable="true" type="tns:Timesheet" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>