Get Service Charge Groups
post
/config/sim/v1/sales/getservicechargegroups
Gets a list of all the Service Charge Group
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-OrgShortName: string
The ShortName of the organization
Request body
Root Schema : ServiceChargeGroupGetRequestBody
Type:
object
The input Body model that needs to be given.
Show Source
-
include(optional):
string
Objects included in responseExample:
locations
-
languages(optional):
string
If specified, limits translated strings returnedExample:
en-US,es-SS,lt-LT
-
limit(optional):
integer
If using paging, number of results returned in this page.Example:
10
-
offset(optional):
integer
Starting resource record indexExample:
0
-
orderBy(optional):
string
Sorts the response by the specified field name and sort orderExample:
objectNum:asc
-
searchCriteria(optional):
string
Search criteria to filter results based on field valueExample:
where equals(active,1)
Response
Supported Media Types
- application/json
200 Response
A collection of Service Charge Group Detail objects of the organization
Root Schema : ServiceChargeGroup
Type:
object
Model for ServiceChargeGroup Object
Show Source
-
details(optional):
array details
An array of service charges that are part of the service charge group
-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
1
-
hierUnitName(optional):
object hierUnitName
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the hierarchy unit configured languages
-
hierUnitObjNum(optional):
integer
Object number of the hierarchy unitExample:
1
-
name:
object TranslatedString
Additional Properties Allowed: additionalPropertiesA string that contains translations into multiple languages **Example** `{ "en-US": "coffee", "de-DE": "kaffee", "ar-AR": "????????" }`
-
objectNum:
integer
Object number of the Service Charge GroupExample:
1
Nested Schema : details
Type:
array
An array of service charges that are part of the service charge group
Show Source
Nested Schema : hierUnitName
Type:
object
Additional Properties Allowed
Show Source
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
"en-US":"Enterprise",
"es-SS":"Empresa",
"lt=LT":"??mon??"
}
Nested Schema : TranslatedString
Type:
object
Additional Properties Allowed
Show Source
A string that contains translations into multiple languages
**Example**
`{ "en-US": "coffee", "de-DE": "kaffee", "ar-AR": "????????" }`
Example:
{
"en-US":"Coffee",
"de-DE":"Kaffee",
"ar-AR":"????????"
}
Nested Schema : items
Type:
Show Source
object
-
sequenceNum(optional):
integer
Sequence number of the service charge group detail in the service charge groupExample:
1
-
svcName(optional):
object TranslatedString
Additional Properties Allowed: additionalPropertiesA string that contains translations into multiple languages **Example** `{ "en-US": "coffee", "de-DE": "kaffee", "ar-AR": "????????" }`
-
svcObjNum(optional):
integer
Object number of the service chargeExample:
1
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
object
Response body when the request returns an error.
Show Source
-
detail(optional):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid
-
errorDetails(optional):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist
-
o:errorCode(optional):
integer
Error code of the problemExample:
55223
-
status(optional):
integer
HTTP status code.Example:
400
-
title(optional):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR
-
type(optional):
string
A URI reference that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".Example:
http://www.abc.org/xyz.html
404 Response
404 Requested resource not found