Retrieves all service models, optionally filtered via OData query options.
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult containing the list of service models.
service_model| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier |
Required |
| contract_id |
Contract Id |
globally unique identifier | |
| service_model_type |
Type of the service model |
string |
Max length: 255 |
| name |
Name of the service model |
string |
Max length: 255 |
| service_model_sla_id |
FK of service_model_sla |
globally unique identifier | |
| id2 |
Internal ID (numeric). Will be used if reference_back_office is empty. |
integer | |
| reference_back_office |
Back office reference |
string |
Max length: 255 |
| archived |
Indicates whether this service model has been archived (no longer selectable). |
boolean | |
| job_type_id |
Foreign key of the job type used when jobs are generated under this service model. |
globally unique identifier | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
Sample:
{
"id": "40699941-41ed-4429-9f2d-b41862e3ff47",
"contract_id": "cf648346-bbfc-4856-b5b6-014921183e21",
"service_model_type": "sample string 3",
"name": "sample string 4",
"service_model_sla_id": "e09afa32-8bfb-4370-9bb0-77b835380bee",
"id2": 6,
"reference_back_office": "sample string 7",
"archived": true,
"job_type_id": "23f6f4e4-daa4-4f56-9c34-6b33c4efb677",
"modified_dateutc": "2026-09-16T08:33:22.0357053+00:00"
}
application/xml, text/xml
Sample:
<service_model xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <archived>true</archived> <contract_id>cf648346-bbfc-4856-b5b6-014921183e21</contract_id> <id>40699941-41ed-4429-9f2d-b41862e3ff47</id> <id2>6</id2> <job_type_id>23f6f4e4-daa4-4f56-9c34-6b33c4efb677</job_type_id> <modified_dateutc>2026-09-16T08:33:22.035Z</modified_dateutc> <name>sample string 4</name> <reference_back_office>sample string 7</reference_back_office> <service_model_sla_id>e09afa32-8bfb-4370-9bb0-77b835380bee</service_model_sla_id> <service_model_type>sample string 3</service_model_type> </service_model>