POST api/WMProAdmin/EditUpdateWidgetMaster

Request Information

URI Parameters

None.

Body Parameters

WidgetMasterInputModels
NameDescriptionTypeAdditional information
WidgetID

integer

None.

WidgetName

string

None.

WidgetDesc

string

None.

WidgetThumb

string

None.

CreatedBy

string

None.

ModifiedBy

string

None.

UserID

string

Required

Password

string

Required

IFAID

string

Required

Token

string

Required

DbInUse

string

None.

Sourceid

integer

None.

Forgot_UserID

string

None.

IsWMPRO

boolean

None.

LoginUserSessionID

integer

Required

IsMagic

string

None.

Request Formats

application/json, text/json

Sample:
{
  "WidgetID": 1,
  "WidgetName": "sample string 2",
  "WidgetDesc": "sample string 3",
  "WidgetThumb": "sample string 4",
  "CreatedBy": "sample string 5",
  "ModifiedBy": "sample string 6",
  "UserID": "sample string 7",
  "Password": "sample string 8",
  "IFAID": "sample string 9",
  "Token": "sample string 10",
  "DbInUse": "sample string 11",
  "Sourceid": 12,
  "Forgot_UserID": "sample string 13",
  "IsWMPRO": true,
  "LoginUserSessionID": 15,
  "IsMagic": "sample string 16"
}

application/xml, text/xml

Sample:
<WidgetMasterInputModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMDataService.Models">
  <IsMagic>sample string 16</IsMagic>
  <IsWMPRO>false</IsWMPRO>
  <LoginUserSessionID>15</LoginUserSessionID>
  <DbInUse>sample string 11</DbInUse>
  <Forgot_UserID>sample string 13</Forgot_UserID>
  <IFAID>sample string 9</IFAID>
  <IsWMPRO>true</IsWMPRO>
  <Password>sample string 8</Password>
  <Sourceid>12</Sourceid>
  <Token>sample string 10</Token>
  <UserID>sample string 7</UserID>
  <CreatedBy>sample string 5</CreatedBy>
  <ModifiedBy>sample string 6</ModifiedBy>
  <WidgetDesc>sample string 3</WidgetDesc>
  <WidgetID>1</WidgetID>
  <WidgetName>sample string 2</WidgetName>
  <WidgetThumb>sample string 4</WidgetThumb>
</WidgetMasterInputModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WidgetMasterOutputModels
NameDescriptionTypeAdditional information
WidgetOutput

Collection of WidgetModels

None.

Status

string

Required

Message

string

Required

MobileOtp

integer

None.

LoginUserSessionID

integer

Required

IsWMPRO

boolean

None.

IsMagic

string

None.

Response Formats

application/json, text/json

Sample:
{
  "WidgetOutput": [
    {
      "WidgetID": 1,
      "WidgetName": "sample string 2",
      "WidgetDesc": "sample string 3",
      "WidgetThumb": "sample string 4",
      "WidgetSettings": "sample string 5",
      "CreatedBy": "sample string 6",
      "ModifiedBy": "sample string 7",
      "DomainId": 8
    },
    {
      "WidgetID": 1,
      "WidgetName": "sample string 2",
      "WidgetDesc": "sample string 3",
      "WidgetThumb": "sample string 4",
      "WidgetSettings": "sample string 5",
      "CreatedBy": "sample string 6",
      "ModifiedBy": "sample string 7",
      "DomainId": 8
    }
  ],
  "Status": "sample string 1",
  "Message": "sample string 2",
  "MobileOtp": 3,
  "LoginUserSessionID": 4,
  "IsWMPRO": true,
  "IsMagic": "sample string 6"
}

application/xml, text/xml

Sample:
<WidgetMasterOutputModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMDataService.Models">
  <IsMagic>sample string 6</IsMagic>
  <IsWMPRO>true</IsWMPRO>
  <LoginUserSessionID>4</LoginUserSessionID>
  <Message>sample string 2</Message>
  <MobileOtp>3</MobileOtp>
  <Status>sample string 1</Status>
  <WidgetOutput>
    <WidgetModels>
      <CreatedBy>sample string 6</CreatedBy>
      <DomainId>8</DomainId>
      <ModifiedBy>sample string 7</ModifiedBy>
      <WidgetDesc>sample string 3</WidgetDesc>
      <WidgetID>1</WidgetID>
      <WidgetName>sample string 2</WidgetName>
      <WidgetSettings>sample string 5</WidgetSettings>
      <WidgetThumb>sample string 4</WidgetThumb>
    </WidgetModels>
    <WidgetModels>
      <CreatedBy>sample string 6</CreatedBy>
      <DomainId>8</DomainId>
      <ModifiedBy>sample string 7</ModifiedBy>
      <WidgetDesc>sample string 3</WidgetDesc>
      <WidgetID>1</WidgetID>
      <WidgetName>sample string 2</WidgetName>
      <WidgetSettings>sample string 5</WidgetSettings>
      <WidgetThumb>sample string 4</WidgetThumb>
    </WidgetModels>
  </WidgetOutput>
</WidgetMasterOutputModels>