Reference for https://epona.centerbase.com/Mobile/api.svc/json/matter/billing-code-settings
Url: https://epona.centerbase.com/Mobile/api.svc/json/matter/billing-code-settings
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:
<CBAPIRequestMatterBillingCodeSettingsBatch xmlns="www.Centerbase.com">
<session-id>1627aea5-8e0a-4371-9022-9b504344e724</session-id>
<matter-ids>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
</matter-ids>
</CBAPIRequestMatterBillingCodeSettingsBatch>
The following is an example request Json body:
{
"session-id":"1627aea5-8e0a-4371-9022-9b504344e724",
"matter-ids":["String content"]
}
The following is an example response Xml body:
<CBAPIResponseMatterBillingCodeSettingsBatch xmlns="www.Centerbase.com">
<error-code>2147483647</error-code>
<error-message>String content</error-message>
<matters>
<CBAPIMatterBillingCodeSettingsItem>
<matter-id>String content</matter-id>
<settings>
<error-code>2147483647</error-code>
<error-message>String content</error-message>
<default-location-billing-code>String content</default-location-billing-code>
<default-primary-billing-code>String content</default-primary-billing-code>
<default-secondary-billing-code>String content</default-secondary-billing-code>
<is-non-billable>true</is-non-billable>
<location-billing-code-class>2147483647</location-billing-code-class>
<location-billing-code-class-name>String content</location-billing-code-class-name>
<primary-billing-code-class>2147483647</primary-billing-code-class>
<primary-billing-code-class-name>String content</primary-billing-code-class-name>
<require-location-billing-code>true</require-location-billing-code>
<require-secondary-billing-code>true</require-secondary-billing-code>
<secondary-billing-code-class>2147483647</secondary-billing-code-class>
<secondary-billing-code-class-name>String content</secondary-billing-code-class-name>
<show-location-billing-code>true</show-location-billing-code>
<show-primary-billing-code>true</show-primary-billing-code>
<show-secondary-billing-code>true</show-secondary-billing-code>
<stop-billing-enabled>true</stop-billing-enabled>
<stop-billing-exclude-expenses>true</stop-billing-exclude-expenses>
<stop-billing-statuses>String content</stop-billing-statuses>
</settings>
</CBAPIMatterBillingCodeSettingsItem>
<CBAPIMatterBillingCodeSettingsItem>
<matter-id>String content</matter-id>
<settings>
<error-code>2147483647</error-code>
<error-message>String content</error-message>
<default-location-billing-code>String content</default-location-billing-code>
<default-primary-billing-code>String content</default-primary-billing-code>
<default-secondary-billing-code>String content</default-secondary-billing-code>
<is-non-billable>true</is-non-billable>
<location-billing-code-class>2147483647</location-billing-code-class>
<location-billing-code-class-name>String content</location-billing-code-class-name>
<primary-billing-code-class>2147483647</primary-billing-code-class>
<primary-billing-code-class-name>String content</primary-billing-code-class-name>
<require-location-billing-code>true</require-location-billing-code>
<require-secondary-billing-code>true</require-secondary-billing-code>
<secondary-billing-code-class>2147483647</secondary-billing-code-class>
<secondary-billing-code-class-name>String content</secondary-billing-code-class-name>
<show-location-billing-code>true</show-location-billing-code>
<show-primary-billing-code>true</show-primary-billing-code>
<show-secondary-billing-code>true</show-secondary-billing-code>
<stop-billing-enabled>true</stop-billing-enabled>
<stop-billing-exclude-expenses>true</stop-billing-exclude-expenses>
<stop-billing-statuses>String content</stop-billing-statuses>
</settings>
</CBAPIMatterBillingCodeSettingsItem>
</matters>
</CBAPIResponseMatterBillingCodeSettingsBatch>
The following is an example response Json body:
{
"error-code":2147483647,
"error-message":"String content",
"matters":[{
"matter-id":"String content",
"settings":{
"error-code":2147483647,
"error-message":"String content",
"default-location-billing-code":"String content",
"default-primary-billing-code":"String content",
"default-secondary-billing-code":"String content",
"is-non-billable":true,
"location-billing-code-class":2147483647,
"location-billing-code-class-name":"String content",
"primary-billing-code-class":2147483647,
"primary-billing-code-class-name":"String content",
"require-location-billing-code":true,
"require-secondary-billing-code":true,
"secondary-billing-code-class":2147483647,
"secondary-billing-code-class-name":"String content",
"show-location-billing-code":true,
"show-primary-billing-code":true,
"show-secondary-billing-code":true,
"stop-billing-enabled":true,
"stop-billing-exclude-expenses":true,
"stop-billing-statuses":"String content"
}
}]
}
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/Arrays" />
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xs:complexType name="CBAPIRequestMatterBillingCodeSettingsBatch">
<xs:complexContent mixed="false">
<xs:extension base="tns:CBAPIRequestBase">
<xs:sequence>
<xs:element minOccurs="0" name="matter-ids" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CBAPIRequestMatterBillingCodeSettingsBatch" nillable="true" type="tns:CBAPIRequestMatterBillingCodeSettingsBatch" />
<xs:complexType name="CBAPIRequestBase">
<xs:sequence>
<xs:element minOccurs="0" name="session-id" type="ser:guid" />
</xs:sequence>
</xs:complexType>
<xs:element name="CBAPIRequestBase" nillable="true" type="tns:CBAPIRequestBase" />
</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.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="ArrayOfstring">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
</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:tns="www.Centerbase.com" elementFormDefault="qualified" targetNamespace="www.Centerbase.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="CBAPIResponseMatterBillingCodeSettingsBatch">
<xs:complexContent mixed="false">
<xs:extension base="tns:CBAPIResponseBase">
<xs:sequence>
<xs:element minOccurs="0" name="matters" nillable="true" type="tns:ArrayOfCBAPIMatterBillingCodeSettingsItem" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CBAPIResponseMatterBillingCodeSettingsBatch" nillable="true" type="tns:CBAPIResponseMatterBillingCodeSettingsBatch" />
<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:complexType name="ArrayOfCBAPIMatterBillingCodeSettingsItem">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="CBAPIMatterBillingCodeSettingsItem" nillable="true" type="tns:CBAPIMatterBillingCodeSettingsItem" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfCBAPIMatterBillingCodeSettingsItem" nillable="true" type="tns:ArrayOfCBAPIMatterBillingCodeSettingsItem" />
<xs:complexType name="CBAPIMatterBillingCodeSettingsItem">
<xs:sequence>
<xs:element minOccurs="0" name="matter-id" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="settings" nillable="true" type="tns:CBAPIResponseMatterBillingCodeSettings" />
</xs:sequence>
</xs:complexType>
<xs:element name="CBAPIMatterBillingCodeSettingsItem" nillable="true" type="tns:CBAPIMatterBillingCodeSettingsItem" />
<xs:complexType name="CBAPIResponseMatterBillingCodeSettings">
<xs:complexContent mixed="false">
<xs:extension base="tns:CBAPIResponseBase">
<xs:sequence>
<xs:element minOccurs="0" name="default-location-billing-code" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="default-primary-billing-code" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="default-secondary-billing-code" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="is-non-billable" type="xs:boolean" />
<xs:element minOccurs="0" name="location-billing-code-class" type="xs:int" />
<xs:element minOccurs="0" name="location-billing-code-class-name" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="primary-billing-code-class" type="xs:int" />
<xs:element minOccurs="0" name="primary-billing-code-class-name" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="require-location-billing-code" type="xs:boolean" />
<xs:element minOccurs="0" name="require-secondary-billing-code" type="xs:boolean" />
<xs:element minOccurs="0" name="secondary-billing-code-class" type="xs:int" />
<xs:element minOccurs="0" name="secondary-billing-code-class-name" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="show-location-billing-code" type="xs:boolean" />
<xs:element minOccurs="0" name="show-primary-billing-code" type="xs:boolean" />
<xs:element minOccurs="0" name="show-secondary-billing-code" type="xs:boolean" />
<xs:element minOccurs="0" name="stop-billing-enabled" type="xs:boolean" />
<xs:element minOccurs="0" name="stop-billing-exclude-expenses" type="xs:boolean" />
<xs:element minOccurs="0" name="stop-billing-statuses" nillable="true" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CBAPIResponseMatterBillingCodeSettings" nillable="true" type="tns:CBAPIResponseMatterBillingCodeSettings" />
</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>