GET api/Service/ChangeStatusForService?status_code={status_code}&service_record_code={service_record_code}&emp_line_code={emp_line_code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
status_code

integer

Required

service_record_code

integer

Required

emp_line_code

integer

Required

Body Parameters

None.

Response Information

Resource Description

StatusForService
NameDescriptionTypeAdditional information
status_code

integer

None.

status_template_code

integer

None.

sla_time

decimal number

None.

insert_time

date

None.

pause_start_time

date

None.

inPause

boolean

None.

status_name

string

None.

business_days_only

boolean

None.

can_pause

boolean

None.

can_change

boolean

None.

sla_zero

boolean

None.

more_info

string

None.

reasons

Object

None.

reasons_text

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status_code": 1,
  "status_template_code": 2,
  "sla_time": 3.1,
  "insert_time": "2024-06-21T16:13:42.059972+03:00",
  "pause_start_time": "2024-06-21T16:13:42.059972+03:00",
  "inPause": true,
  "status_name": "sample string 5",
  "business_days_only": true,
  "can_pause": true,
  "can_change": true,
  "sla_zero": true,
  "more_info": "sample string 10",
  "reasons": {},
  "reasons_text": "sample string 12"
}

application/xml, text/xml

Sample:
<StatusForService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Service">
  <business_days_only>true</business_days_only>
  <can_change>true</can_change>
  <can_pause>true</can_pause>
  <inPause>true</inPause>
  <insert_time>2024-06-21T16:13:42.059972+03:00</insert_time>
  <more_info>sample string 10</more_info>
  <pause_start_time>2024-06-21T16:13:42.059972+03:00</pause_start_time>
  <reasons />
  <reasons_text>sample string 12</reasons_text>
  <sla_time>3.1</sla_time>
  <sla_zero>true</sla_zero>
  <status_code>1</status_code>
  <status_name>sample string 5</status_name>
  <status_template_code>2</status_template_code>
</StatusForService>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.