GET api/ServiceTasks/DoTask?task_code={task_code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
task_code

integer

Required

Body Parameters

None.

Response Information

Resource Description

ServiceTask
NameDescriptionTypeAdditional information
task_code

integer

None.

task_type_code

integer

None.

service_code

integer

None.

doer_code

integer

None.

doing_date

date

None.

creator_code

integer

None.

create_date

date

None.

due_date

date

None.

remark

string

String length: inclusive between 0 and 400

active

string

String length: inclusive between 0 and 1

Response Formats

application/json, text/json

Sample:
{
  "task_code": 1,
  "task_type_code": 2,
  "service_code": 3,
  "doer_code": 1,
  "doing_date": "2024-05-02T20:26:26.5007964+03:00",
  "creator_code": 4,
  "create_date": "2024-05-02T20:26:26.5007964+03:00",
  "due_date": "2024-05-02T20:26:26.5007964+03:00",
  "remark": "sample string 7",
  "active": "sample string 8"
}

application/xml, text/xml

Sample:
<ServiceTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <active>sample string 8</active>
  <create_date>2024-05-02T20:26:26.5007964+03:00</create_date>
  <creator_code>4</creator_code>
  <doer_code>1</doer_code>
  <doing_date>2024-05-02T20:26:26.5007964+03:00</doing_date>
  <due_date>2024-05-02T20:26:26.5007964+03:00</due_date>
  <remark>sample string 7</remark>
  <service_code>3</service_code>
  <task_code>1</task_code>
  <task_type_code>2</task_type_code>
</ServiceTask>

application/bson

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