PUT api/Gender/{Id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
Body Parameters
GenderName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Age |
سن |
integer |
None. |
CreatedDate | date |
None. |
|
CreatedBy | string |
Max length: 256 |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
Max length: 256 |
|
DeletedDate | date |
None. |
|
DeletedBy | string |
Max length: 256 |
|
Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Age": 2, "CreatedDate": "2024-11-20T19:18:56.6159428+03:30", "CreatedBy": "sample string 3", "UpdatedDate": "2024-11-20T19:18:56.6159428+03:30", "UpdatedBy": "sample string 4", "DeletedDate": "2024-11-20T19:18:56.6159428+03:30", "DeletedBy": "sample string 5", "Id": 6 }
application/xml, text/xml
Sample:
<Gender xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArNikAPI.DomainClasses.General"> <Id xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities">6</Id> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">sample string 3</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">2024-11-20T19:18:56.6159428+03:30</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">sample string 5</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">2024-11-20T19:18:56.6159428+03:30</DeletedDate> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">sample string 4</UpdatedBy> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/ArNikCo.Domain.Entities.Auditing">2024-11-20T19:18:56.6159428+03:30</UpdatedDate> <Age>2</Age> <Name>sample string 1</Name> </Gender>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |