PUT PersonType/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
PersonTypeDtoName | Description | Type | Additional information |
---|---|---|---|
PersonTypeId | integer |
Required |
|
Code | string |
Required String length: inclusive between 0 and 500 |
|
Title | string |
Required String length: inclusive between 0 and 500 |
|
Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PersonTypeId": 1, "Code": "sample string 2", "Title": "sample string 3", "Description": "sample string 4" }
application/xml, text/xml
Sample:
<PersonTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PackageSite.Models.Dto"> <Code>sample string 2</Code> <Description>sample string 4</Description> <PersonTypeId>1</PersonTypeId> <Title>sample string 3</Title> </PersonTypeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.