POST api/v1/UserRole/UpdateFields_Screen

Request Information

URI Parameters

None.

Body Parameters

EzyObjectFieldValues
NameDescriptionTypeAdditional information
ParentId

string

None.

ProjectId

string

None.

Id

string

None.

Url

string

None.

Values

Collection of EzyFieldValues

None.

RequestData

Dictionary of string [key] and Object [value]

None.

UserLoginId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ParentId": "sample string 2",
  "ProjectId": "sample string 2",
  "Id": "sample string 3",
  "Url": "sample string 4",
  "Values": [
    {
      "FieldName": "sample string 1",
      "ExtData": "sample string 2",
      "OldValue": {},
      "NewValue": {}
    },
    {
      "FieldName": "sample string 1",
      "ExtData": "sample string 2",
      "OldValue": {},
      "NewValue": {}
    }
  ],
  "RequestData": null,
  "UserLoginId": "sample string 5"
}

application/xml, text/xml

Sample:
<EzyObjectFieldValues xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Data">
  <Id>sample string 3</Id>
  <ParentId>sample string 2</ParentId>
  <ProjectId>sample string 2</ProjectId>
  <RequestData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <Url>sample string 4</Url>
  <UserLoginId>sample string 5</UserLoginId>
  <Values>
    <EzyFieldValues>
      <NewValue />
      <OldValue />
      <ExtData>sample string 2</ExtData>
      <FieldName>sample string 1</FieldName>
    </EzyFieldValues>
    <EzyFieldValues>
      <NewValue />
      <OldValue />
      <ExtData>sample string 2</ExtData>
      <FieldName>sample string 1</FieldName>
    </EzyFieldValues>
  </Values>
</EzyObjectFieldValues>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EzyObjectFieldValues'.

Response Information

Resource Description

EzyResultObjectOfUserRole_Menu_MappingModel
NameDescriptionTypeAdditional information
Data

UserRole_Menu_MappingModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "sample string 1",
    "UserRoleId": "sample string 2",
    "ScreenId": "sample string 3",
    "ScreenId_Name": "sample string 4",
    "ScreenId_Group": "sample string 5",
    "ScreenId_Type": "sample string 6",
    "CanView": true,
    "CanEdit": true,
    "Note": "sample string 7"
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfUserRole_Menu_MappingModelOtoXqmQY xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ezy.APIService.AppSystemService.Models">
    <d2p1:CanEdit>true</d2p1:CanEdit>
    <d2p1:CanView>true</d2p1:CanView>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:Note>sample string 7</d2p1:Note>
    <d2p1:ScreenId>sample string 3</d2p1:ScreenId>
    <d2p1:ScreenId_Group>sample string 5</d2p1:ScreenId_Group>
    <d2p1:ScreenId_Name>sample string 4</d2p1:ScreenId_Name>
    <d2p1:ScreenId_Type>sample string 6</d2p1:ScreenId_Type>
    <d2p1:UserRoleId>sample string 2</d2p1:UserRoleId>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfUserRole_Menu_MappingModelOtoXqmQY>