POST api/UpdateStaff
Request Information
URI Parameters
None.
Body Parameters
User| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Address | string |
None. |
|
| string |
None. |
||
| Mobile | string |
None. |
|
| Password | string |
None. |
|
| TypeId | integer |
None. |
|
| Type | UserType |
None. |
|
| USerPriority | integer |
None. |
|
| TeamId | integer |
None. |
|
| Team | Team |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Address": "sample string 3",
"Email": "sample string 4",
"Mobile": "sample string 5",
"Password": "sample string 6",
"TypeId": 1,
"Type": {
"Id": 1,
"Name": "sample string 2",
"UserPriority": 3
},
"USerPriority": 7,
"TeamId": 1,
"Team": {
"Id": 1,
"Name": "sample string 2"
}
}
application/xml, text/xml
Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/core.mcapp">
<Address>sample string 3</Address>
<Email>sample string 4</Email>
<Id>1</Id>
<Mobile>sample string 5</Mobile>
<Name>sample string 2</Name>
<Password>sample string 6</Password>
<Team>
<Id>1</Id>
<Name>sample string 2</Name>
</Team>
<TeamId>1</TeamId>
<Type>
<Id>1</Id>
<Name>sample string 2</Name>
<UserPriority>3</UserPriority>
</Type>
<TypeId>1</TypeId>
<USerPriority>7</USerPriority>
</User>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResposeData| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<ResposeData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.mcapp.Models"> <Id>1</Id> <Message>sample string 2</Message> </ResposeData>