POST api/Serviceteam/AddUserService

Request Information

URI Parameters

None.

Body Parameters

UserService_party
NameDescriptionTypeAdditional information
id

integer

None.

userid

integer

None.

name

string

None.

phone

string

None.

memo

string

None.

serviceid

integer

None.

replycontent

string

None.

state

integer

None.

score

decimal number

None.

createtime

date

None.

type

string

None.

address

string

None.

lat

decimal number

None.

lng

decimal number

None.

reason

string

None.

dialstate

integer

None.

acceptancetime

date

None.

responsetime

integer

None.

servicefeedback

string

None.

endtime

date

None.

remindnumber

integer

None.

villageid

integer

None.

reminderstate

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "userid": 1,
  "name": "sample string 2",
  "phone": "sample string 3",
  "memo": "sample string 4",
  "serviceid": 1,
  "replycontent": "sample string 5",
  "state": 1,
  "score": 1.1,
  "createtime": "2025-11-08T18:38:45.9344554+08:00",
  "type": "sample string 6",
  "address": "sample string 7",
  "lat": 1.0,
  "lng": 1.0,
  "reason": "sample string 8",
  "dialstate": 1,
  "acceptancetime": "2025-11-08T18:38:45.9373906+08:00",
  "responsetime": 1,
  "servicefeedback": "sample string 9",
  "endtime": "2025-11-08T18:38:45.9383695+08:00",
  "remindnumber": 1,
  "villageid": 1,
  "reminderstate": 1
}

application/xml, text/xml

Sample:
<UserService_party xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GanziPrefectureWebAPI">
  <acceptancetime>2025-11-08T18:38:45.9373906+08:00</acceptancetime>
  <address>sample string 7</address>
  <createtime>2025-11-08T18:38:45.9344554+08:00</createtime>
  <dialstate>1</dialstate>
  <endtime>2025-11-08T18:38:45.9383695+08:00</endtime>
  <id>1</id>
  <lat>1</lat>
  <lng>1</lng>
  <memo>sample string 4</memo>
  <name>sample string 2</name>
  <phone>sample string 3</phone>
  <reason>sample string 8</reason>
  <reminderstate>1</reminderstate>
  <remindnumber>1</remindnumber>
  <replycontent>sample string 5</replycontent>
  <responsetime>1</responsetime>
  <score>1.1</score>
  <servicefeedback>sample string 9</servicefeedback>
  <serviceid>1</serviceid>
  <state>1</state>
  <type>sample string 6</type>
  <userid>1</userid>
  <villageid>1</villageid>
</UserService_party>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseEntity
NameDescriptionTypeAdditional information
code

integer

None.

msg

Object

None.

doc1

Object

None.

doc2

Object

None.

doc3

Object

None.

doc4

Object

None.

doc5

Object

None.

doc6

Object

None.

doc7

Object

None.

doc8

Object

None.

doc9

Object

None.

doc10

Object

None.

doc11

Object

None.

doc12

Object

None.

doc13

Object

None.

doc14

Object

None.

doc15

Object

None.

doc16

Object

None.

phone

Object

None.

state

integer

None.

isStudy

integer

None.

count

integer

None.

count1

integer

None.

count2

integer

None.

pager

integer

None.

id

integer

None.

specialList

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": {},
  "doc1": {},
  "doc2": {},
  "doc3": {},
  "doc4": {},
  "doc5": {},
  "doc6": {},
  "doc7": {},
  "doc8": {},
  "doc9": {},
  "doc10": {},
  "doc11": {},
  "doc12": {},
  "doc13": {},
  "doc14": {},
  "doc15": {},
  "doc16": {},
  "phone": {},
  "state": 20,
  "isStudy": 21,
  "count": 22,
  "count1": 23,
  "count2": 24,
  "pager": 25,
  "id": 26,
  "specialList": "sample string 27"
}

application/xml, text/xml

Sample:
<ResponseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GanziPrefectureWebAPI.Models">
  <code>1</code>
  <count>22</count>
  <count1>23</count1>
  <count2>24</count2>
  <doc1 />
  <doc10 />
  <doc11 />
  <doc12 />
  <doc13 />
  <doc14 />
  <doc15 />
  <doc16 />
  <doc2 />
  <doc3 />
  <doc4 />
  <doc5 />
  <doc6 />
  <doc7 />
  <doc8 />
  <doc9 />
  <id>26</id>
  <isStudy>21</isStudy>
  <msg />
  <pager>25</pager>
  <phone />
  <specialList>sample string 27</specialList>
  <state>20</state>
</ResponseEntity>