GET api/Exception/GetException?exceptionDataId={exceptionDataId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
exceptionDataId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ExceptionDataName | Description | Type | Additional information |
---|---|---|---|
ExceptionDataId | integer |
None. |
|
ApplicationName | string |
None. |
|
ApplicationVersion | string |
None. |
|
Message | string |
None. |
|
StackTrace | string |
None. |
|
Type | string |
None. |
|
MachineName | string |
None. |
|
ExceptionDataJson | string |
None. |
|
CreatedBy | integer |
None. |
|
CreatedDate | date |
None. |
|
AdditionalDetails | string |
None. |
|
CreatedByUser | User |
None. |
Response Formats
application/json, text/json
Sample:
{ "exceptionDataId": 1, "applicationName": "sample string 2", "applicationVersion": "sample string 3", "message": "sample string 4", "stackTrace": "sample string 5", "type": "sample string 6", "machineName": "sample string 7", "exceptionDataJson": "sample string 8", "createdBy": 9, "createdDate": "2024-11-21T09:46:11.3460215+00:00", "additionalDetails": "sample string 11", "createdByUser": { "userId": 1, "username": "sample string 2", "firstName": "sample string 3", "lastName": "sample string 4", "email": "sample string 5", "isActive": true, "isSystem": true, "isADBased": true, "businessUnitId": 9, "permissionIds": [ 1, 2 ], "fullName": "sample string 3 sample string 4", "businessUnit": { "businessUnitId": 1, "description": "sample string 2", "isAHS": true } } }
text/html
Sample:
{"exceptionDataId":1,"applicationName":"sample string 2","applicationVersion":"sample string 3","message":"sample string 4","stackTrace":"sample string 5","type":"sample string 6","machineName":"sample string 7","exceptionDataJson":"sample string 8","createdBy":9,"createdDate":"2024-11-21T09:46:11.3460215+00:00","additionalDetails":"sample string 11","createdByUser":{"userId":1,"username":"sample string 2","firstName":"sample string 3","lastName":"sample string 4","email":"sample string 5","isActive":true,"isSystem":true,"isADBased":true,"businessUnitId":9,"permissionIds":[1,2],"fullName":"sample string 3 sample string 4","businessUnit":{"businessUnitId":1,"description":"sample string 2","isAHS":true}}}
application/xml, text/xml
Sample:
<ExceptionData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AHS.Server.Entities"> <AdditionalDetails>sample string 11</AdditionalDetails> <ApplicationName>sample string 2</ApplicationName> <ApplicationVersion>sample string 3</ApplicationVersion> <CreatedBy>9</CreatedBy> <CreatedByUser> <BusinessUnit> <BusinessUnitId>1</BusinessUnitId> <Description>sample string 2</Description> <IsAHS>true</IsAHS> </BusinessUnit> <BusinessUnitId>9</BusinessUnitId> <Email>sample string 5</Email> <FirstName>sample string 3</FirstName> <IsADBased>true</IsADBased> <IsActive>true</IsActive> <IsSystem>true</IsSystem> <LastName>sample string 4</LastName> <PermissionIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:short>1</d3p1:short> <d3p1:short>2</d3p1:short> </PermissionIds> <UserId>1</UserId> <Username>sample string 2</Username> </CreatedByUser> <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-11-21T09:46:11.3460215Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </CreatedDate> <ExceptionDataId>1</ExceptionDataId> <ExceptionDataJson>sample string 8</ExceptionDataJson> <MachineName>sample string 7</MachineName> <Message>sample string 4</Message> <StackTrace>sample string 5</StackTrace> <Type>sample string 6</Type> </ExceptionData>