GET PublicPortal/DepartmentContactDetails/GetById/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ServiceResponseOfDepartmentContactDetailsModelName | Description | Type | Additional information |
---|---|---|---|
IsSuccess | boolean |
None. |
|
Message | string |
None. |
|
StatusCode | integer |
None. |
|
Data | DepartmentContactDetailsModel |
None. |
|
Exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccess": true, "Message": "sample string 2", "StatusCode": 3, "Data": { "Id": 1, "Code": 1, "DepartmentCode": 1, "DesignationCode": 1, "OfficerName": "sample string 2", "MobileNo": "sample string 3", "Email": "sample string 4", "SSOID": "sample string 5", "CreatedDate": "2025-04-29T01:07:57.06266+05:30", "CreatedBy": 1, "ModifiedDate": "2025-04-29T01:07:57.06266+05:30", "ModifiedBy": 1, "IsActive": true, "IsDeleted": true, "IsVisibleOnFront": true, "ContactCategory": 1, "Place": "sample string 6", "Address": "sample string 7", "AttachmentUrl": "sample string 8", "Url": "sample string 9" }, "Exception": "sample string 4" }
application/xml, text/xml
Sample:
<ServiceResponseOfDepartmentContactDetailsModelh1frI0Td xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMOWebApi.Services.ServiceHelper"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/CMOWebApi.Models.AdminModel.MasterModel"> <d2p1:Address>sample string 7</d2p1:Address> <d2p1:AttachmentUrl>sample string 8</d2p1:AttachmentUrl> <d2p1:Code>1</d2p1:Code> <d2p1:ContactCategory>1</d2p1:ContactCategory> <d2p1:CreatedBy>1</d2p1:CreatedBy> <d2p1:CreatedDate>2025-04-29T01:07:57.06266+05:30</d2p1:CreatedDate> <d2p1:DepartmentCode>1</d2p1:DepartmentCode> <d2p1:DesignationCode>1</d2p1:DesignationCode> <d2p1:Email>sample string 4</d2p1:Email> <d2p1:Id>1</d2p1:Id> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:IsVisibleOnFront>true</d2p1:IsVisibleOnFront> <d2p1:MobileNo>sample string 3</d2p1:MobileNo> <d2p1:ModifiedBy>1</d2p1:ModifiedBy> <d2p1:ModifiedDate>2025-04-29T01:07:57.06266+05:30</d2p1:ModifiedDate> <d2p1:OfficerName>sample string 2</d2p1:OfficerName> <d2p1:Place>sample string 6</d2p1:Place> <d2p1:SSOID>sample string 5</d2p1:SSOID> <d2p1:Url>sample string 9</d2p1:Url> </Data> <Exception>sample string 4</Exception> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> <StatusCode>3</StatusCode> </ServiceResponseOfDepartmentContactDetailsModelh1frI0Td>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsSuccess" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Message" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="StatusCode" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.Id" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.Code" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.DepartmentCode" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.DesignationCode" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.OfficerName" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.MobileNo" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.Email" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.SSOID" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.CreatedDate" 2025-04-29T01:07:57.0626600+05:30 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.CreatedBy" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.ModifiedDate" 2025-04-29T01:07:57.0626600+05:30 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.ModifiedBy" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.IsActive" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.IsDeleted" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.IsVisibleOnFront" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.ContactCategory" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.Place" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.Address" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.AttachmentUrl" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Data.Url" sample string 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Exception" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e--