GET api/SubEventType_ByCode/{code}
Get SubEventType by provided Code
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
code | string |
Required |
Body Parameters
None.
Response Information
Resource Description
SubEventTypeName | Description | Type | Additional information |
---|---|---|---|
SubEventTypeId | integer |
None. |
|
SubEventTypeName | string |
None. |
|
SubEventTypeDesc | string |
None. |
|
IsActive | boolean |
None. |
|
CreatedDateTime | date |
None. |
|
LastUpdatedDateTime | date |
None. |
|
CreatedBy | integer |
None. |
|
LastModifiedBy | integer |
None. |
|
IsDeleted | boolean |
None. |
|
Gender | string |
None. |
|
SubEventCode | string |
None. |
|
SubEventODFCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "SubEventTypeId": 1, "SubEventTypeName": "sample string 2", "SubEventTypeDesc": "sample string 3", "IsActive": true, "CreatedDateTime": "2025-07-18T15:53:37.5428103+00:00", "LastUpdatedDateTime": "2025-07-18T15:53:37.5428103+00:00", "CreatedBy": 1, "LastModifiedBy": 1, "IsDeleted": true, "Gender": "sample string 5", "SubEventCode": "sample string 6", "SubEventODFCode": "sample string 7" }
application/xml, text/xml
Sample:
<SubEventType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1"> <CreatedBy>1</CreatedBy> <CreatedDateTime>2025-07-18T15:53:37.5428103+00:00</CreatedDateTime> <Gender>sample string 5</Gender> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <LastModifiedBy>1</LastModifiedBy> <LastUpdatedDateTime>2025-07-18T15:53:37.5428103+00:00</LastUpdatedDateTime> <SubEventCode>sample string 6</SubEventCode> <SubEventODFCode>sample string 7</SubEventODFCode> <SubEventTypeDesc>sample string 3</SubEventTypeDesc> <SubEventTypeId>1</SubEventTypeId> <SubEventTypeName>sample string 2</SubEventTypeName> </SubEventType>