POST api/User/GetByID
Request Information
URI Parameters
None.
Body Parameters
RequestIDModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
Required |
|
RequestedUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "RequestedUserID": 1 }
application/xml, text/xml
Sample:
<RequestIDModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request"> <RequestedUserID>1</RequestedUserID> <ID>1</ID> </RequestIDModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserResponseName | Description | Type | Additional information |
---|---|---|---|
UserModel | UserModel |
None. |
|
SystemConfig | SystemConfigModel |
None. |
|
ResponseCode | integer |
None. |
|
ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserModel": { "ID": 1, "FirstName": "sample string 2", "LastName": "sample string 3", "EmailAddress": "sample string 4", "PhoneNo": "sample string 5", "Address": "sample string 6", "UserName": "sample string 7", "Password": "sample string 8", "RoleID": 1, "Role": "sample string 9", "Language": "sample string 10", "Image": "sample string 11", "ImageStatus": 1, "ParentUserID": 1, "IsActive": true, "OutletID": 1, "Outlet": "sample string 12", "AttachedImage": { "Base64String": "sample string 1", "Extention": "sample string 2" }, "PassResetterCode": "sample string 13", "RelatedCustomerID": 1, "CreatedAt": "2025-01-22T20:57:37.8865016-06:00", "UpdatedAt": "2025-01-22T20:57:37.8865016-06:00", "UpdatedByUserID": 1, "UpdatePermission": "sample string 14", "UpdatePasswordPermission": "sample string 15", "IsDeliveryPerson": true, "IsReseller": true }, "SystemConfig": { "ID": 1, "TopbarLogoImage": "sample string 2", "FooterLogoImage": "sample string 3", "CurrencySign": "sample string 4", "ReportsLogo": "sample string 5", "IsActive": true, "FooterText": "sample string 6" }, "ResponseCode": 1, "ResponseText": "sample string 2" }
application/xml, text/xml
Sample:
<UserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <ResponseCode>1</ResponseCode> <ResponseText>sample string 2</ResponseText> <SystemConfig> <CurrencySign>sample string 4</CurrencySign> <FooterLogoImage>sample string 3</FooterLogoImage> <FooterText>sample string 6</FooterText> <ID>1</ID> <IsActive>true</IsActive> <ReportsLogo>sample string 5</ReportsLogo> <TopbarLogoImage>sample string 2</TopbarLogoImage> </SystemConfig> <UserModel> <Address>sample string 6</Address> <AttachedImage> <Base64String>sample string 1</Base64String> <Extention>sample string 2</Extention> </AttachedImage> <CreatedAt>2025-01-22T20:57:37.8865016-06:00</CreatedAt> <EmailAddress>sample string 4</EmailAddress> <FirstName>sample string 2</FirstName> <ID>1</ID> <Image>sample string 11</Image> <ImageStatus>1</ImageStatus> <IsActive>true</IsActive> <IsDeliveryPerson>true</IsDeliveryPerson> <IsReseller>true</IsReseller> <Language>sample string 10</Language> <LastName>sample string 3</LastName> <Outlet>sample string 12</Outlet> <OutletID>1</OutletID> <ParentUserID>1</ParentUserID> <PassResetterCode>sample string 13</PassResetterCode> <Password>sample string 8</Password> <PhoneNo>sample string 5</PhoneNo> <RelatedCustomerID>1</RelatedCustomerID> <Role>sample string 9</Role> <RoleID>1</RoleID> <UpdatePasswordPermission>sample string 15</UpdatePasswordPermission> <UpdatePermission>sample string 14</UpdatePermission> <UpdatedAt>2025-01-22T20:57:37.8865016-06:00</UpdatedAt> <UpdatedByUserID>1</UpdatedByUserID> <UserName>sample string 7</UserName> </UserModel> </UserResponse>