Reference for https://epona.centerbase.com/Mobile/api.svc/json/billingentries
Url: https://epona.centerbase.com/Mobile/api.svc/json/billingentries
HTTP Method: POST
| Message direction | Format | Body |
|---|---|---|
| Request | Xml | Example,Schema |
| Request | Json | Example |
| Response | Xml | Example,Schema |
| Response | Json | Example |
The following is an example request Xml body:
<CBAPIRequestSaveTimeExpense xmlns="www.Centerbase.com"> <actualQuantity>12678967.543233</actualQuantity> <actualRate>12678967.543233</actualRate> <billingCodeId>1627aea5-8e0a-4371-9022-9b504344e724</billingCodeId> <billingCodeName>String content</billingCodeName> <creditQuantity>12678967.543233</creditQuantity> <description>String content</description> <durationHours>2147483647</durationHours> <entryDate>String content</entryDate> <hasTimekeeperChanged>true</hasTimekeeperChanged> <hideFromInvoice>true</hideFromInvoice> <hideRates>true</hideRates> <id>1627aea5-8e0a-4371-9022-9b504344e724</id> <isFlatRate>true</isFlatRate> <isNonBillable>true</isNonBillable> <isTaxable>true</isTaxable> <locationCodeId>1627aea5-8e0a-4371-9022-9b504344e724</locationCodeId> <matterId>1627aea5-8e0a-4371-9022-9b504344e724</matterId> <notes>String content</notes> <quantity>12678967.543233</quantity> <rate>12678967.543233</rate> <rateType>Invalid</rateType> <rawQuantity>12678967.543233</rawQuantity> <secondaryCodeId>1627aea5-8e0a-4371-9022-9b504344e724</secondaryCodeId> <timeExpenseType>2147483647</timeExpenseType> <timekeeperId>1627aea5-8e0a-4371-9022-9b504344e724</timekeeperId> <timerId>1627aea5-8e0a-4371-9022-9b504344e724</timerId> <userEditedWorkedHours>true</userEditedWorkedHours> </CBAPIRequestSaveTimeExpense>
The following is an example request Json body:
{
"actualQuantity":12678967.543233,
"actualRate":12678967.543233,
"billingCodeId":"1627aea5-8e0a-4371-9022-9b504344e724",
"billingCodeName":"String content",
"creditQuantity":12678967.543233,
"description":"String content",
"durationHours":2147483647,
"entryDate":"String content",
"hasTimekeeperChanged":true,
"hideFromInvoice":true,
"hideRates":true,
"id":"1627aea5-8e0a-4371-9022-9b504344e724",
"isFlatRate":true,
"isNonBillable":true,
"isTaxable":true,
"locationCodeId":"1627aea5-8e0a-4371-9022-9b504344e724",
"matterId":"1627aea5-8e0a-4371-9022-9b504344e724",
"notes":"String content",
"quantity":12678967.543233,
"rate":12678967.543233,
"rateType":0,
"rawQuantity":12678967.543233,
"secondaryCodeId":"1627aea5-8e0a-4371-9022-9b504344e724",
"timeExpenseType":2147483647,
"timekeeperId":"1627aea5-8e0a-4371-9022-9b504344e724",
"timerId":"1627aea5-8e0a-4371-9022-9b504344e724",
"userEditedWorkedHours":true
}
The following is an example response Xml body:
<CBAPIResponseSaveTimeExpense xmlns="www.Centerbase.com"> <error-code>2147483647</error-code> <error-message>String content</error-message> <entry-id>1627aea5-8e0a-4371-9022-9b504344e724</entry-id> </CBAPIResponseSaveTimeExpense>
The following is an example response Json body:
{
"error-code":2147483647,
"error-message":"String content",
"entry-id":"1627aea5-8e0a-4371-9022-9b504344e724"
}
The following is the request Xml Schema:
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="www.Centerbase.com" elementFormDefault="qualified" targetNamespace="www.Centerbase.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xs:import namespace="http://schemas.datacontract.org/2004/07/MesaUtilities.InvoiceModels" />
<xs:complexType name="CBAPIRequestSaveTimeExpense">
<xs:sequence>
<xs:element minOccurs="0" name="actualQuantity" type="xs:decimal" />
<xs:element minOccurs="0" name="actualRate" type="xs:decimal" />
<xs:element minOccurs="0" name="billingCodeId" nillable="true" type="ser:guid" />
<xs:element minOccurs="0" name="billingCodeName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="creditQuantity" type="xs:decimal" />
<xs:element minOccurs="0" name="description" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="durationHours" type="xs:int" />
<xs:element minOccurs="0" name="entryDate" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="hasTimekeeperChanged" type="xs:boolean" />
<xs:element minOccurs="0" name="hideFromInvoice" type="xs:boolean" />
<xs:element minOccurs="0" name="hideRates" type="xs:boolean" />
<xs:element minOccurs="0" name="id" type="ser:guid" />
<xs:element minOccurs="0" name="isFlatRate" type="xs:boolean" />
<xs:element minOccurs="0" name="isNonBillable" type="xs:boolean" />
<xs:element minOccurs="0" name="isTaxable" type="xs:boolean" />
<xs:element minOccurs="0" name="locationCodeId" type="ser:guid" />
<xs:element minOccurs="0" name="matterId" type="ser:guid" />
<xs:element minOccurs="0" name="notes" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="quantity" type="xs:decimal" />
<xs:element minOccurs="0" name="rate" type="xs:decimal" />
<xs:element minOccurs="0" name="rateType" xmlns:q1="http://schemas.datacontract.org/2004/07/MesaUtilities.InvoiceModels" type="q1:BillingRateTypes" />
<xs:element minOccurs="0" name="rawQuantity" type="xs:decimal" />
<xs:element minOccurs="0" name="secondaryCodeId" nillable="true" type="ser:guid" />
<xs:element minOccurs="0" name="timeExpenseType" type="xs:int" />
<xs:element minOccurs="0" name="timekeeperId" type="ser:guid" />
<xs:element minOccurs="0" name="timerId" nillable="true" type="ser:guid" />
<xs:element minOccurs="0" name="userEditedWorkedHours" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
<xs:element name="CBAPIRequestSaveTimeExpense" nillable="true" type="tns:CBAPIRequestSaveTimeExpense" />
</xs:schema>
Additional request 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>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/MesaUtilities.InvoiceModels" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/MesaUtilities.InvoiceModels" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xs:simpleType name="BillingRateTypes">
<xs:restriction base="xs:string">
<xs:enumeration value="Invalid">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">-1</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="None">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Manual">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DefaultTimekeeperRate">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="DefaultGroupRate">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="SystemGroup">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="SystemTimekeeper">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MatterGroup">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MatterTimekeeper">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">7</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ClientGroup">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ClientTimekeeper">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">9</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MatterExceptionGroup">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">10</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MatterExceptionTimekeeper">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">11</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ClientExceptionGroup">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">12</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ClientExceptionTimekeeper">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">13</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="BillingCode">
<xs:annotation>
<xs:appinfo>
<EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">14</EnumerationValue>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:element name="BillingRateTypes" nillable="true" type="tns:BillingRateTypes" />
</xs:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="schema">
<xs:complexType />
</xs:element>
</xs:schema>
The following is the response Xml Schema:
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="www.Centerbase.com" elementFormDefault="qualified" targetNamespace="www.Centerbase.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xs:complexType name="CBAPIResponseSaveTimeExpense">
<xs:complexContent mixed="false">
<xs:extension base="tns:CBAPIResponseBase">
<xs:sequence>
<xs:element minOccurs="0" name="entry-id" type="ser:guid" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CBAPIResponseSaveTimeExpense" nillable="true" type="tns:CBAPIResponseSaveTimeExpense" />
<xs:complexType name="CBAPIResponseBase">
<xs:sequence>
<xs:element minOccurs="0" name="error-code" type="xs:int" />
<xs:element minOccurs="0" name="error-message" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="CBAPIResponseBase" nillable="true" type="tns:CBAPIResponseBase" />
</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>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="schema">
<xs:complexType />
</xs:element>
</xs:schema>