PUT V3/odata/Function({key})
Updates Function entity
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key |
FunctionId from Function entity |
integer |
Required |
Body Parameters
QicsUnity.Api.Areas.V3.Models.Function| Name | Description | Type | Additional information |
|---|---|---|---|
| FunctionId |
Gets or sets the FunctionId |
integer |
Required 64-bit signed integer |
| Name |
Gets or sets name of the Function |
string |
Required |
| Code |
Gets or sets code of the Function |
string |
Required |
| CompanyId |
Gets or sets CompanyId |
integer |
Required 64-bit signed integer |
Request Formats
application/json, text/json, application/scim+json
Sample:
{
"FunctionId": "1",
"Name": "sample 2",
"Code": "sample 3",
"CompanyId": "4"
}
application/xml, text/xml
Sample:
<Function xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models"> <Code>sample 3</Code> <CompanyId>4</CompanyId> <FunctionId>1</FunctionId> <Name>sample 2</Name> </Function>
Response Information
Resource Description
QicsUnity.Api.Areas.V3.Models.Function| Name | Description | Type | Additional information |
|---|---|---|---|
| FunctionId |
Gets or sets the FunctionId |
integer |
Required 64-bit signed integer |
| Name |
Gets or sets name of the Function |
string |
Required |
| Code |
Gets or sets code of the Function |
string |
Required |
| CompanyId |
Gets or sets CompanyId |
integer |
Required 64-bit signed integer |
Response Formats
application/json, text/json, application/scim+json
Sample:
{
"FunctionId": "1",
"Name": "sample 2",
"Code": "sample 3",
"CompanyId": "4"
}
application/xml, text/xml
Sample:
<Function xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models"> <Code>sample 3</Code> <CompanyId>4</CompanyId> <FunctionId>1</FunctionId> <Name>sample 2</Name> </Function>