POST api/ResultList/SaveInvite
Request Information
URI Parameters
None.
Body Parameters
InviteDto| Name | Description | Type | Additional information |
|---|---|---|---|
| resultId | integer |
None. |
|
| resultUserId | integer |
None. |
|
| resultName | string |
None. |
|
| expertId | integer |
None. |
|
| userId | integer |
None. |
|
| inviteMoney | integer |
None. |
|
| userIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"resultId": 1,
"resultUserId": 2,
"resultName": "sample string 3",
"expertId": 4,
"userId": 5,
"inviteMoney": 6,
"userIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<InviteDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fsh.Core.Models.Dto">
<expertId>4</expertId>
<inviteMoney>6</inviteMoney>
<resultId>1</resultId>
<resultName>sample string 3</resultName>
<resultUserId>2</resultUserId>
<userId>5</userId>
<userIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</userIds>
</InviteDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
|
| count | integer |
None. |
|
| data | Object |
None. |
|
| otherdata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"count": 1,
"data": {},
"otherdata": {}
}
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fsh.Core.Models.Other"> <code>1</code> <count>1</count> <data /> <msg>sample string 2</msg> <otherdata /> </ApiResult>