PUT api/Colleagues/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
ColleagueDTOName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
None. |
|
LastName | string |
None. |
|
Code | string |
None. |
|
Phone | string |
None. |
|
Title | string |
None. |
|
string |
None. |
||
Groups | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "FirstName": "sample string 1", "LastName": "sample string 2", "Code": "sample string 3", "Phone": "sample string 4", "Title": "sample string 5", "Email": "sample string 6", "Groups": [ "sample string 1", "sample string 2" ] }
text/html, multipart/form-data, application/zip
Sample:
{"FirstName":"sample string 1","LastName":"sample string 2","Code":"sample string 3","Phone":"sample string 4","Title":"sample string 5","Email":"sample string 6","Groups":["sample string 1","sample string 2"]}
application/xml, text/xml
Sample:
<ColleagueDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO"> <Code>sample string 3</Code> <Email>sample string 6</Email> <FirstName>sample string 1</FirstName> <Groups xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Groups> <LastName>sample string 2</LastName> <Phone>sample string 4</Phone> <Title>sample string 5</Title> </ColleagueDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.