POST api/UserMaster/SaveUpdateUserMaster
Request Information
URI Parameters
None.
Body Parameters
UserMasterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
None. |
|
| UserName | string |
None. |
|
| GroupID | integer |
None. |
|
| GroupName | string |
None. |
|
| Doj | string |
None. |
|
| Dob | string |
None. |
|
| Salary | integer |
None. |
|
| Referby | string |
None. |
|
| Password | string |
None. |
|
| Address | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| Country | string |
None. |
|
| Pincode | string |
None. |
|
| Phone | string |
None. |
|
| Mobile | string |
None. |
|
| EmailId | string |
None. |
|
| Remarks | string |
None. |
|
| IsDeleted | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| TotalCount | integer |
None. |
|
| CompanyNumber | string |
None. |
|
| BPRlst | Collection of UserRightsModel |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"UserID": 1,
"UserName": "sample string 2",
"GroupID": 3,
"GroupName": "sample string 4",
"Doj": "sample string 5",
"Dob": "sample string 6",
"Salary": 7,
"Referby": "sample string 8",
"Password": "sample string 9",
"Address": "sample string 10",
"City": "sample string 11",
"State": "sample string 12",
"Country": "sample string 13",
"Pincode": "sample string 14",
"Phone": "sample string 15",
"Mobile": "sample string 16",
"EmailId": "sample string 17",
"Remarks": "sample string 18",
"IsDeleted": 19,
"CreatedBy": 20,
"TotalCount": 21,
"CompanyNumber": "sample string 22",
"BPRlst": [
{
"Id": 1,
"PageId": 2,
"FeatureId": 3,
"PageName": "sample string 4",
"FeatureName": "sample string 5",
"SaveR": 6,
"UpdateR": 7,
"DeleteR": 8,
"ShowR": 9,
"PrintR": 10,
"ExportR": 11,
"SmsR": 12,
"EmailR": 13,
"ChannelIds": "sample string 14",
"IsActive": 15
},
{
"Id": 1,
"PageId": 2,
"FeatureId": 3,
"PageName": "sample string 4",
"FeatureName": "sample string 5",
"SaveR": 6,
"UpdateR": 7,
"DeleteR": 8,
"ShowR": 9,
"PrintR": 10,
"ExportR": 11,
"SmsR": 12,
"EmailR": 13,
"ChannelIds": "sample string 14",
"IsActive": 15
}
]
}
application/xml, text/xml
Sample:
<UserMasterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vision.Model">
<Address>sample string 10</Address>
<BPRlst>
<UserRightsModel>
<ChannelIds>sample string 14</ChannelIds>
<DeleteR>8</DeleteR>
<EmailR>13</EmailR>
<ExportR>11</ExportR>
<FeatureId>3</FeatureId>
<FeatureName>sample string 5</FeatureName>
<Id>1</Id>
<IsActive>15</IsActive>
<PageId>2</PageId>
<PageName>sample string 4</PageName>
<PrintR>10</PrintR>
<SaveR>6</SaveR>
<ShowR>9</ShowR>
<SmsR>12</SmsR>
<UpdateR>7</UpdateR>
</UserRightsModel>
<UserRightsModel>
<ChannelIds>sample string 14</ChannelIds>
<DeleteR>8</DeleteR>
<EmailR>13</EmailR>
<ExportR>11</ExportR>
<FeatureId>3</FeatureId>
<FeatureName>sample string 5</FeatureName>
<Id>1</Id>
<IsActive>15</IsActive>
<PageId>2</PageId>
<PageName>sample string 4</PageName>
<PrintR>10</PrintR>
<SaveR>6</SaveR>
<ShowR>9</ShowR>
<SmsR>12</SmsR>
<UpdateR>7</UpdateR>
</UserRightsModel>
</BPRlst>
<City>sample string 11</City>
<CompanyNumber>sample string 22</CompanyNumber>
<Country>sample string 13</Country>
<CreatedBy>20</CreatedBy>
<Dob>sample string 6</Dob>
<Doj>sample string 5</Doj>
<EmailId>sample string 17</EmailId>
<GroupID>3</GroupID>
<GroupName>sample string 4</GroupName>
<IsDeleted>19</IsDeleted>
<Mobile>sample string 16</Mobile>
<Password>sample string 9</Password>
<Phone>sample string 15</Phone>
<Pincode>sample string 14</Pincode>
<Referby>sample string 8</Referby>
<Remarks>sample string 18</Remarks>
<Salary>7</Salary>
<State>sample string 12</State>
<TotalCount>21</TotalCount>
<UserID>1</UserID>
<UserName>sample string 2</UserName>
</UserMasterModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.