POST AdminMaster/InsertUpdateAdminMaster
Request Information
URI Parameters
None.
Body Parameters
AdminMasterName | Description | Type | Additional information |
---|---|---|---|
IsChecked | integer |
None. |
|
ID | integer |
None. |
|
Gender | string |
None. |
|
UserID | string |
None. |
|
ProfileImageURl | string |
None. |
|
ProfileName | string |
None. |
|
MiddleName | string |
None. |
|
LastName | string |
None. |
|
CompanyName | string |
None. |
|
EmployeeCode | string |
None. |
|
MobileNo | string |
None. |
|
PanNo | string |
None. |
|
AddressLine1 | string |
None. |
|
AddressLine2 | string |
None. |
|
Landmarks | string |
None. |
|
Pincode | string |
None. |
|
Country | string |
None. |
|
State | string |
None. |
|
City | string |
None. |
|
OfficialEmailID | string |
None. |
|
PersonalEmailID | string |
None. |
|
Designation | string |
None. |
|
UserName | string |
None. |
|
Password | string |
None. |
|
MaritalStatus | string |
None. |
|
UserType | integer |
None. |
|
DOB | string |
None. |
|
AnniversaryDate | string |
None. |
|
CreatedOn | date |
None. |
|
VerificationCode | globally unique identifier |
None. |
|
AdminMasterContactInformation | Collection of AdminMasterContactInformation |
None. |
|
RoleModuleMaster | Collection of RoleModuleMaster |
None. |
Request Formats
application/json, text/json
Sample:
{ "IsChecked": 1, "ID": 2, "Gender": "sample string 3", "UserID": "sample string 4", "ProfileImageURl": "sample string 5", "ProfileName": "sample string 6", "MiddleName": "sample string 7", "LastName": "sample string 8", "CompanyName": "sample string 9", "EmployeeCode": "sample string 10", "MobileNo": "sample string 11", "PanNo": "sample string 12", "AddressLine1": "sample string 13", "AddressLine2": "sample string 14", "Landmarks": "sample string 15", "Pincode": "sample string 16", "Country": "sample string 17", "State": "sample string 18", "City": "sample string 19", "OfficialEmailID": "sample string 20", "PersonalEmailID": "sample string 21", "Designation": "sample string 22", "UserName": "sample string 23", "Password": "sample string 24", "MaritalStatus": "sample string 25", "UserType": 26, "DOB": "sample string 27", "AnniversaryDate": "sample string 28", "CreatedOn": "2025-01-10T20:38:55.4899443+05:30", "VerificationCode": "f2c84d03-8ac2-4707-9b06-b990908fb505", "AdminMasterContactInformation": [ { "UserID": "sample string 1", "ContactPersonName": "sample string 2", "ContactPersonNumber": "sample string 3", "ContactPersonEmailID": "sample string 4", "Designation": "sample string 5" }, { "UserID": "sample string 1", "ContactPersonName": "sample string 2", "ContactPersonNumber": "sample string 3", "ContactPersonEmailID": "sample string 4", "Designation": "sample string 5" } ], "RoleModuleMaster": [ { "ID": 1, "RoleModuleID": "sample string 2", "RoleID": "sample string 3", "ModuleID": "sample string 4", "CanRead": 5, "CanModify": 6, "CanDelete": 7, "CanAdd": 8, "UserID": "sample string 9" }, { "ID": 1, "RoleModuleID": "sample string 2", "RoleID": "sample string 3", "ModuleID": "sample string 4", "CanRead": 5, "CanModify": 6, "CanDelete": 7, "CanAdd": 8, "UserID": "sample string 9" } ] }
application/xml, text/xml
Sample:
<AdminMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstaGuru.Models"> <AddressLine1>sample string 13</AddressLine1> <AddressLine2>sample string 14</AddressLine2> <AdminMasterContactInformation> <AdminMasterContactInformation> <ContactPersonEmailID>sample string 4</ContactPersonEmailID> <ContactPersonName>sample string 2</ContactPersonName> <ContactPersonNumber>sample string 3</ContactPersonNumber> <Designation>sample string 5</Designation> <UserID>sample string 1</UserID> </AdminMasterContactInformation> <AdminMasterContactInformation> <ContactPersonEmailID>sample string 4</ContactPersonEmailID> <ContactPersonName>sample string 2</ContactPersonName> <ContactPersonNumber>sample string 3</ContactPersonNumber> <Designation>sample string 5</Designation> <UserID>sample string 1</UserID> </AdminMasterContactInformation> </AdminMasterContactInformation> <AnniversaryDate>sample string 28</AnniversaryDate> <City>sample string 19</City> <CompanyName>sample string 9</CompanyName> <Country>sample string 17</Country> <CreatedOn>2025-01-10T20:38:55.4899443+05:30</CreatedOn> <DOB>sample string 27</DOB> <Designation>sample string 22</Designation> <EmployeeCode>sample string 10</EmployeeCode> <Gender>sample string 3</Gender> <ID>2</ID> <IsChecked>1</IsChecked> <Landmarks>sample string 15</Landmarks> <LastName>sample string 8</LastName> <MaritalStatus>sample string 25</MaritalStatus> <MiddleName>sample string 7</MiddleName> <MobileNo>sample string 11</MobileNo> <OfficialEmailID>sample string 20</OfficialEmailID> <PanNo>sample string 12</PanNo> <Password>sample string 24</Password> <PersonalEmailID>sample string 21</PersonalEmailID> <Pincode>sample string 16</Pincode> <ProfileImageURl>sample string 5</ProfileImageURl> <ProfileName>sample string 6</ProfileName> <RoleModuleMaster> <RoleModuleMaster> <CanAdd>8</CanAdd> <CanDelete>7</CanDelete> <CanModify>6</CanModify> <CanRead>5</CanRead> <ID>1</ID> <ModuleID>sample string 4</ModuleID> <RoleID>sample string 3</RoleID> <RoleModuleID>sample string 2</RoleModuleID> <UserID>sample string 9</UserID> </RoleModuleMaster> <RoleModuleMaster> <CanAdd>8</CanAdd> <CanDelete>7</CanDelete> <CanModify>6</CanModify> <CanRead>5</CanRead> <ID>1</ID> <ModuleID>sample string 4</ModuleID> <RoleID>sample string 3</RoleID> <RoleModuleID>sample string 2</RoleModuleID> <UserID>sample string 9</UserID> </RoleModuleMaster> </RoleModuleMaster> <State>sample string 18</State> <UserID>sample string 4</UserID> <UserName>sample string 23</UserName> <UserType>26</UserType> <VerificationCode>f2c84d03-8ac2-4707-9b06-b990908fb505</VerificationCode> </AdminMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.