# Conduct

The Conduct record for an incident

## Get a list of conduct

> Return a list of available conduct records

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Tennis","version":"v1"},"tags":[{"name":"Conduct","description":"The Conduct record for an incident"}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["read:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"ConductModel":{"type":"object","additionalProperties":false,"properties":{"conductId":{"description":"The unique identifier of the conduct","type":"string","format":"uuid"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this conduct belongs to","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The person information","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The club that this team belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The team information","type":"object"},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid"},"venue":{"properties":{"resourceType":{"type":"string","enum":["venues"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The venue that this match belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The match","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The season linked to this record","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","type":"object"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":30,"nullable":true},"locationOther":{"description":"The location where the incident occurred","type":"string","maxLength":150,"nullable":true},"eventId":{"description":"The ~event~ that this conduct is linked to","type":"string","format":"uuid"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Set 1\n>- `2` Set 2\n>- `3` Set 3\n>- `4` Set 4\n>- `5` Set 5\n>- `6` Set 6\n>- `7` Set 7\n","type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"fixtureClock":{"description":"Match clock when the incident occurred","type":"string","maxLength":20,"nullable":true},"role":{"description":"The role of person\n>- None None\n>- `CAPTAIN` Captain\n>- `CAPTAIN_VICE` Vice Captain\n>- `CEO` CEO\n>- `COACH` Coach\n>- `COACH_ASSISTANT` Assistant Coach\n>- `COACH_ASSISTANT_HEAD` Assistant Head Coach\n>- `COACH_ASSOCIATE_HEAD` Associate Head Coach\n>- `COACH_DEVELOPMENT` Development Coach\n>- `COACH_HEAD` Head Coach\n>- `COACH_HEAD_INTERIM` Interim Head Coach\n>- `COACH_OTHER` Other coaching staff\n>- `COACH_SC` Strengh and Conditioning Coach\n>- `COACH_SENIOR` Senior Coach\n>- `COACH_SPECIALIST` Specialist Coach\n>- `COMMISSIONER` Commissioner\n>- `COMMITTEE` Committee\n>- `CREW_CHIEF` Crew Chief\n>- `DIRECTOR` Director\n>- `DOCTOR` Doctor\n>- `GENERAL` General\n>- `GROUNDSKEEPER` Groundskeeper\n>- `JUDGE_SCORING` Scoring Judge (SJ)\n>- `JUDGE_TIMING` Timing Judge (TJ)\n>- `MANAGER` Manager\n>- `MATCH_OFFICIAL` Match Official\n>- `MEDIA_OFFICER` Media Officer\n>- `MEDICAL_STAFF` Medical Staff\n>- `OTHER` Other\n>- `PHYSIOTHERAPIST` Physiotherapist\n>- `PRESIDENT` President\n>- `PRESIDENT_VICE` Vice President\n>- `REFEREE` Referee\n>- `REFEREE_ASSISTANT` Referee Assistant\n>- `REFEREE_ASSISTANT_RESERVE` Reserve Assistant Referee\n>- `REFEREE_RESERVE` Reserve Referee\n>- `SCOREKEEPER` Scorekeeper\n>- `SCOREKEEPER_ASSISTANT` Assistant Scorekeeper\n>- `SCORER` Scorer\n>- `SCORER_ASSISTANT` Assistant Scorer\n>- `SECRETARY` Secretary\n>- `STATISTICIAN` Statistician\n>- `TECHNICAL_OFFICIAL` Technical Official (TO)\n>- `TIMEKEEPER` Timekeeper\n>- `TIMER` Timer\n>- `TRAINER` Trainer\n>- `TRAINER_ASSISTANT` Assitant Trainer\n>- `TRANSLATOR` Translator\n>- `TREASURER` Treasurer\n>- `UMPIRE` Umpire\n>- `UMPIRE_RESERVE` Reserve Umpire (RU)\n>- `UMPIRE_VIDEO` Video Umpire (VU)\n>- `VIDEO_TECHNICIAN` Video Technician (VT)\n","type":"string","enum":["COACH","COACH_HEAD","COACH_HEAD_INTERIM","COACH_ASSISTANT","COACH_ASSISTANT_HEAD","COACH_ASSOCIATE_HEAD","COACH_SC","COACH_SENIOR","COACH_DEVELOPMENT","COACH_SPECIALIST","COACH_OTHER","CAPTAIN","CAPTAIN_VICE","DOCTOR","PHYSIOTHERAPIST","MEDICAL_STAFF","TRAINER","TRAINER_ASSISTANT","MATCH_OFFICIAL","COMMISSIONER","STATISTICIAN","SCOREKEEPER","SCOREKEEPER_ASSISTANT","TIMEKEEPER","SCORER","SCORER_ASSISTANT","TIMER","GROUNDSKEEPER","CEO","COMMITTEE","PRESIDENT","DIRECTOR","PRESIDENT_VICE","SECRETARY","TREASURER","MANAGER","GENERAL","OTHER","REFEREE","UMPIRE","REFEREE_ASSISTANT","REFEREE_RESERVE","REFEREE_ASSISTANT_RESERVE","CREW_CHIEF","UMPIRE_RESERVE","UMPIRE_VIDEO","JUDGE_SCORING","JUDGE_TIMING","TECHNICAL_OFFICIAL","VIDEO_TECHNICIAN","TRANSLATOR","MEDIA_OFFICER",null],"maxLength":100,"nullable":true},"dateOffenceLocal":{"description":"Date & Time of the Offence in the local timezone","type":"string","format":"date-time","nullable":true},"conductType":{"type":"array","items":{"type":"string","enum":["SWEARING","CORRUPTION","VIOLENT_CONDUCT","MATCH_FIXING","CITATION","UNSPORTSMANLIKE_CONDUCT","DOPING","CONCUSSION"]},"minItems":1},"conductNotes":{"description":"Notes of the Conduct incident","type":"string","maxLength":2000,"nullable":true},"dateHearingLocal":{"description":"Date hearing","type":"string","format":"date","nullable":true},"hearingNotes":{"description":"Notes from the conduct hearing","type":"string","maxLength":500,"nullable":true},"hearingStatus":{"description":"Conduct hearing status\n>- None None\n>- `FINALIZED` Finalized\n>- `PENDING` Pending\n","type":"string","enum":["PENDING","FINALIZED",null],"nullable":true},"lifeSentence":{"description":"Was the result of the conduct hearing a life sentence?","type":"boolean"},"penaltyResults":{"type":"array","items":{"type":"object","nullable":true,"title":"Conduct penalty result","additionalProperties":false,"properties":{"penaltyType":{"type":"string","description":"Penalty type","maxLength":30,"enum":["FINANCIAL","WEEKS","GAMES","MONTHS","YEARS"],"nullable":true},"penaltyValue":{"description":"Penalty value","nullable":true,"type":"integer"}}}},"fineAmount":{"description":"Conduct fine amount","type":"number","format":"float"},"fineCurrency":{"description":"Fine currency","type":"string","maxLength":20,"nullable":true},"fineStatus":{"description":"Conduct fine due status\n>- None None\n>- `CANCELLED` Cancelled\n>- `ISSUED` Issued\n>- `OTHER` Other\n>- `PAID` Paid\n>- `UNPAID` Unpaid\n","type":"string","enum":["ISSUED","PAID","UNPAID","CANCELLED","OTHER",null],"nullable":true},"dateSuspendedTo":{"description":"Date the suspension ended","type":"string","format":"date","nullable":true},"dateSuspendedFrom":{"description":"Date the suspension started","type":"string","format":"date","nullable":true},"dateFinePaidLocal":{"description":"Date the fine was paid","type":"string","format":"date","nullable":true},"status":{"description":"Conduct status\n>- None None\n>- `ACTIVE` Active\n>- `CLOSED` Closed\n>- `COMPLETE` Complete\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING","COMPLETE","CLOSED",null],"maxLength":30,"nullable":true},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"conduct model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"added":{"name":"added","description":"Record was added after this date/time. In UTC.","schema":{"type":"string","format":"date-time"},"required":false,"in":"query"},"competitionId":{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"conductStatus":{"name":"conductStatus","description":"Conduct status. Multiple allowed (comma-delimited).\n>- None None\n>- `ACTIVE` Active\n>- `CLOSED` Closed\n>- `COMPLETE` Complete\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","schema":{"type":"string","enum":["ACTIVE","INACTIVE","PENDING","COMPLETE","CLOSED",null],"maxLength":200,"nullable":true},"required":false,"in":"query"},"conductType":{"name":"conductType","description":"Conduct type. Multiple allowed (comma-delimited).\n>- `CITATION` Citation\n>- `CONCUSSION` Concussion\n>- `CORRUPTION` Corruption\n>- `DOPING` Doping\n>- `FITNESS` Fitness\n>- `MATCH_FIXING` Match Fixing\n>- `MEDICAL` Medical\n>- `NA_REQUEST` National Association Request\n>- `SWEARING` Swearing\n>- `TOUCHLINE_SUSPENSION` Touchline Suspension\n>- `UNSPORTSMANLIKE_CONDUCT` Unsportsmanlike Conduct\n>- `VIOLENT_CONDUCT` Violent Conduct\n","schema":{"type":"string","enum":["SWEARING","CORRUPTION","VIOLENT_CONDUCT","MATCH_FIXING","CITATION","UNSPORTSMANLIKE_CONDUCT","DOPING","TOUCHLINE_SUSPENSION","CONCUSSION","MEDICAL","FITNESS","NA_REQUEST"]},"required":false,"in":"query"},"dateOffenceLocalEnd":{"name":"dateOffenceLocalEnd","description":"Where dateOffenceLocal is before this value","schema":{"type":"string","format":"date-time"},"required":false,"in":"query"},"dateOffenceLocalStart":{"name":"dateOffenceLocalStart","description":"Where dateOffenceLocal is after this value","schema":{"type":"string","format":"date-time"},"required":false,"in":"query"},"dateSuspendedFromEnd":{"name":"dateSuspendedFromEnd","description":"Where dateSuspendedFrom <= this value","schema":{"type":"string","format":"date"},"required":false,"in":"query"},"dateSuspendedFromStart":{"name":"dateSuspendedFromStart","description":"Where dateSuspendedFrom >= this value","schema":{"type":"string","format":"date"},"required":false,"in":"query"},"dateSuspendedToEnd":{"name":"dateSuspendedToEnd","description":"Where dateSuspendedTo <= this value","schema":{"type":"string","format":"date"},"required":false,"in":"query"},"dateSuspendedToStart":{"name":"dateSuspendedToStart","description":"Where dateSuspendedTo >= this value","schema":{"type":"string","format":"date"},"required":false,"in":"query"},"entityGroupId":{"name":"entityGroupId","description":"The unique identifier of the entity group","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"entityId":{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fixtureId":{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"includeTotalCount":{"name":"includeTotalCount","description":"Include the total number of records matching the filters.","schema":{"type":"boolean"},"required":false,"in":"query"},"limit":{"name":"limit","description":"The maximum number of records to return. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32","maximum":1000,"minimum":1,"default":10},"required":false,"in":"query"},"nameFamilyLatinStartsWith":{"name":"nameFamilyLatinStartsWith","description":"Family latin name starts with","schema":{"type":"string","maxLength":50},"required":false,"in":"query"},"nameFamilyLocalStartsWith":{"name":"nameFamilyLocalStartsWith","description":"Family local name starts with","schema":{"type":"string","maxLength":50},"required":false,"in":"query"},"nameFullLatin":{"name":"nameFullLatin","description":"The full name of the person in latin characters","schema":{"type":"string","maxLength":50},"required":false,"in":"query"},"nameFullLatinContains":{"name":"nameFullLatinContains","description":"Fields that allow a 'Contains' query string parameter search for words separated by a space, matching characters left to right. Example: nameFullLatin=David Johnson nameFullLatinContains=Dav will match nameFullLatinContains=John will match nameFullLatinContains=son will not match","schema":{"type":"string","minLength":2,"maxLength":50},"required":false,"in":"query"},"nameFullLocal":{"name":"nameFullLocal","description":"The full name of the person","schema":{"type":"string","maxLength":50},"required":false,"in":"query"},"nameFullLocalContains":{"name":"nameFullLocalContains","description":"Fields that allow a 'Contains' query string parameter search for words separated by a space, matching characters left to right. Example: nameFullLocal=David Johnson nameFullLocalContains=Dav will match nameFullLocalContains=John will match nameFullLocalContains=son will not match","schema":{"type":"string","minLength":2,"maxLength":50},"required":false,"in":"query"},"offset":{"name":"offset","description":"The offset of the records. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32"},"required":false,"in":"query"},"personId":{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"personIds":{"name":"personIds","description":"The unique identifiers of the persons (comma-delimited).","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"seasonId":{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid"},"required":false,"in":"query"},"updated":{"name":"updated","description":"Record was modified after this date/time. In UTC.","schema":{"type":"string","format":"date-time"},"required":false,"in":"query"}}},"paths":{"/tennis/o/{organizationId}/conduct":{"get":{"tags":["Conduct"],"summary":"Get a list of conduct","description":"Return a list of available conduct records","operationId":"conduct_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Conduct Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/ConductModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitionId"},{"$ref":"#/components/parameters/conductStatus"},{"$ref":"#/components/parameters/conductType"},{"$ref":"#/components/parameters/dateOffenceLocalEnd"},{"$ref":"#/components/parameters/dateOffenceLocalStart"},{"$ref":"#/components/parameters/dateSuspendedFromEnd"},{"$ref":"#/components/parameters/dateSuspendedFromStart"},{"$ref":"#/components/parameters/dateSuspendedToEnd"},{"$ref":"#/components/parameters/dateSuspendedToStart"},{"$ref":"#/components/parameters/entityGroupId"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureId"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/includeTotalCount"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameFamilyLatinStartsWith"},{"$ref":"#/components/parameters/nameFamilyLocalStartsWith"},{"$ref":"#/components/parameters/nameFullLatin"},{"$ref":"#/components/parameters/nameFullLatinContains"},{"$ref":"#/components/parameters/nameFullLocal"},{"$ref":"#/components/parameters/nameFullLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/personIds"},{"$ref":"#/components/parameters/seasonId"},{"name":"sortBy","description":"Comma-delimited list of one or more fields to sort by. Each field can have '-' as prefix to sort in descending order and no prefix to sort in ascending order.","schema":{"type":"string","pattern":"^(\\-?added|\\-?updated|\\-?dateOffenceLocal|\\-?dateHearingLocal|\\-?dateSuspendedFrom|\\-?dateSuspendedTo|,)*$"},"required":false,"in":"query"},{"$ref":"#/components/parameters/updated"}]}}}}
```

## Create a conduct

> Insert a new conduct

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Tennis","version":"v1"},"tags":[{"name":"Conduct","description":"The Conduct record for an incident"}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["write:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"ConductModel":{"type":"object","additionalProperties":false,"properties":{"conductId":{"description":"The unique identifier of the conduct","type":"string","format":"uuid"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this conduct belongs to","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The person information","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The club that this team belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The team information","type":"object"},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid"},"venue":{"properties":{"resourceType":{"type":"string","enum":["venues"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The venue that this match belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The match","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The season linked to this record","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","type":"object"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":30,"nullable":true},"locationOther":{"description":"The location where the incident occurred","type":"string","maxLength":150,"nullable":true},"eventId":{"description":"The ~event~ that this conduct is linked to","type":"string","format":"uuid"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Set 1\n>- `2` Set 2\n>- `3` Set 3\n>- `4` Set 4\n>- `5` Set 5\n>- `6` Set 6\n>- `7` Set 7\n","type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"fixtureClock":{"description":"Match clock when the incident occurred","type":"string","maxLength":20,"nullable":true},"role":{"description":"The role of person\n>- None None\n>- `CAPTAIN` Captain\n>- `CAPTAIN_VICE` Vice Captain\n>- `CEO` CEO\n>- `COACH` Coach\n>- `COACH_ASSISTANT` Assistant Coach\n>- `COACH_ASSISTANT_HEAD` Assistant Head Coach\n>- `COACH_ASSOCIATE_HEAD` Associate Head Coach\n>- `COACH_DEVELOPMENT` Development Coach\n>- `COACH_HEAD` Head Coach\n>- `COACH_HEAD_INTERIM` Interim Head Coach\n>- `COACH_OTHER` Other coaching staff\n>- `COACH_SC` Strengh and Conditioning Coach\n>- `COACH_SENIOR` Senior Coach\n>- `COACH_SPECIALIST` Specialist Coach\n>- `COMMISSIONER` Commissioner\n>- `COMMITTEE` Committee\n>- `CREW_CHIEF` Crew Chief\n>- `DIRECTOR` Director\n>- `DOCTOR` Doctor\n>- `GENERAL` General\n>- `GROUNDSKEEPER` Groundskeeper\n>- `JUDGE_SCORING` Scoring Judge (SJ)\n>- `JUDGE_TIMING` Timing Judge (TJ)\n>- `MANAGER` Manager\n>- `MATCH_OFFICIAL` Match Official\n>- `MEDIA_OFFICER` Media Officer\n>- `MEDICAL_STAFF` Medical Staff\n>- `OTHER` Other\n>- `PHYSIOTHERAPIST` Physiotherapist\n>- `PRESIDENT` President\n>- `PRESIDENT_VICE` Vice President\n>- `REFEREE` Referee\n>- `REFEREE_ASSISTANT` Referee Assistant\n>- `REFEREE_ASSISTANT_RESERVE` Reserve Assistant Referee\n>- `REFEREE_RESERVE` Reserve Referee\n>- `SCOREKEEPER` Scorekeeper\n>- `SCOREKEEPER_ASSISTANT` Assistant Scorekeeper\n>- `SCORER` Scorer\n>- `SCORER_ASSISTANT` Assistant Scorer\n>- `SECRETARY` Secretary\n>- `STATISTICIAN` Statistician\n>- `TECHNICAL_OFFICIAL` Technical Official (TO)\n>- `TIMEKEEPER` Timekeeper\n>- `TIMER` Timer\n>- `TRAINER` Trainer\n>- `TRAINER_ASSISTANT` Assitant Trainer\n>- `TRANSLATOR` Translator\n>- `TREASURER` Treasurer\n>- `UMPIRE` Umpire\n>- `UMPIRE_RESERVE` Reserve Umpire (RU)\n>- `UMPIRE_VIDEO` Video Umpire (VU)\n>- `VIDEO_TECHNICIAN` Video Technician (VT)\n","type":"string","enum":["COACH","COACH_HEAD","COACH_HEAD_INTERIM","COACH_ASSISTANT","COACH_ASSISTANT_HEAD","COACH_ASSOCIATE_HEAD","COACH_SC","COACH_SENIOR","COACH_DEVELOPMENT","COACH_SPECIALIST","COACH_OTHER","CAPTAIN","CAPTAIN_VICE","DOCTOR","PHYSIOTHERAPIST","MEDICAL_STAFF","TRAINER","TRAINER_ASSISTANT","MATCH_OFFICIAL","COMMISSIONER","STATISTICIAN","SCOREKEEPER","SCOREKEEPER_ASSISTANT","TIMEKEEPER","SCORER","SCORER_ASSISTANT","TIMER","GROUNDSKEEPER","CEO","COMMITTEE","PRESIDENT","DIRECTOR","PRESIDENT_VICE","SECRETARY","TREASURER","MANAGER","GENERAL","OTHER","REFEREE","UMPIRE","REFEREE_ASSISTANT","REFEREE_RESERVE","REFEREE_ASSISTANT_RESERVE","CREW_CHIEF","UMPIRE_RESERVE","UMPIRE_VIDEO","JUDGE_SCORING","JUDGE_TIMING","TECHNICAL_OFFICIAL","VIDEO_TECHNICIAN","TRANSLATOR","MEDIA_OFFICER",null],"maxLength":100,"nullable":true},"dateOffenceLocal":{"description":"Date & Time of the Offence in the local timezone","type":"string","format":"date-time","nullable":true},"conductType":{"type":"array","items":{"type":"string","enum":["SWEARING","CORRUPTION","VIOLENT_CONDUCT","MATCH_FIXING","CITATION","UNSPORTSMANLIKE_CONDUCT","DOPING","CONCUSSION"]},"minItems":1},"conductNotes":{"description":"Notes of the Conduct incident","type":"string","maxLength":2000,"nullable":true},"dateHearingLocal":{"description":"Date hearing","type":"string","format":"date","nullable":true},"hearingNotes":{"description":"Notes from the conduct hearing","type":"string","maxLength":500,"nullable":true},"hearingStatus":{"description":"Conduct hearing status\n>- None None\n>- `FINALIZED` Finalized\n>- `PENDING` Pending\n","type":"string","enum":["PENDING","FINALIZED",null],"nullable":true},"lifeSentence":{"description":"Was the result of the conduct hearing a life sentence?","type":"boolean"},"penaltyResults":{"type":"array","items":{"type":"object","nullable":true,"title":"Conduct penalty result","additionalProperties":false,"properties":{"penaltyType":{"type":"string","description":"Penalty type","maxLength":30,"enum":["FINANCIAL","WEEKS","GAMES","MONTHS","YEARS"],"nullable":true},"penaltyValue":{"description":"Penalty value","nullable":true,"type":"integer"}}}},"fineAmount":{"description":"Conduct fine amount","type":"number","format":"float"},"fineCurrency":{"description":"Fine currency","type":"string","maxLength":20,"nullable":true},"fineStatus":{"description":"Conduct fine due status\n>- None None\n>- `CANCELLED` Cancelled\n>- `ISSUED` Issued\n>- `OTHER` Other\n>- `PAID` Paid\n>- `UNPAID` Unpaid\n","type":"string","enum":["ISSUED","PAID","UNPAID","CANCELLED","OTHER",null],"nullable":true},"dateSuspendedTo":{"description":"Date the suspension ended","type":"string","format":"date","nullable":true},"dateSuspendedFrom":{"description":"Date the suspension started","type":"string","format":"date","nullable":true},"dateFinePaidLocal":{"description":"Date the fine was paid","type":"string","format":"date","nullable":true},"status":{"description":"Conduct status\n>- None None\n>- `ACTIVE` Active\n>- `CLOSED` Closed\n>- `COMPLETE` Complete\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING","COMPLETE","CLOSED",null],"maxLength":30,"nullable":true},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"conduct model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"}}},"paths":{"/tennis/o/{organizationId}/conduct":{"post":{"tags":["Conduct"],"summary":"Create a conduct","description":"Insert a new conduct","operationId":"conduct_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Conduct Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/ConductModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"conductId":{"description":"The unique identifier of the conduct","type":"string","format":"uuid"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":30,"nullable":true},"locationOther":{"description":"The location where the incident occurred","type":"string","maxLength":150,"nullable":true},"eventId":{"description":"The ~event~ that this conduct is linked to","type":"string","format":"uuid"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Set 1\n>- `2` Set 2\n>- `3` Set 3\n>- `4` Set 4\n>- `5` Set 5\n>- `6` Set 6\n>- `7` Set 7\n","type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"fixtureClock":{"description":"Match clock when the incident occurred","type":"string","maxLength":20,"nullable":true},"role":{"description":"The role of person\n>- None None\n>- `CAPTAIN` Captain\n>- `CAPTAIN_VICE` Vice Captain\n>- `CEO` CEO\n>- `COACH` Coach\n>- `COACH_ASSISTANT` Assistant Coach\n>- `COACH_ASSISTANT_HEAD` Assistant Head Coach\n>- `COACH_ASSOCIATE_HEAD` Associate Head Coach\n>- `COACH_DEVELOPMENT` Development Coach\n>- `COACH_HEAD` Head Coach\n>- `COACH_HEAD_INTERIM` Interim Head Coach\n>- `COACH_OTHER` Other coaching staff\n>- `COACH_SC` Strengh and Conditioning Coach\n>- `COACH_SENIOR` Senior Coach\n>- `COACH_SPECIALIST` Specialist Coach\n>- `COMMISSIONER` Commissioner\n>- `COMMITTEE` Committee\n>- `CREW_CHIEF` Crew Chief\n>- `DIRECTOR` Director\n>- `DOCTOR` Doctor\n>- `GENERAL` General\n>- `GROUNDSKEEPER` Groundskeeper\n>- `JUDGE_SCORING` Scoring Judge (SJ)\n>- `JUDGE_TIMING` Timing Judge (TJ)\n>- `MANAGER` Manager\n>- `MATCH_OFFICIAL` Match Official\n>- `MEDIA_OFFICER` Media Officer\n>- `MEDICAL_STAFF` Medical Staff\n>- `OTHER` Other\n>- `PHYSIOTHERAPIST` Physiotherapist\n>- `PRESIDENT` President\n>- `PRESIDENT_VICE` Vice President\n>- `REFEREE` Referee\n>- `REFEREE_ASSISTANT` Referee Assistant\n>- `REFEREE_ASSISTANT_RESERVE` Reserve Assistant Referee\n>- `REFEREE_RESERVE` Reserve Referee\n>- `SCOREKEEPER` Scorekeeper\n>- `SCOREKEEPER_ASSISTANT` Assistant Scorekeeper\n>- `SCORER` Scorer\n>- `SCORER_ASSISTANT` Assistant Scorer\n>- `SECRETARY` Secretary\n>- `STATISTICIAN` Statistician\n>- `TECHNICAL_OFFICIAL` Technical Official (TO)\n>- `TIMEKEEPER` Timekeeper\n>- `TIMER` Timer\n>- `TRAINER` Trainer\n>- `TRAINER_ASSISTANT` Assitant Trainer\n>- `TRANSLATOR` Translator\n>- `TREASURER` Treasurer\n>- `UMPIRE` Umpire\n>- `UMPIRE_RESERVE` Reserve Umpire (RU)\n>- `UMPIRE_VIDEO` Video Umpire (VU)\n>- `VIDEO_TECHNICIAN` Video Technician (VT)\n","type":"string","enum":["COACH","COACH_HEAD","COACH_HEAD_INTERIM","COACH_ASSISTANT","COACH_ASSISTANT_HEAD","COACH_ASSOCIATE_HEAD","COACH_SC","COACH_SENIOR","COACH_DEVELOPMENT","COACH_SPECIALIST","COACH_OTHER","CAPTAIN","CAPTAIN_VICE","DOCTOR","PHYSIOTHERAPIST","MEDICAL_STAFF","TRAINER","TRAINER_ASSISTANT","MATCH_OFFICIAL","COMMISSIONER","STATISTICIAN","SCOREKEEPER","SCOREKEEPER_ASSISTANT","TIMEKEEPER","SCORER","SCORER_ASSISTANT","TIMER","GROUNDSKEEPER","CEO","COMMITTEE","PRESIDENT","DIRECTOR","PRESIDENT_VICE","SECRETARY","TREASURER","MANAGER","GENERAL","OTHER","REFEREE","UMPIRE","REFEREE_ASSISTANT","REFEREE_RESERVE","REFEREE_ASSISTANT_RESERVE","CREW_CHIEF","UMPIRE_RESERVE","UMPIRE_VIDEO","JUDGE_SCORING","JUDGE_TIMING","TECHNICAL_OFFICIAL","VIDEO_TECHNICIAN","TRANSLATOR","MEDIA_OFFICER",null],"maxLength":100,"nullable":true},"dateOffenceLocal":{"description":"Date & Time of the Offence in the local timezone","type":"string","format":"date-time","nullable":true},"conductType":{"type":"array","items":{"type":"string","enum":["SWEARING","CORRUPTION","VIOLENT_CONDUCT","MATCH_FIXING","CITATION","UNSPORTSMANLIKE_CONDUCT","DOPING","CONCUSSION"]},"minItems":1},"conductNotes":{"description":"Notes of the Conduct incident","type":"string","maxLength":2000,"nullable":true},"dateHearingLocal":{"description":"Date hearing","type":"string","format":"date","nullable":true},"hearingNotes":{"description":"Notes from the conduct hearing","type":"string","maxLength":500,"nullable":true},"hearingStatus":{"description":"Conduct hearing status\n>- None None\n>- `FINALIZED` Finalized\n>- `PENDING` Pending\n","type":"string","enum":["PENDING","FINALIZED",null],"nullable":true},"lifeSentence":{"description":"Was the result of the conduct hearing a life sentence?","type":"boolean"},"penaltyResults":{"type":"array","items":{"type":"object","nullable":true,"title":"Conduct penalty result","additionalProperties":false,"properties":{"penaltyType":{"type":"string","description":"Penalty type","maxLength":30,"enum":["FINANCIAL","WEEKS","GAMES","MONTHS","YEARS"],"nullable":true},"penaltyValue":{"description":"Penalty value","nullable":true,"type":"integer"}}}},"fineAmount":{"description":"Conduct fine amount","type":"number","format":"float"},"fineCurrency":{"description":"Fine currency","type":"string","maxLength":20,"nullable":true},"fineStatus":{"description":"Conduct fine due status\n>- None None\n>- `CANCELLED` Cancelled\n>- `ISSUED` Issued\n>- `OTHER` Other\n>- `PAID` Paid\n>- `UNPAID` Unpaid\n","type":"string","enum":["ISSUED","PAID","UNPAID","CANCELLED","OTHER",null],"nullable":true},"dateSuspendedTo":{"description":"Date the suspension ended","type":"string","format":"date","nullable":true},"dateSuspendedFrom":{"description":"Date the suspension started","type":"string","format":"date","nullable":true},"dateFinePaidLocal":{"description":"Date the fine was paid","type":"string","format":"date","nullable":true},"status":{"description":"Conduct status\n>- None None\n>- `ACTIVE` Active\n>- `CLOSED` Closed\n>- `COMPLETE` Complete\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING","COMPLETE","CLOSED",null],"maxLength":30,"nullable":true},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true}},"title":"conduct post body","required":["conductType"]}}}}}}}}
```

## Get a conduct

> Return detailed information about a specific conduct

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Tennis","version":"v1"},"tags":[{"name":"Conduct","description":"The Conduct record for an incident"}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["read:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"ConductModel":{"type":"object","additionalProperties":false,"properties":{"conductId":{"description":"The unique identifier of the conduct","type":"string","format":"uuid"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this conduct belongs to","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The person information","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The club that this team belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The team information","type":"object"},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid"},"venue":{"properties":{"resourceType":{"type":"string","enum":["venues"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The venue that this match belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The match","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The season linked to this record","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","type":"object"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":30,"nullable":true},"locationOther":{"description":"The location where the incident occurred","type":"string","maxLength":150,"nullable":true},"eventId":{"description":"The ~event~ that this conduct is linked to","type":"string","format":"uuid"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Set 1\n>- `2` Set 2\n>- `3` Set 3\n>- `4` Set 4\n>- `5` Set 5\n>- `6` Set 6\n>- `7` Set 7\n","type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"fixtureClock":{"description":"Match clock when the incident occurred","type":"string","maxLength":20,"nullable":true},"role":{"description":"The role of person\n>- None None\n>- `CAPTAIN` Captain\n>- `CAPTAIN_VICE` Vice Captain\n>- `CEO` CEO\n>- `COACH` Coach\n>- `COACH_ASSISTANT` Assistant Coach\n>- `COACH_ASSISTANT_HEAD` Assistant Head Coach\n>- `COACH_ASSOCIATE_HEAD` Associate Head Coach\n>- `COACH_DEVELOPMENT` Development Coach\n>- `COACH_HEAD` Head Coach\n>- `COACH_HEAD_INTERIM` Interim Head Coach\n>- `COACH_OTHER` Other coaching staff\n>- `COACH_SC` Strengh and Conditioning Coach\n>- `COACH_SENIOR` Senior Coach\n>- `COACH_SPECIALIST` Specialist Coach\n>- `COMMISSIONER` Commissioner\n>- `COMMITTEE` Committee\n>- `CREW_CHIEF` Crew Chief\n>- `DIRECTOR` Director\n>- `DOCTOR` Doctor\n>- `GENERAL` General\n>- `GROUNDSKEEPER` Groundskeeper\n>- `JUDGE_SCORING` Scoring Judge (SJ)\n>- `JUDGE_TIMING` Timing Judge (TJ)\n>- `MANAGER` Manager\n>- `MATCH_OFFICIAL` Match Official\n>- `MEDIA_OFFICER` Media Officer\n>- `MEDICAL_STAFF` Medical Staff\n>- `OTHER` Other\n>- `PHYSIOTHERAPIST` Physiotherapist\n>- `PRESIDENT` President\n>- `PRESIDENT_VICE` Vice President\n>- `REFEREE` Referee\n>- `REFEREE_ASSISTANT` Referee Assistant\n>- `REFEREE_ASSISTANT_RESERVE` Reserve Assistant Referee\n>- `REFEREE_RESERVE` Reserve Referee\n>- `SCOREKEEPER` Scorekeeper\n>- `SCOREKEEPER_ASSISTANT` Assistant Scorekeeper\n>- `SCORER` Scorer\n>- `SCORER_ASSISTANT` Assistant Scorer\n>- `SECRETARY` Secretary\n>- `STATISTICIAN` Statistician\n>- `TECHNICAL_OFFICIAL` Technical Official (TO)\n>- `TIMEKEEPER` Timekeeper\n>- `TIMER` Timer\n>- `TRAINER` Trainer\n>- `TRAINER_ASSISTANT` Assitant Trainer\n>- `TRANSLATOR` Translator\n>- `TREASURER` Treasurer\n>- `UMPIRE` Umpire\n>- `UMPIRE_RESERVE` Reserve Umpire (RU)\n>- `UMPIRE_VIDEO` Video Umpire (VU)\n>- `VIDEO_TECHNICIAN` Video Technician (VT)\n","type":"string","enum":["COACH","COACH_HEAD","COACH_HEAD_INTERIM","COACH_ASSISTANT","COACH_ASSISTANT_HEAD","COACH_ASSOCIATE_HEAD","COACH_SC","COACH_SENIOR","COACH_DEVELOPMENT","COACH_SPECIALIST","COACH_OTHER","CAPTAIN","CAPTAIN_VICE","DOCTOR","PHYSIOTHERAPIST","MEDICAL_STAFF","TRAINER","TRAINER_ASSISTANT","MATCH_OFFICIAL","COMMISSIONER","STATISTICIAN","SCOREKEEPER","SCOREKEEPER_ASSISTANT","TIMEKEEPER","SCORER","SCORER_ASSISTANT","TIMER","GROUNDSKEEPER","CEO","COMMITTEE","PRESIDENT","DIRECTOR","PRESIDENT_VICE","SECRETARY","TREASURER","MANAGER","GENERAL","OTHER","REFEREE","UMPIRE","REFEREE_ASSISTANT","REFEREE_RESERVE","REFEREE_ASSISTANT_RESERVE","CREW_CHIEF","UMPIRE_RESERVE","UMPIRE_VIDEO","JUDGE_SCORING","JUDGE_TIMING","TECHNICAL_OFFICIAL","VIDEO_TECHNICIAN","TRANSLATOR","MEDIA_OFFICER",null],"maxLength":100,"nullable":true},"dateOffenceLocal":{"description":"Date & Time of the Offence in the local timezone","type":"string","format":"date-time","nullable":true},"conductType":{"type":"array","items":{"type":"string","enum":["SWEARING","CORRUPTION","VIOLENT_CONDUCT","MATCH_FIXING","CITATION","UNSPORTSMANLIKE_CONDUCT","DOPING","CONCUSSION"]},"minItems":1},"conductNotes":{"description":"Notes of the Conduct incident","type":"string","maxLength":2000,"nullable":true},"dateHearingLocal":{"description":"Date hearing","type":"string","format":"date","nullable":true},"hearingNotes":{"description":"Notes from the conduct hearing","type":"string","maxLength":500,"nullable":true},"hearingStatus":{"description":"Conduct hearing status\n>- None None\n>- `FINALIZED` Finalized\n>- `PENDING` Pending\n","type":"string","enum":["PENDING","FINALIZED",null],"nullable":true},"lifeSentence":{"description":"Was the result of the conduct hearing a life sentence?","type":"boolean"},"penaltyResults":{"type":"array","items":{"type":"object","nullable":true,"title":"Conduct penalty result","additionalProperties":false,"properties":{"penaltyType":{"type":"string","description":"Penalty type","maxLength":30,"enum":["FINANCIAL","WEEKS","GAMES","MONTHS","YEARS"],"nullable":true},"penaltyValue":{"description":"Penalty value","nullable":true,"type":"integer"}}}},"fineAmount":{"description":"Conduct fine amount","type":"number","format":"float"},"fineCurrency":{"description":"Fine currency","type":"string","maxLength":20,"nullable":true},"fineStatus":{"description":"Conduct fine due status\n>- None None\n>- `CANCELLED` Cancelled\n>- `ISSUED` Issued\n>- `OTHER` Other\n>- `PAID` Paid\n>- `UNPAID` Unpaid\n","type":"string","enum":["ISSUED","PAID","UNPAID","CANCELLED","OTHER",null],"nullable":true},"dateSuspendedTo":{"description":"Date the suspension ended","type":"string","format":"date","nullable":true},"dateSuspendedFrom":{"description":"Date the suspension started","type":"string","format":"date","nullable":true},"dateFinePaidLocal":{"description":"Date the fine was paid","type":"string","format":"date","nullable":true},"status":{"description":"Conduct status\n>- None None\n>- `ACTIVE` Active\n>- `CLOSED` Closed\n>- `COMPLETE` Complete\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING","COMPLETE","CLOSED",null],"maxLength":30,"nullable":true},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"conduct model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"includeTotalCount":{"name":"includeTotalCount","description":"Include the total number of records matching the filters.","schema":{"type":"boolean"},"required":false,"in":"query"},"limit":{"name":"limit","description":"The maximum number of records to return. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32","maximum":1000,"minimum":1,"default":10},"required":false,"in":"query"},"offset":{"name":"offset","description":"The offset of the records. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32"},"required":false,"in":"query"}}},"paths":{"/tennis/o/{organizationId}/conduct/{conductId}":{"get":{"tags":["Conduct"],"summary":"Get a conduct","description":"Return detailed information about a specific conduct","operationId":"conduct_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Conduct Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/ConductModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"name":"conductId","description":"The unique identifier of the conduct","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/includeTotalCount"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"}]}}}}
```

## Update a conduct

> Change the information of a specific conduct

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Tennis","version":"v1"},"tags":[{"name":"Conduct","description":"The Conduct record for an incident"}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["write:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"ConductModel":{"type":"object","additionalProperties":false,"properties":{"conductId":{"description":"The unique identifier of the conduct","type":"string","format":"uuid"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this conduct belongs to","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The person information","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The club that this team belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The team information","type":"object"},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid"},"venue":{"properties":{"resourceType":{"type":"string","enum":["venues"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The venue that this match belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The match","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The season linked to this record","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","type":"object"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":30,"nullable":true},"locationOther":{"description":"The location where the incident occurred","type":"string","maxLength":150,"nullable":true},"eventId":{"description":"The ~event~ that this conduct is linked to","type":"string","format":"uuid"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Set 1\n>- `2` Set 2\n>- `3` Set 3\n>- `4` Set 4\n>- `5` Set 5\n>- `6` Set 6\n>- `7` Set 7\n","type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"fixtureClock":{"description":"Match clock when the incident occurred","type":"string","maxLength":20,"nullable":true},"role":{"description":"The role of person\n>- None None\n>- `CAPTAIN` Captain\n>- `CAPTAIN_VICE` Vice Captain\n>- `CEO` CEO\n>- `COACH` Coach\n>- `COACH_ASSISTANT` Assistant Coach\n>- `COACH_ASSISTANT_HEAD` Assistant Head Coach\n>- `COACH_ASSOCIATE_HEAD` Associate Head Coach\n>- `COACH_DEVELOPMENT` Development Coach\n>- `COACH_HEAD` Head Coach\n>- `COACH_HEAD_INTERIM` Interim Head Coach\n>- `COACH_OTHER` Other coaching staff\n>- `COACH_SC` Strengh and Conditioning Coach\n>- `COACH_SENIOR` Senior Coach\n>- `COACH_SPECIALIST` Specialist Coach\n>- `COMMISSIONER` Commissioner\n>- `COMMITTEE` Committee\n>- `CREW_CHIEF` Crew Chief\n>- `DIRECTOR` Director\n>- `DOCTOR` Doctor\n>- `GENERAL` General\n>- `GROUNDSKEEPER` Groundskeeper\n>- `JUDGE_SCORING` Scoring Judge (SJ)\n>- `JUDGE_TIMING` Timing Judge (TJ)\n>- `MANAGER` Manager\n>- `MATCH_OFFICIAL` Match Official\n>- `MEDIA_OFFICER` Media Officer\n>- `MEDICAL_STAFF` Medical Staff\n>- `OTHER` Other\n>- `PHYSIOTHERAPIST` Physiotherapist\n>- `PRESIDENT` President\n>- `PRESIDENT_VICE` Vice President\n>- `REFEREE` Referee\n>- `REFEREE_ASSISTANT` Referee Assistant\n>- `REFEREE_ASSISTANT_RESERVE` Reserve Assistant Referee\n>- `REFEREE_RESERVE` Reserve Referee\n>- `SCOREKEEPER` Scorekeeper\n>- `SCOREKEEPER_ASSISTANT` Assistant Scorekeeper\n>- `SCORER` Scorer\n>- `SCORER_ASSISTANT` Assistant Scorer\n>- `SECRETARY` Secretary\n>- `STATISTICIAN` Statistician\n>- `TECHNICAL_OFFICIAL` Technical Official (TO)\n>- `TIMEKEEPER` Timekeeper\n>- `TIMER` Timer\n>- `TRAINER` Trainer\n>- `TRAINER_ASSISTANT` Assitant Trainer\n>- `TRANSLATOR` Translator\n>- `TREASURER` Treasurer\n>- `UMPIRE` Umpire\n>- `UMPIRE_RESERVE` Reserve Umpire (RU)\n>- `UMPIRE_VIDEO` Video Umpire (VU)\n>- `VIDEO_TECHNICIAN` Video Technician (VT)\n","type":"string","enum":["COACH","COACH_HEAD","COACH_HEAD_INTERIM","COACH_ASSISTANT","COACH_ASSISTANT_HEAD","COACH_ASSOCIATE_HEAD","COACH_SC","COACH_SENIOR","COACH_DEVELOPMENT","COACH_SPECIALIST","COACH_OTHER","CAPTAIN","CAPTAIN_VICE","DOCTOR","PHYSIOTHERAPIST","MEDICAL_STAFF","TRAINER","TRAINER_ASSISTANT","MATCH_OFFICIAL","COMMISSIONER","STATISTICIAN","SCOREKEEPER","SCOREKEEPER_ASSISTANT","TIMEKEEPER","SCORER","SCORER_ASSISTANT","TIMER","GROUNDSKEEPER","CEO","COMMITTEE","PRESIDENT","DIRECTOR","PRESIDENT_VICE","SECRETARY","TREASURER","MANAGER","GENERAL","OTHER","REFEREE","UMPIRE","REFEREE_ASSISTANT","REFEREE_RESERVE","REFEREE_ASSISTANT_RESERVE","CREW_CHIEF","UMPIRE_RESERVE","UMPIRE_VIDEO","JUDGE_SCORING","JUDGE_TIMING","TECHNICAL_OFFICIAL","VIDEO_TECHNICIAN","TRANSLATOR","MEDIA_OFFICER",null],"maxLength":100,"nullable":true},"dateOffenceLocal":{"description":"Date & Time of the Offence in the local timezone","type":"string","format":"date-time","nullable":true},"conductType":{"type":"array","items":{"type":"string","enum":["SWEARING","CORRUPTION","VIOLENT_CONDUCT","MATCH_FIXING","CITATION","UNSPORTSMANLIKE_CONDUCT","DOPING","CONCUSSION"]},"minItems":1},"conductNotes":{"description":"Notes of the Conduct incident","type":"string","maxLength":2000,"nullable":true},"dateHearingLocal":{"description":"Date hearing","type":"string","format":"date","nullable":true},"hearingNotes":{"description":"Notes from the conduct hearing","type":"string","maxLength":500,"nullable":true},"hearingStatus":{"description":"Conduct hearing status\n>- None None\n>- `FINALIZED` Finalized\n>- `PENDING` Pending\n","type":"string","enum":["PENDING","FINALIZED",null],"nullable":true},"lifeSentence":{"description":"Was the result of the conduct hearing a life sentence?","type":"boolean"},"penaltyResults":{"type":"array","items":{"type":"object","nullable":true,"title":"Conduct penalty result","additionalProperties":false,"properties":{"penaltyType":{"type":"string","description":"Penalty type","maxLength":30,"enum":["FINANCIAL","WEEKS","GAMES","MONTHS","YEARS"],"nullable":true},"penaltyValue":{"description":"Penalty value","nullable":true,"type":"integer"}}}},"fineAmount":{"description":"Conduct fine amount","type":"number","format":"float"},"fineCurrency":{"description":"Fine currency","type":"string","maxLength":20,"nullable":true},"fineStatus":{"description":"Conduct fine due status\n>- None None\n>- `CANCELLED` Cancelled\n>- `ISSUED` Issued\n>- `OTHER` Other\n>- `PAID` Paid\n>- `UNPAID` Unpaid\n","type":"string","enum":["ISSUED","PAID","UNPAID","CANCELLED","OTHER",null],"nullable":true},"dateSuspendedTo":{"description":"Date the suspension ended","type":"string","format":"date","nullable":true},"dateSuspendedFrom":{"description":"Date the suspension started","type":"string","format":"date","nullable":true},"dateFinePaidLocal":{"description":"Date the fine was paid","type":"string","format":"date","nullable":true},"status":{"description":"Conduct status\n>- None None\n>- `ACTIVE` Active\n>- `CLOSED` Closed\n>- `COMPLETE` Complete\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING","COMPLETE","CLOSED",null],"maxLength":30,"nullable":true},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"conduct model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"}}},"paths":{"/tennis/o/{organizationId}/conduct/{conductId}":{"put":{"tags":["Conduct"],"summary":"Update a conduct","description":"Change the information of a specific conduct","operationId":"conduct_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Conduct Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/ConductModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"name":"conductId","description":"The unique identifier of the conduct","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":30,"nullable":true},"locationOther":{"description":"The location where the incident occurred","type":"string","maxLength":150,"nullable":true},"eventId":{"description":"The ~event~ that this conduct is linked to","type":"string","format":"uuid"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Set 1\n>- `2` Set 2\n>- `3` Set 3\n>- `4` Set 4\n>- `5` Set 5\n>- `6` Set 6\n>- `7` Set 7\n","type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"fixtureClock":{"description":"Match clock when the incident occurred","type":"string","maxLength":20,"nullable":true},"role":{"description":"The role of person\n>- None None\n>- `CAPTAIN` Captain\n>- `CAPTAIN_VICE` Vice Captain\n>- `CEO` CEO\n>- `COACH` Coach\n>- `COACH_ASSISTANT` Assistant Coach\n>- `COACH_ASSISTANT_HEAD` Assistant Head Coach\n>- `COACH_ASSOCIATE_HEAD` Associate Head Coach\n>- `COACH_DEVELOPMENT` Development Coach\n>- `COACH_HEAD` Head Coach\n>- `COACH_HEAD_INTERIM` Interim Head Coach\n>- `COACH_OTHER` Other coaching staff\n>- `COACH_SC` Strengh and Conditioning Coach\n>- `COACH_SENIOR` Senior Coach\n>- `COACH_SPECIALIST` Specialist Coach\n>- `COMMISSIONER` Commissioner\n>- `COMMITTEE` Committee\n>- `CREW_CHIEF` Crew Chief\n>- `DIRECTOR` Director\n>- `DOCTOR` Doctor\n>- `GENERAL` General\n>- `GROUNDSKEEPER` Groundskeeper\n>- `JUDGE_SCORING` Scoring Judge (SJ)\n>- `JUDGE_TIMING` Timing Judge (TJ)\n>- `MANAGER` Manager\n>- `MATCH_OFFICIAL` Match Official\n>- `MEDIA_OFFICER` Media Officer\n>- `MEDICAL_STAFF` Medical Staff\n>- `OTHER` Other\n>- `PHYSIOTHERAPIST` Physiotherapist\n>- `PRESIDENT` President\n>- `PRESIDENT_VICE` Vice President\n>- `REFEREE` Referee\n>- `REFEREE_ASSISTANT` Referee Assistant\n>- `REFEREE_ASSISTANT_RESERVE` Reserve Assistant Referee\n>- `REFEREE_RESERVE` Reserve Referee\n>- `SCOREKEEPER` Scorekeeper\n>- `SCOREKEEPER_ASSISTANT` Assistant Scorekeeper\n>- `SCORER` Scorer\n>- `SCORER_ASSISTANT` Assistant Scorer\n>- `SECRETARY` Secretary\n>- `STATISTICIAN` Statistician\n>- `TECHNICAL_OFFICIAL` Technical Official (TO)\n>- `TIMEKEEPER` Timekeeper\n>- `TIMER` Timer\n>- `TRAINER` Trainer\n>- `TRAINER_ASSISTANT` Assitant Trainer\n>- `TRANSLATOR` Translator\n>- `TREASURER` Treasurer\n>- `UMPIRE` Umpire\n>- `UMPIRE_RESERVE` Reserve Umpire (RU)\n>- `UMPIRE_VIDEO` Video Umpire (VU)\n>- `VIDEO_TECHNICIAN` Video Technician (VT)\n","type":"string","enum":["COACH","COACH_HEAD","COACH_HEAD_INTERIM","COACH_ASSISTANT","COACH_ASSISTANT_HEAD","COACH_ASSOCIATE_HEAD","COACH_SC","COACH_SENIOR","COACH_DEVELOPMENT","COACH_SPECIALIST","COACH_OTHER","CAPTAIN","CAPTAIN_VICE","DOCTOR","PHYSIOTHERAPIST","MEDICAL_STAFF","TRAINER","TRAINER_ASSISTANT","MATCH_OFFICIAL","COMMISSIONER","STATISTICIAN","SCOREKEEPER","SCOREKEEPER_ASSISTANT","TIMEKEEPER","SCORER","SCORER_ASSISTANT","TIMER","GROUNDSKEEPER","CEO","COMMITTEE","PRESIDENT","DIRECTOR","PRESIDENT_VICE","SECRETARY","TREASURER","MANAGER","GENERAL","OTHER","REFEREE","UMPIRE","REFEREE_ASSISTANT","REFEREE_RESERVE","REFEREE_ASSISTANT_RESERVE","CREW_CHIEF","UMPIRE_RESERVE","UMPIRE_VIDEO","JUDGE_SCORING","JUDGE_TIMING","TECHNICAL_OFFICIAL","VIDEO_TECHNICIAN","TRANSLATOR","MEDIA_OFFICER",null],"maxLength":100,"nullable":true},"dateOffenceLocal":{"description":"Date & Time of the Offence in the local timezone","type":"string","format":"date-time","nullable":true},"conductType":{"type":"array","items":{"type":"string","enum":["SWEARING","CORRUPTION","VIOLENT_CONDUCT","MATCH_FIXING","CITATION","UNSPORTSMANLIKE_CONDUCT","DOPING","CONCUSSION"]},"minItems":1},"conductNotes":{"description":"Notes of the Conduct incident","type":"string","maxLength":2000,"nullable":true},"dateHearingLocal":{"description":"Date hearing","type":"string","format":"date","nullable":true},"hearingNotes":{"description":"Notes from the conduct hearing","type":"string","maxLength":500,"nullable":true},"hearingStatus":{"description":"Conduct hearing status\n>- None None\n>- `FINALIZED` Finalized\n>- `PENDING` Pending\n","type":"string","enum":["PENDING","FINALIZED",null],"nullable":true},"lifeSentence":{"description":"Was the result of the conduct hearing a life sentence?","type":"boolean"},"penaltyResults":{"type":"array","items":{"type":"object","nullable":true,"title":"Conduct penalty result","additionalProperties":false,"properties":{"penaltyType":{"type":"string","description":"Penalty type","maxLength":30,"enum":["FINANCIAL","WEEKS","GAMES","MONTHS","YEARS"],"nullable":true},"penaltyValue":{"description":"Penalty value","nullable":true,"type":"integer"}}}},"fineAmount":{"description":"Conduct fine amount","type":"number","format":"float"},"fineCurrency":{"description":"Fine currency","type":"string","maxLength":20,"nullable":true},"fineStatus":{"description":"Conduct fine due status\n>- None None\n>- `CANCELLED` Cancelled\n>- `ISSUED` Issued\n>- `OTHER` Other\n>- `PAID` Paid\n>- `UNPAID` Unpaid\n","type":"string","enum":["ISSUED","PAID","UNPAID","CANCELLED","OTHER",null],"nullable":true},"dateSuspendedTo":{"description":"Date the suspension ended","type":"string","format":"date","nullable":true},"dateSuspendedFrom":{"description":"Date the suspension started","type":"string","format":"date","nullable":true},"dateFinePaidLocal":{"description":"Date the fine was paid","type":"string","format":"date","nullable":true},"status":{"description":"Conduct status\n>- None None\n>- `ACTIVE` Active\n>- `CLOSED` Closed\n>- `COMPLETE` Complete\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING","COMPLETE","CLOSED",null],"maxLength":30,"nullable":true},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true}},"title":"conduct put body"}}}}}}}}
```

## Delete a conduct

> Delete a specific conduct

```json
{"openapi":"3.0.0","info":{"title":"DataCore API  - Tennis","version":"v1"},"tags":[{"name":"Conduct","description":"The Conduct record for an incident"}],"servers":[{"url":"https://api.dc.connect.sportradar.com/v1","description":"Production server"},{"url":"https://api.dc.stg.connect-nonprod.sportradar.dev/v1","description":"NonProduction/Staging server"}],"security":[{"OAuth2":["write:organization"]}],"components":{"securitySchemes":{"OAuth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"orgId":"Authenticate based on a specific OrganizationId","read:orggroup":"Read data over multiple organizations using and *orggroup* code","write:organization":"Write/Update any data from below the organization","read:organization":"Read any data from the organization down","write:admin":"Perform administration API calls","write:admin_organization":"Ability to manage organizations","write:system":"Perform system configuration API calls"}}},"description":"You can create a JSON Web Token (JWT) using the [token](http://developer.connect.sportradar.com/token/#operation/getToken) API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run.  If your token does not possess the correct scope then you will be unable to make the API call."}},"schemas":{"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call"},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request"},"code":{"type":"integer","description":"The HTTP response code for this request"},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC)."},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?"},"count":{"type":"integer","description":"The number of records being returned"},"limit":{"type":"integer","description":"The record limit in place for this request"},"offset":{"type":"integer","description":"The record offset in place for this request"},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request."}}},"ResponseLinks":{"type":"object","properties":{"self":{"type":"string","format":"uri","description":"The URI referencing this request."},"next":{"type":"string","format":"uri","description":"The URI referencing the 'next' page, if more data is available."},"previous":{"type":"string","format":"uri","description":"The URI referencing the 'previous' page, if the request is not on the first page."}}},"IncludedData":{"type":"object","description":"Available if the request used the 'include' parameter.  It contains extra data about resources found in the data block.","properties":{"resources":{"type":"object","additionalProperties":{"description":"The type of resource","type":"object","enum":["league","organisation","persons"],"additionalProperties":{"type":"object","format":"uuid","description":"The id of the resource","additionalProperties":{"description":"The model for the resource as defined by the type and id"}}}}}},"ConductModel":{"type":"object","additionalProperties":false,"properties":{"conductId":{"description":"The unique identifier of the conduct","type":"string","format":"uuid"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The organization that this conduct belongs to","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The person information","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The club that this team belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The team information","type":"object"},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid"},"venue":{"properties":{"resourceType":{"type":"string","enum":["venues"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The venue that this match belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The match","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The season linked to this record","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string"}},"description":"The competition that this season belongs to","type":"object"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":30,"nullable":true},"locationOther":{"description":"The location where the incident occurred","type":"string","maxLength":150,"nullable":true},"eventId":{"description":"The ~event~ that this conduct is linked to","type":"string","format":"uuid"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Set 1\n>- `2` Set 2\n>- `3` Set 3\n>- `4` Set 4\n>- `5` Set 5\n>- `6` Set 6\n>- `7` Set 7\n","type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"fixtureClock":{"description":"Match clock when the incident occurred","type":"string","maxLength":20,"nullable":true},"role":{"description":"The role of person\n>- None None\n>- `CAPTAIN` Captain\n>- `CAPTAIN_VICE` Vice Captain\n>- `CEO` CEO\n>- `COACH` Coach\n>- `COACH_ASSISTANT` Assistant Coach\n>- `COACH_ASSISTANT_HEAD` Assistant Head Coach\n>- `COACH_ASSOCIATE_HEAD` Associate Head Coach\n>- `COACH_DEVELOPMENT` Development Coach\n>- `COACH_HEAD` Head Coach\n>- `COACH_HEAD_INTERIM` Interim Head Coach\n>- `COACH_OTHER` Other coaching staff\n>- `COACH_SC` Strengh and Conditioning Coach\n>- `COACH_SENIOR` Senior Coach\n>- `COACH_SPECIALIST` Specialist Coach\n>- `COMMISSIONER` Commissioner\n>- `COMMITTEE` Committee\n>- `CREW_CHIEF` Crew Chief\n>- `DIRECTOR` Director\n>- `DOCTOR` Doctor\n>- `GENERAL` General\n>- `GROUNDSKEEPER` Groundskeeper\n>- `JUDGE_SCORING` Scoring Judge (SJ)\n>- `JUDGE_TIMING` Timing Judge (TJ)\n>- `MANAGER` Manager\n>- `MATCH_OFFICIAL` Match Official\n>- `MEDIA_OFFICER` Media Officer\n>- `MEDICAL_STAFF` Medical Staff\n>- `OTHER` Other\n>- `PHYSIOTHERAPIST` Physiotherapist\n>- `PRESIDENT` President\n>- `PRESIDENT_VICE` Vice President\n>- `REFEREE` Referee\n>- `REFEREE_ASSISTANT` Referee Assistant\n>- `REFEREE_ASSISTANT_RESERVE` Reserve Assistant Referee\n>- `REFEREE_RESERVE` Reserve Referee\n>- `SCOREKEEPER` Scorekeeper\n>- `SCOREKEEPER_ASSISTANT` Assistant Scorekeeper\n>- `SCORER` Scorer\n>- `SCORER_ASSISTANT` Assistant Scorer\n>- `SECRETARY` Secretary\n>- `STATISTICIAN` Statistician\n>- `TECHNICAL_OFFICIAL` Technical Official (TO)\n>- `TIMEKEEPER` Timekeeper\n>- `TIMER` Timer\n>- `TRAINER` Trainer\n>- `TRAINER_ASSISTANT` Assitant Trainer\n>- `TRANSLATOR` Translator\n>- `TREASURER` Treasurer\n>- `UMPIRE` Umpire\n>- `UMPIRE_RESERVE` Reserve Umpire (RU)\n>- `UMPIRE_VIDEO` Video Umpire (VU)\n>- `VIDEO_TECHNICIAN` Video Technician (VT)\n","type":"string","enum":["COACH","COACH_HEAD","COACH_HEAD_INTERIM","COACH_ASSISTANT","COACH_ASSISTANT_HEAD","COACH_ASSOCIATE_HEAD","COACH_SC","COACH_SENIOR","COACH_DEVELOPMENT","COACH_SPECIALIST","COACH_OTHER","CAPTAIN","CAPTAIN_VICE","DOCTOR","PHYSIOTHERAPIST","MEDICAL_STAFF","TRAINER","TRAINER_ASSISTANT","MATCH_OFFICIAL","COMMISSIONER","STATISTICIAN","SCOREKEEPER","SCOREKEEPER_ASSISTANT","TIMEKEEPER","SCORER","SCORER_ASSISTANT","TIMER","GROUNDSKEEPER","CEO","COMMITTEE","PRESIDENT","DIRECTOR","PRESIDENT_VICE","SECRETARY","TREASURER","MANAGER","GENERAL","OTHER","REFEREE","UMPIRE","REFEREE_ASSISTANT","REFEREE_RESERVE","REFEREE_ASSISTANT_RESERVE","CREW_CHIEF","UMPIRE_RESERVE","UMPIRE_VIDEO","JUDGE_SCORING","JUDGE_TIMING","TECHNICAL_OFFICIAL","VIDEO_TECHNICIAN","TRANSLATOR","MEDIA_OFFICER",null],"maxLength":100,"nullable":true},"dateOffenceLocal":{"description":"Date & Time of the Offence in the local timezone","type":"string","format":"date-time","nullable":true},"conductType":{"type":"array","items":{"type":"string","enum":["SWEARING","CORRUPTION","VIOLENT_CONDUCT","MATCH_FIXING","CITATION","UNSPORTSMANLIKE_CONDUCT","DOPING","CONCUSSION"]},"minItems":1},"conductNotes":{"description":"Notes of the Conduct incident","type":"string","maxLength":2000,"nullable":true},"dateHearingLocal":{"description":"Date hearing","type":"string","format":"date","nullable":true},"hearingNotes":{"description":"Notes from the conduct hearing","type":"string","maxLength":500,"nullable":true},"hearingStatus":{"description":"Conduct hearing status\n>- None None\n>- `FINALIZED` Finalized\n>- `PENDING` Pending\n","type":"string","enum":["PENDING","FINALIZED",null],"nullable":true},"lifeSentence":{"description":"Was the result of the conduct hearing a life sentence?","type":"boolean"},"penaltyResults":{"type":"array","items":{"type":"object","nullable":true,"title":"Conduct penalty result","additionalProperties":false,"properties":{"penaltyType":{"type":"string","description":"Penalty type","maxLength":30,"enum":["FINANCIAL","WEEKS","GAMES","MONTHS","YEARS"],"nullable":true},"penaltyValue":{"description":"Penalty value","nullable":true,"type":"integer"}}}},"fineAmount":{"description":"Conduct fine amount","type":"number","format":"float"},"fineCurrency":{"description":"Fine currency","type":"string","maxLength":20,"nullable":true},"fineStatus":{"description":"Conduct fine due status\n>- None None\n>- `CANCELLED` Cancelled\n>- `ISSUED` Issued\n>- `OTHER` Other\n>- `PAID` Paid\n>- `UNPAID` Unpaid\n","type":"string","enum":["ISSUED","PAID","UNPAID","CANCELLED","OTHER",null],"nullable":true},"dateSuspendedTo":{"description":"Date the suspension ended","type":"string","format":"date","nullable":true},"dateSuspendedFrom":{"description":"Date the suspension started","type":"string","format":"date","nullable":true},"dateFinePaidLocal":{"description":"Date the fine was paid","type":"string","format":"date","nullable":true},"status":{"description":"Conduct status\n>- None None\n>- `ACTIVE` Active\n>- `CLOSED` Closed\n>- `COMPLETE` Complete\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING","COMPLETE","CLOSED",null],"maxLength":30,"nullable":true},"externalId":{"description":"The Id of the data as set by the provider of the data","type":"string","maxLength":150,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"conduct model"},"ErrorModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.  If there are multiple errors, then this will be the code of the first one.","format":"int32"},"message":{"type":"string","description":"A message indicating the reason for the error. If there are multiple errors, then this is the message for the first one."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/ErrorListModel"}}}},"ErrorListModel":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP Error code indicating the type of error.","format":"int32"},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error"},"message":{"type":"string","description":"A message indicating the reason for the error"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32"}}}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"parameters":{"external":{"name":"external","description":"A comma separated list of fields that will instead be interpreted as an externalId. See [External Ids](#section/Introduction/External-Ids) for more information.","schema":{"type":"string"},"required":false,"in":"query"},"fields":{"name":"fields","description":"A comma separated list of fields to display.  The response will only display these fields. See [Partial Response](#section/Partial-Response) section for more information.","schema":{"type":"string"},"required":false,"in":"query"},"forceDelete":{"name":"forceDelete","description":"Force a delete command to run and delete child records as well if there are existing records depending on the record.","schema":{"type":"boolean"},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean"},"required":false,"in":"query"},"include":{"name":"include","description":"A comma separated list of resource types to include. See [Resource Inclusion](#section/Introduction/Resource-Inclusion) for more information.","schema":{"type":"string"},"required":false,"in":"query"}}},"paths":{"/tennis/o/{organizationId}/conduct/{conductId}":{"delete":{"tags":["Conduct"],"summary":"Delete a conduct","description":"Delete a specific conduct","operationId":"conduct_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Conduct Response","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"links":{"$ref":"#/components/schemas/ResponseLinks"},"included":{"$ref":"#/components/schemas/IncludedData"},"data":{"type":"array","description":"","items":{"$ref":"#/components/schemas/ConductModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"parameters":[{"name":"conductId","description":"The unique identifier of the conduct","schema":{"type":"string","format":"uuid"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/forceDelete"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5},"required":true,"in":"path"}]}}}}
```
