GET api/Event_Penalty/{SubEventId}/{type}/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SubEventId | integer |
Required |
|
type | string |
Required |
|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
event_penalty_input_dcName | Description | Type | Additional information |
---|---|---|---|
entry | event_penalty_dc |
None. |
|
ittfids | Collection of integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "entry": { "Individuals_EventPenaltyId": 1, "ittfid": 1, "EventId": 1, "CategoryCode": "sample string 1", "AgeCategoryCode": "sample string 2", "SubEventId": 1, "RankingCategoryCode": "sample string 3", "PenaltyWeekExpiry": 1, "PenaltyMonthExpiry": 1, "PenaltyYearExpiry": 1, "PenaltyExpiryDate": "2025-07-18T16:07:55.4680556+00:00", "PenaltyTypeId": 1, "IsDirectPenalty": true, "Comments": "sample string 4", "PairId": 1, "PairCombination": "sample string 5" }, "ittfids": [ 1, 2 ] }
application/xml, text/xml
Sample:
<event_penalty_input_dc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers"> <entry> <AgeCategoryCode>sample string 2</AgeCategoryCode> <CategoryCode>sample string 1</CategoryCode> <Comments>sample string 4</Comments> <EventId>1</EventId> <Individuals_EventPenaltyId>1</Individuals_EventPenaltyId> <IsDirectPenalty>true</IsDirectPenalty> <PairCombination>sample string 5</PairCombination> <PairId>1</PairId> <PenaltyExpiryDate>2025-07-18T16:07:55.4680556+00:00</PenaltyExpiryDate> <PenaltyMonthExpiry>1</PenaltyMonthExpiry> <PenaltyTypeId>1</PenaltyTypeId> <PenaltyWeekExpiry>1</PenaltyWeekExpiry> <PenaltyYearExpiry>1</PenaltyYearExpiry> <RankingCategoryCode>sample string 3</RankingCategoryCode> <SubEventId>1</SubEventId> <ittfid>1</ittfid> </entry> <ittfids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ittfids> </event_penalty_input_dc>