{"openapi":"3.0.0","info":{"title":"DataCore API  - Volleyball","description":"# Introduction\n\nThe DataCore API is a REST based API. This means it makes use of the followng HTTP primitives:\n * GET - To retrieve data\n * POST - To add a record\n * PUT - To update a record\n * DELETE - To delete a record\n\nAll data sent and received as well as error messages is in the JSON format.\n\n## Character Sets and Names\n\nAll data sent as both body and query parameters should be in the UTF-8 character set. All data returned will also be in UTF-8 strings.\n\nA number of fields (especially names) have both a *local* and *latin* variant. The *local* variant is the string as it would be written in the local language of the organization.  The *latin* variant is the string as it would be written, only using latin characters/alphabet. Character sets like Cyrillic, Chinese are valid for the *local* string but not the *latin* string.  Regardless of the name, all strings should still be sent using UTF-8.\n\n## Partial Responses\n\nBy default, the server sends back the full representation of a resource after processing requests. For better performance, you can ask the server to send only the fields you really need and get a partial response instead. This lets your application avoid transferring, parsing and storing un-needed data.\n\nTo request a partial response, use the `fields` query parameter to specify the fields you want returned.\n\n    fields=dob,firstName,familyName,organization(id),organizations[name],teams[name,details/metrics/*,tags(id)]\n\n### Syntax\n\n Character | Meaning\n --------- | -------\n **,**     | Delimits fields. All fields need to be delimited by a **,**.  eg. `fields=firstName,familyName`\n **/**     | Use `a/b` to select a field b that is nested within field a; use `a/b/c` to select a field c nested within b.\n **( )**   | The subselector allows you to specify a set of sub fields of an array or object by placing those fields in the parentheses. For example `competitors(name,address/state)` would return the name fields of the competitors key and the state field of the address key inside the competitors object.  This is also equivalent to `competitors/name,competitors/address/state`.\n **\\***   | The wildcard character matches all fields at a level. eg. `*,organization/id` would return all fields, but only the id field of the organization key\n **[]**  | The field selection will generally only refer to the fields being returned in the *data* section on the response, but by giving the name of the resource type and then enclosing the field selection syntax in square brackets you can select which fields display in the *included* section as well. eg `firstName,familyName,organizations[name,id,country]` will display the firstName and familyName from the data element and only the name, id and country from the organizations resources in the include section.\n\nAll field references are relative to the `data` element.\n\nIf the resourceType and id fields are not displayed inside the data section for a sub-element, then the system will not make them available for [Resource Inclusion](#Resource_Inclusion), regardless of the use of the includes parameter.\n\n\n## Pagination\nWhen retrieving information using GET methods, the optional `limit` parameter sets the maximum number of rows to return in a response. The maximum is 1000. If this value is empty `limit` defaults to 10.\n\nIf more rows are available, the response will include a `next` element (inside the *links* section), which contains a URL for requesting the next page. If this value is not provided, no more rows are available. A `previous` page element is also provided if appropriate.\n\nThese URIs can be generated manually by using the `offset` parameter combined with the `limit` parameter. The `offset` parameter will return `limit` rows of data starting at the **offset + 1** row.\n\n\n## Sorting\nWhere allowed, a route can have `sortBy` passed with a list of fields to sort by.  For each allowed field a `-` before the field name will denote DESC sort. The default sort is ASCENDING.\nThe below example will sort by `startTimeUTC` \"descending\" then `fixtureNumber` \"ascending\":\n\n?sortBy=-startTimeUTC,fixtureNumber\n\n## Resource Inclusion\nWhen a response is returned it will not automatically include extra data from other resources/models. It will only list the resource type and id. eg.\n\n        \"competition\" : {\n            \"resourceType\" : \"competitions\",\n            \"id\" : \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n        },\nIf specified in the query string the `include` parameter will expand that resource in the *includes* section of the response. The `include` parameter takes a comma separated list of resourceTypes to be included.\n\n    /v1/volleyball/org/1/teams/009e9276-5c80-11e8-9c2d-fa7ae01bbebc?include=competitions,leagues\n\nIf the resourceType is included in the parameter and that resourceType is available in the response, then response will include an *includes* key.  Inside that *includes* key is a *resources* object.  Inside that object, there are keys for each type of included resourceType.  Inside each resourceType keyed against the id is an object representing that resource.\n\n    {\n        \"meta\": ...\n        \"links\": ...\n        \"data\": ...\n        \"includes\": {\n            \"resources\": {\n                \"competitions\":\n                    \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\": {\n                        ...\n                        Competition Resource Details\n                        ...        \n                    }\n                },\n                \"leagues\": {\n                    \"009e9276-5c80-11e8-9c2d-fa7bc24e4ebc\": {\n                        ...\n                        League Resource Details\n                        ...        \n                    }\n                }\n            }\n        }\n    }\n\nIf the resourceType/id block is not available in the response, then the `include` will not link in the requested resource.  eg. an `include=competitions` in a fixtures call will not return anything as the competition resource is not returned in these calls. However, the include functionality also checks the included resources for resourceType/id blocks. This means that you can chain includes to get further along the data model.  For example an `include=competitions,seasons` in a fixtures call will return the competition resource as the competition resourceType/id block is returned in the season resource.\n\nThe list of available inclusions are\n\n\n code            | Resource \n -----            | ----- \n `competitions`|Competitions\n `entities`      | Teams \n `entityGroups`|Clubs\n `fixtures`|Matches\n `leagues`       | Leagues \n `organizations` | Organizations \n `persons`|Persons\n `sites`|Sites\n `seasons`|Seasons\n `seasonPools`|Pools\n `seasonStages`|Stages\n `seasonRounds`|Rounds\n `venues`|Venues\n\n## External Ids\n\nThe API allows certain end-points to be accessed via the externalId as supplied by the user.  \n\nThe external parameter when used, lists the Ids that are to be replaced.\n\n    /v1/volleyball/org/1/competitions/NL?external=competitionId\n\nBelow are a list of all the Ids that can be replaced.  These Ids can be replaced in GET, POST, PUT & DELETE calls.\n* competitionId\n* seasonId\n* fixtureId\n* siteId\n* venueId\n* entityGroupId\n* entityId\n* personId\n\nThe allowable format of an externalId is any character except:\n* / (forward slash)\n* ? (question mark)\n* & (ampersand)\n\n## Date formats\n\nThe API only accepts dates formatted in the ISO-8601 standard. These dates should be sent with **no** timezone qualifier. The correct timezone will be implied by the context of the call.\n\n**Example:**\n\n For dates with a time component\n\n     YYYY-MM-DDThh:mm:ss.s eg. 2017-06-29T18:20:00.00\n\n For dates with no time component\n\n     YYYY-MM-DD eg. 2017-06-29\n\nwhere  \n YYYY = four-digit year  \n MM = two-digit month (01=January, etc.)  \n DD = two-digit day of month (01 through 31)  \n hh = two digits of hour (00 through 23) (am/pm NOT allowed)   \n mm = two digits of minute (00 through 59)   \n ss = two digits of second (00 through 59)   \n s = one or more digits representing a decimal fraction of a second  \n\n## UUIDs\n\nThe majority of objects in the API use a [universally unique identifier](https://en.wikipedia.org/wiki/Universally_unique_identifier) (uuid) as an identifier.  The uuid is a number, represented as 32 hexadecimal digits. There are a number of different versions of the uuid, but this API uses only uuid version 1.\n\nWhen a new record (that uses a uuid) is created, this uuid can be generated by the client and included in the POST call.  If left blank, it will be automatically created by the server and return it in the response.\n\nAn example uuid is: `206c7392-b05f-11e8-96f8-529269fb1459`\n\n## Images\n\nSome API calls will return image objects for things such as logos or photos.  The url field of the image object contains the url where you will find that image.  This url is for the 'default' version of the image.  There are some query string parameters available to change how the image is returned.\n\n`format`\n\n By default the image is returned in whatever format it was uploaded in, but by specifying the 'format' parameter you can change this.  Valid options are: `png`, `jpg`, `webp`.\n\n`size`\n\nBy default the image is returned as a square of 100x100 pixels.  By specifying the 'size' parameter the image will be returned at a difference size.  The available options are\n\nsize parameter | dimensions\n -----            | -----\n`100` | 100x100\n`200` | 200x200\n`400` | 400x400\n`800` | 800x800\n`1000` | 1000x1000\n`RAW` | The original dimensions that the image was uploaded with\n\nImages will not be scaled up. If you ask for an image with `size=400`, but the image is only 200x200 then the image will be returned as 200x200.\n\nAll images returned (apart from `size=RAW`) are square. If the original image that is uploaded is not square, then it is padded with a transparent (white for jpg) background.\n\nAn example url is: `https://img.dc.atriumsports.com/586aa6b195d243c4ae4154c8a61eda19?size=200&format=webp`\n\n## DataCore Object Model\n\n<a href = \"https://yuml.me/diagram/scruffy;dir:LR/class/[Organizations]-<>[Persons],[Organizations]-.-<>[Leagues],[Organizations]-.-<>[Divisions],[Divisions]-.-<>[Conferences],[Organizations]-<>[Competitions],[Organizations]-<>[Clubs],[Organizations]-<>[Venues],[Organizations]-<>[Sites],[Organizations]-<>[Teams],[Competitions]-<>[Seasons],[Leagues]-.-<>[Competitions],[Seasons]-<>[Matches],[Matches]-2<>[~Competitors~],[~Competitors~]-.->[Conferences][Matches]-1[Venues],[Clubs]-.-<>[Teams],[Sites]-.-<>[Venues],[Matches]-<>[Fixture Roster],[Seasons]->[Stages],[Seasons]->[Pools],[Seasons]->[Rounds],[Matches]-.->[Stages],[Matches]-.->[Pools],[Matches]-.->[Rounds],[~Competitors~]<-[Teams],[Fixture Roster]<-[Persons],[Teams]->[Season Roster],[Season Roster]<-[Persons].jpg\">\n<img src=\"https://yuml.me/diagram/scruffy;dir:LR/class/[Organizations]-<>[Persons],[Organizations]-.-<>[Leagues],[Organizations]-.-<>[Divisions],[Divisions]-.-<>[Conferences],[Organizations]-<>[Competitions],[Organizations]-<>[Clubs],[Organizations]-<>[Venues],[Organizations]-<>[Sites],[Organizations]-<>[Teams],[Competitions]-<>[Seasons],[Leagues]-.-<>[Competitions],[Seasons]-<>[Matches],[Matches]-2<>[~Competitors~],[~Competitors~]-.->[Conferences][Matches]-1[Venues],[Clubs]-.-<>[Teams],[Sites]-.-<>[Venues],[Matches]-<>[Fixture Roster],[Seasons]->[Stages],[Seasons]->[Pools],[Seasons]->[Rounds],[Matches]-.->[Stages],[Matches]-.->[Pools],[Matches]-.->[Rounds],[~Competitors~]<-[Teams],[Fixture Roster]<-[Persons],[Teams]->[Season Roster],[Season Roster]<-[Persons]\"></a>\n\n\nMore detailed information about each component is available in that section of the API documentation.\n\n## Match Status Flow\n\nEach match can have one of the following status values:\n  * **IF_NEEDED** - Only played if needed\n  * **BYE** - Team has no match scheduled for this group of matches\n  * **SCHEDULED** - Yet to be played\n  * **PENDING** - Ready to start\n  * **WARM_UP** - Players have begun to warm up\n  * **ON_PITCH** - Players are on the playing field\n  * **ABOUT_TO_START** - Match is about to start\n  * **IN_PROGRESS** - Currently in play\n  * **FINISHED** - Match finished but not yet 'official'\n  * **CONFIRMED** - Match officially completed\n  * **POSTPONED** - Will be played at a future time\n  * **CANCELLED** - Will not be played\n  * **ABANDONED** - Match began but had to be stopped\n  \n<img src=\"https://yuml.me/diagram/scruffy/activity/(start)-|a|,|a|->(IF_NEEDED)->(SCHEDULED),|a|->(BYE)->(SCHEDULED),|a|->(SCHEDULED)->(PENDING)->(WARM_UP)->(IN_PROGRESS)->(FINISHED)->(CONFIRMED)->(end),(SCHEDULED)->(CANCELLED)->(end),(SCHEDULED)->(ABANDONED)->(end),(SCHEDULED)->(POSTPONED)->(end),(IN_PROGRESS)->(ABANDONED)->(end)\" >\n\n## Bulk POST & PUT requests\n\nWhen performing bulk POST or PUT requests, it is essential to consider the size of the payload to ensure optimal performance and avoid potential issues.\n\n**Payload Size for Complex Structures**\nFor complex structures, such as Matches, the recommended number of rows to include in the payload is 70. This guideline helps maintain efficiency and reliability during data processing.\n\n**Payload Size for Other Endpoints**\nFor other endpoints, it may be possible to handle larger payloads. However, it is crucial to analyze the performance and determine the appropriate size for your specific use case. Conduct thorough testing and monitoring to identify the optimal payload size that your system can handle without compromising performance.\n\n\n## Limits/Throttling\n\nAll API requests are limited/throttled to prevent abuse and ensure stability.  There are two types of limiting in place:\n 1. Usage Limits/Quota\n    As a customer you would have been given a number of API calls that you are allowed to make each month. If you exceed this limit then your request will fail.\n 2. Rate Limits\n    As part of your plan you will also have limits as to how often you can make particular calls. For example you may only be able to call a particular endpoint once per minute.  If you exceed these limits then your request will fail.\n\n# Authorization\n\nThis API uses the OAuth 2.0 protocol to authorize calls. OAuth is an open standard that many companies use to provide secure access to protected resources.\n\nWhen you created an application in our management systems you would have been provided with an OAuth client ID and secret key.  By using these credentials and other parameters in a [get token](#token) call you will receive back an **access token**. \n\nThis **access token** must then be sent in the `Authorization` header for each subsequent API call.  Access tokens have a finite life and will expire. When the token expires you will need to create a new token to make more API calls.  Creation of tokens is rate-limited, so you should use the existing token as long as possible.\n\n<!-- ReDoc-Inject: <security-definitions> -->\n","version":"v1"},"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."}},"responses":{"ErrorResponse":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/ResponseMetaData"},"error":{"$ref":"#/components/schemas/ErrorModel"}}}}}}},"schemas":{"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","example":400},"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.","example":"Field 'dob' must contain a valid date"},"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","example":400},"reason":{"enum":["INVALID_DATA","NOT_FOUND","NOT_AUTHORISED","ERROR","DELETE_ERROR"],"description":"A short code indicating the type of error","example":"INVALID_DATA"},"message":{"type":"string","description":"A message indicating the reason for the error","example":"Field 'dob' must contain a valid date"},"rowNumber":{"type":"integer","description":"The row number of the payload that cause the error","format":"int32","example":1}}},"ResponseMetaData":{"type":"object","properties":{"version":{"type":"integer","description":"The version of the API in use for this call","example":1},"codeVersion":{"type":"string","description":"A string indicating the version of the code that handled this request","example":"d6cd1e2bd19e03a81132a23b2025920577f84e37"},"code":{"type":"integer","description":"The HTTP response code for this request","example":200},"time":{"type":"string","format":"date-time","description":"The date/time this request was made (in UTC).","example":"2018-06-05T23:43:41.227Z"},"fromCache":{"type":"boolean","description":"Was this request served directly from the cache?","example":false},"count":{"type":"integer","description":"The number of records being returned","example":7},"limit":{"type":"integer","description":"The record limit in place for this request","example":10},"offset":{"type":"integer","description":"The record offset in place for this request","example":10},"generationTime":{"type":"number","format":"float","description":"The number of seconds taken to generate this request.","example":0.011604}}},"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"}}}}}},"PersonsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this person belongs to","type":"object"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `DECEASED` Deceased\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n>- `UNREGISTERED` UnRegistered\n","type":"string","enum":["ACTIVE","UNREGISTERED","PENDING","DECEASED","INACTIVE"],"maxLength":30,"default":"ACTIVE","example":"ACTIVE"},"gender":{"description":"The gender of the person\n>- `FEMALE` Female\n>- `MALE` Male\n>- `UNKNOWN` Unknown\n","type":"string","enum":["MALE","FEMALE","UNKNOWN"],"example":"MALE"},"nameFullLocal":{"description":"The full name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":200,"example":"John Smith"},"nameAbbreviated":{"description":"An abbreviated name for a person","type":"string","maxLength":100,"nullable":true,"example":"Pat"},"languageLocal":{"description":"The language code of the full name in [local](#section/Introduction/Character-Sets-and-Names) language. This code is a two letter (lower-case) ISO 639-1 language code.","type":"string","maxLength":2,"nullable":true,"example":"en"},"nameGivenLocal":{"description":"Given name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":200,"nullable":true,"example":"John"},"nameFamilyLocal":{"description":"Family name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":200,"nullable":true,"example":"Smith"},"nameFullLatin":{"description":"The full name of the person in [latin](##section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":200,"nullable":true,"example":"John Smith"},"nameGivenLatin":{"description":"Given name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":200,"nullable":true,"example":"John"},"nameFamilyLatin":{"description":"Family name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":200,"nullable":true,"example":"Smith"},"dob":{"description":"Date of Birth","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"nationality":{"description":"A 3 letter nationality code. We recommend you use ISO-3166 where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"AUS"},"deceased":{"description":"Date deceased","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"additionalNames":{"type":"object","nullable":true,"description":"Additional names for the person. They are broken down by language, so you can have a different set of names per language","additionalProperties":{"type":"object","example":"default","description":"The *property name* here can either be `default` (for a non-language specific name) or a two letter (lower-case) ISO 639-1 language code. eg `fr`, `es`","additionalProperties":false,"properties":{"display":{"type":"string","nullable":true},"television":{"description":"The name to be used on television","type":"string","nullable":true},"scoreboard":{"description":"The name to be used on the scoreboard","type":"string","nullable":true},"pronunciation":{"description":"The description of how to pronounce the name","type":"string","nullable":true},"boxscore":{"type":"string","nullable":true},"jersey":{"type":"string","nullable":true},"abbreviated":{"type":"string","nullable":true},"given":{"type":"string","nullable":true},"family":{"type":"string","nullable":true},"full":{"type":"string","nullable":true},"knownAs":{"type":"string","nullable":true}}},"pattern":"^(default|[a-z]{2})$"},"additionalDetails":{"title":"Person additional details","description":"Additional person detail fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"height":{"description":"Height in cms","type":"number","nullable":true},"heightImperial":{"description":"Height in feet & inches","type":"string","nullable":true,"pattern":"^([4-7])'([0-9]|1[0-1])$"},"weight":{"description":"Weight in kgs","type":"number","nullable":true},"weightImperial":{"description":"Weight in pounds","type":"number","nullable":true},"dominantHand":{"description":"Dominant hand","type":"string","nullable":true,"enum":["LEFT","RIGHT"]},"dominantFoot":{"description":"Dominant foot","type":"string","nullable":true,"enum":["LEFT","RIGHT"]},"homeTown":{"description":"Hometown","type":"string","nullable":true},"school":{"description":"School","type":"string","nullable":true},"schoolClass":{"description":"School Class","type":"string","nullable":true},"college":{"description":"College","type":"string","nullable":true},"collegeClass":{"description":"College Class","type":"string","nullable":true},"representation":{"description":"Representation","type":"string","nullable":true},"juniorAssociationLeague":{"description":"Junior Association / League","type":"string","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"historicalNames":{"type":"array","nullable":true,"title":"Person historical names","description":"Array of person historical names","items":{"type":"object","title":"Person historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameFullLocal":{"description":"The full name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","nullable":true},"nameGivenLocal":{"description":"Given name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","nullable":true},"nameFamilyLocal":{"description":"Family name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","nullable":true},"nameFullLatin":{"description":"The full name of the person in [latin](##section/Introduction/Character-Sets-and-Names) characters","type":"string","nullable":true},"nameGivenLatin":{"description":"Given name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","nullable":true},"nameFamilyLatin":{"description":"Family name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","nullable":true}}}},"representing":{"description":"Who the person or team was representing","type":"string","maxLength":100,"nullable":true,"example":"AUSTRALIA"},"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,"example":"A123"},"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},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImagesModel"}}},"title":"person model"},"CompetitionsModel":{"type":"object","additionalProperties":false,"properties":{"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this competition belongs to","type":"object"},"leagueId":{"description":"The unique identifier of the league","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"league":{"properties":{"resourceType":{"type":"string","enum":["leagues"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The league that this competition belongs to","type":"object"},"internationalReference":{"description":"The international reference for this competition given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the competition in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"eventType":{"description":"Primary Type of Matches\n>- `FIXTURE` Fixture\n>- `PRACTICE` Practice\n","type":"string","enum":["FIXTURE","PRACTICE"],"maxLength":30,"default":"FIXTURE","example":"FIXTURE"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the competition in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"},"historicalNames":{"type":"array","nullable":true,"title":"Competition historical names","description":"Array of competition historical names","items":{"type":"object","title":"Competition historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"abbreviationLocal":{"description":"Abbreviation in local lanuage","type":"string","nullable":true},"abbreviationLatin":{"description":"Abbreviation in latin characters","type":"string","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},"ageGroup":{"description":"The age group of the competition\n>- None None\n>- `JUNIOR` Junior\n>- `MASTERS` Masters\n>- `SENIOR` Senior\n>- `UNDER_15` Under 15\n>- `UNDER_16` Under 16\n>- `UNDER_17` Under 17\n>- `UNDER_18` Under 18\n>- `UNDER_19` Under 19\n>- `UNDER_20` Under 20\n>- `UNDER_21` Under 21\n>- `UNDER_22` Under 22\n>- `UNDER_23` Under 23\n>- `YOUTH` Youth\n","type":"string","enum":["JUNIOR","YOUTH","UNDER_15","UNDER_16","UNDER_17","UNDER_18","UNDER_19","UNDER_20","UNDER_21","UNDER_22","UNDER_23","SENIOR","MASTERS",null],"maxLength":50,"nullable":true,"example":"SENIOR"},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImagesModel"}}},"title":"competition model"},"Competitions_Season_StatusModel":{"type":"object","additionalProperties":false,"properties":{"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this competition season status belongs to","type":"object"},"leagueId":{"description":"The unique identifier of the league","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"league":{"properties":{"resourceType":{"type":"string","enum":["leagues"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The league that this competition season status belongs to","type":"object"},"internationalReference":{"description":"The international reference for this competition season status given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the competition season status in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"eventType":{"description":"Primary Type of Matches\n>- `FIXTURE` Fixture\n>- `PRACTICE` Practice\n","type":"string","enum":["FIXTURE","PRACTICE"],"maxLength":30,"default":"FIXTURE","example":"FIXTURE"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the competition season status in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"},"historicalNames":{"type":"array","nullable":true,"title":"Competition historical names","description":"Array of competition historical names","items":{"type":"object","title":"Competition historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"abbreviationLocal":{"description":"Abbreviation in local lanuage","type":"string","nullable":true},"abbreviationLatin":{"description":"Abbreviation in latin characters","type":"string","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},"ageGroup":{"description":"The age group of the competition\n>- None None\n>- `JUNIOR` Junior\n>- `MASTERS` Masters\n>- `SENIOR` Senior\n>- `UNDER_15` Under 15\n>- `UNDER_16` Under 16\n>- `UNDER_17` Under 17\n>- `UNDER_18` Under 18\n>- `UNDER_19` Under 19\n>- `UNDER_20` Under 20\n>- `UNDER_21` Under 21\n>- `UNDER_22` Under 22\n>- `UNDER_23` Under 23\n>- `YOUTH` Youth\n","type":"string","enum":["JUNIOR","YOUTH","UNDER_15","UNDER_16","UNDER_17","UNDER_18","UNDER_19","UNDER_20","UNDER_21","UNDER_22","UNDER_23","SENIOR","MASTERS",null],"maxLength":50,"nullable":true,"example":"SENIOR"},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImagesModel"}}},"title":"competition season status model"},"EntitiesModel":{"type":"object","additionalProperties":false,"properties":{"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this team belongs to","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The club that this team belongs to","type":"object"},"internationalReference":{"description":"The international reference for this team given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"nameFullLocal":{"description":"The full name of the team in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Los Angeles Armadillos"},"additionalNames":{"type":"object","properties":{"nameShortLocal":{"description":"The short name of the team in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"Armadillos"},"namePlaceLocal":{"description":"The name of the place associated with the team in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles"},"nameShortLatin":{"description":"The short name of the team using [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"Armadillos"},"namePlaceLatin":{"description":"The name of the place associated with the team using [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles"}}},"nameFullLatin":{"description":"The full name of the team in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles Armadillos"},"codeLocal":{"description":"The code of the team in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":5,"nullable":true,"example":"TEST"},"codeLatin":{"description":"The code of the team in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":5,"nullable":true,"example":"TEST"},"address":{"title":"Team address","description":"Street Address for the team","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"},"tiktok":{"type":"string","nullable":true,"example":"example"},"ticketing":{"type":"string","nullable":true,"example":"https://www.tickets.com/example"}}},"contacts":{"title":"Contact details","description":"Public contact fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"fax":{"type":"string","nullable":true,"description":"Fax number"},"phone":{"type":"string","nullable":true,"description":"Primary phone number"},"phoneSecondary":{"type":"string","nullable":true,"description":"Secondary phone number"},"email":{"type":"string","nullable":true,"description":"Primary email address"}}},"details":{"title":"Entity additional details","description":"Additional detail fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"founded":{"description":"Year Founded","type":"number","nullable":true},"squadValue":{"description":"Value of Squad","type":"number","nullable":true}}},"colors":{"type":"object","properties":{"primary":{"description":"Primary color of the team.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"secondary":{"description":"Secondary color of the team.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"tertiary":{"description":"Tertiary color of the team.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"}}},"historicalNames":{"type":"array","nullable":true,"title":"Team historical names","description":"Array of team historical names","items":{"type":"object","title":"Team historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameFullLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameFullLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"nameShortLocal":{"description":"Short name in local language","type":"string","nullable":true},"nameShortLatin":{"description":"Short name in latin characters","type":"string","nullable":true},"namePlaceLocal":{"description":"Place name in latin characters","type":"string","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,"example":"A123"},"ageGroup":{"description":"The age group of the team\n>- None None\n>- `JUNIOR` Junior\n>- `MASTERS` Masters\n>- `SENIOR` Senior\n>- `UNDER_10` Under 10\n>- `UNDER_11` Under 11\n>- `UNDER_12` Under 12\n>- `UNDER_13` Under 13\n>- `UNDER_14` Under 14\n>- `UNDER_15` Under 15\n>- `UNDER_16` Under 16\n>- `UNDER_17` Under 17\n>- `UNDER_18` Under 18\n>- `UNDER_19` Under 19\n>- `UNDER_20` Under 20\n>- `UNDER_21` Under 21\n>- `UNDER_22` Under 22\n>- `UNDER_23` Under 23\n>- `YOUTH` Youth\n","type":"string","enum":["JUNIOR","YOUTH","UNDER_10","UNDER_11","UNDER_12","UNDER_13","UNDER_14","UNDER_15","UNDER_16","UNDER_17","UNDER_18","UNDER_19","UNDER_20","UNDER_21","UNDER_22","UNDER_23","SENIOR","MASTERS",null],"maxLength":50,"nullable":true,"example":"SENIOR"},"gender":{"description":"The gender of the participants in the team\n>- None None\n>- `FEMALE` Female\n>- `MALE` Male\n>- `MIXED` Mixed\n>- `UNKNOWN` Unknown\n","type":"string","enum":["FEMALE","MALE","MIXED","UNKNOWN",null],"maxLength":20,"nullable":true,"example":"MALE"},"standard":{"description":"The playing standard of the team\n>- None None\n>- `ELITE` Professional/elite organisation\n>- `FRIENDLY` International Friendly\n>- `GRASS_ROOT` Normal\n>- `INTERNATIONAL` International\n>- `NONCONTINENTAL_CHAMPIONSHIP` Non-continental Championship\n>- `OLYMPIC` Olympics\n>- `REGION` Regional\n>- `TIER2` lesser standard than elite\n>- `TIER3` lesser standard than tier 2\n>- `WORLD_CHAMPIONSHIP` World Championship\n>- `ZONE_CHAMPIONSHIP` International Zone Championship\n","type":"string","enum":["ELITE","FRIENDLY","GRASS_ROOT","INTERNATIONAL","NONCONTINENTAL_CHAMPIONSHIP","OLYMPIC","REGION","TIER2","TIER3","WORLD_CHAMPIONSHIP","ZONE_CHAMPIONSHIP",null],"maxLength":50,"nullable":true,"example":"ELITE"},"grade":{"description":"The playing grade of the matches for this team","type":"string","maxLength":50,"nullable":true,"example":"A"},"representing":{"description":"Who the team was representing","type":"string","maxLength":100,"nullable":true,"example":"AUSTRALIA"},"discipline":{"description":"Discipline' the team participates in\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"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},"defaultVenueId":{"description":"The unique identifier of the default venue","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"alternateVenueIds":{"type":"array","items":{"type":"string","format":"uuid"}},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImagesModel"}}},"title":"team model"},"Entity_GroupsModel":{"type":"object","additionalProperties":false,"properties":{"entityGroupId":{"description":"The unique identifier of the club","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this club belongs to","type":"object"},"internationalReference":{"description":"The international reference for this club given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"nameFullLocal":{"description":"The full name of the club in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Los Angeles Armadillos"},"additionalNames":{"type":"object","properties":{"nameShortLocal":{"description":"The short name of the club in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"Armadillos"},"namePlaceLocal":{"description":"The name of the place associated with the club in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles"},"nameShortLatin":{"description":"The short name of the club using [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"Armadillos"},"namePlaceLatin":{"description":"The name of the place associated with the club using [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles"}}},"nameFullLatin":{"description":"The full name of the club in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles Armadillos"},"codeLocal":{"description":"The code of the club in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":5,"nullable":true,"example":"TEST"},"codeLatin":{"description":"The code of the club in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":5,"nullable":true,"example":"TEST"},"address":{"title":"Club address","description":"Street Address for the club","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"details":{"title":"Entity additional details","description":"Additional detail fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"founded":{"description":"Year Founded","type":"number","nullable":true},"squadValue":{"description":"Value of Squad","type":"number","nullable":true}}},"contacts":{"title":"Contact details","description":"Public contact fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"fax":{"type":"string","nullable":true,"description":"Fax number"},"phone":{"type":"string","nullable":true,"description":"Primary phone number"},"phoneSecondary":{"type":"string","nullable":true,"description":"Secondary phone number"},"email":{"type":"string","nullable":true,"description":"Primary email address"}}},"colors":{"type":"object","properties":{"primary":{"description":"Primary color of the club.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"secondary":{"description":"Secondary color of the club.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"tertiary":{"description":"Tertiary color of the club.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"}}},"historicalNames":{"type":"array","nullable":true,"title":"Club historical names","description":"Array of club historical names","items":{"type":"object","title":"Club historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameFullLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameFullLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"nameShortLocal":{"description":"Short name in local language","type":"string","nullable":true},"nameShortLatin":{"description":"Short name in latin characters","type":"string","nullable":true},"namePlaceLocal":{"description":"Place name in latin characters","type":"string","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,"example":"A123"},"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},"defaultVenueId":{"description":"The unique identifier of the default venue","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"alternateVenueIds":{"type":"array","items":{"type":"string","format":"uuid"}},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImagesModel"}}},"title":"club model"},"Fixture_ProgressionsModel":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"Source fixtureId","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"toFixtureId":{"description":"Destination fixtureId","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this ~fixture_progression~ belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"placingAfter":{"description":"Place after source match completion","type":"integer","format":"int32","example":1},"isHome":{"description":"Will this competitor be the 'home' team in the target match?","type":"boolean","example":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},"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,"example":"A123"}},"title":"~fixture_progression~ model"},"Fixture_EntitiesModel":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this match teams belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The conference information","type":"object"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The division information","type":"object"},"includeInConferenceStatistics":{"description":"Include the statistics for this competitors in the conference statistics?","type":"boolean","example":true},"isHome":{"description":"Is competitor the home team ?","type":"boolean","example":true},"draw":{"description":"Result for this competitor was a draw ?","type":"boolean","example":true},"resultStatus":{"description":"Result status\n>- `CONFIRMED` Confirmed\n>- `DID_NOT_FINISH` Did Not Finish\n>- `DID_NOT_START` Did Not Start\n>- `DISQUALIFIED` Disqualified\n>- `FORFEITED` Forfeited\n>- `IN_PROGRESS` In Progress\n>- `SCHEDULED` Scheduled\n>- `WITHDRAWN` Withdrawn\n>- `WON_BY_FORFEIT` Won By Forfeit\n","type":"string","enum":["SCHEDULED","IN_PROGRESS","CONFIRMED","DISQUALIFIED","FORFEITED","WON_BY_FORFEIT","DID_NOT_FINISH","WITHDRAWN","DID_NOT_START"],"maxLength":100,"example":"CONFIRMED"},"resultPlace":{"description":"Result placing (1=Won, 2=Lost)","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"resultSecondaryScorePlace":{"description":"Result placing (1=Won, 2=Lost) of the Shoot Out","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"startingNumber":{"description":"Starting number","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"score":{"description":"Score for competitor in match","type":"string","maxLength":100,"nullable":true,"example":"98"},"secondaryScore":{"description":"Secondary score (used for shoot-outs)","type":"string","maxLength":100,"nullable":true,"example":"3v3"},"shootOutAttempts":{"description":"Result of shoot-out attempts (1 or 0 per attempt).","type":"string","maxLength":200,"nullable":true,"example":"11011"},"isNeutralVenue":{"description":"Competitor is playing at a neutral venue ?","type":"boolean","example":true},"includeInRepresentation":{"description":"Include this match in represented statistics?","type":"boolean","default":true,"example":true},"rosterStatus":{"description":"The status of the TEAM match teams\n>- `APPROVED` Approved\n>- `PENDING` Pending\n>- `REJECTED` Rejected\n>- `SUBMITTED` Submitted\n>- `UNKNOWN` Unknown\n","type":"string","enum":["UNKNOWN","SUBMITTED","PENDING","APPROVED","REJECTED"],"maxLength":100,"default":"UNKNOWN","example":"APPROVED"},"uniformId":{"description":"The unique identifier of the uniform","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"uniform":{"properties":{"resourceType":{"type":"string","enum":["uniforms"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The Uniform information","type":"object"},"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,"example":"A123"},"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":"match teams model"},"Fixture_PersonsModel":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this match persons belongs to","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The club that this team belongs to","type":"object"},"isHome":{"description":"Is competitor the home person ?","type":"boolean","example":true},"draw":{"description":"Result for this competitor was a draw ?","type":"boolean","example":true},"resultStatus":{"description":"Result status\n>- `CONFIRMED` Confirmed\n>- `DID_NOT_FINISH` Did Not Finish\n>- `DID_NOT_START` Did Not Start\n>- `DISQUALIFIED` Disqualified\n>- `FORFEITED` Forfeited\n>- `IN_PROGRESS` In Progress\n>- `SCHEDULED` Scheduled\n>- `WITHDRAWN` Withdrawn\n>- `WON_BY_FORFEIT` Won By Forfeit\n","type":"string","enum":["SCHEDULED","IN_PROGRESS","CONFIRMED","DISQUALIFIED","FORFEITED","WON_BY_FORFEIT","DID_NOT_FINISH","WITHDRAWN","DID_NOT_START"],"maxLength":100,"example":"CONFIRMED"},"resultPlace":{"description":"Result placing (1=Won, 2=Lost)","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"resultSecondaryScorePlace":{"description":"Result placing (1=Won, 2=Lost) of the Shoot Out","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"startingNumber":{"description":"Starting number","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"score":{"description":"Score for competitor in match","type":"string","maxLength":100,"nullable":true,"example":"98"},"secondaryScore":{"description":"Secondary score","type":"string","maxLength":100,"nullable":true,"example":"3v3"},"isNeutralVenue":{"description":"Competitor is playing at a neutral venue ?","type":"boolean","example":true},"includeInRepresentation":{"description":"Include this match in represented statistics?","type":"boolean","default":true,"example":true},"uniformId":{"description":"The unique identifier of the uniform","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"uniform":{"properties":{"resourceType":{"type":"string","enum":["uniforms"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The Uniform information","type":"object"},"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,"example":"A123"},"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":"match persons model"},"Fixture_RosterModel":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this match roster belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":100,"nullable":true,"example":"34"},"position":{"description":"Playing position","type":"string","maxLength":100,"nullable":true,"example":"GOALKEEPER"},"starter":{"description":"Did person start the match on the court","type":"boolean","example":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,"example":"A123"},"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":"match roster model"},"Season_Fixture_Stages_Pools_ListModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season fixture stages pools belongs to","type":"object"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"example":"P1"},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"P1"}},"description":"The pool that is related to this record","type":"object"},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"}},"title":"season fixture stages pools model"},"FixturesModel":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this match belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"practiceDrillType":{"description":"Practice types\n>- None None\n>- `DRILL` Drill\n>- `FITNESS` Fitness\n>- `GAME` Practice Game\n>- `OTHER` Other\n","type":"string","enum":["DRILL","GAME","FITNESS","OTHER",null],"maxLength":100,"nullable":true,"example":"DRILL"},"internationalReference":{"description":"The international reference for this match given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"status":{"description":"Match status\n>- `ABANDONED` Abandoned - Match began but had to be stopped\n>- `ABOUT_TO_START` About to Start - Match is about to start\n>- `BYE` Bye - Team has 'rest'\n>- `CANCELLED` Cancelled - Cancelled - will not be played\n>- `CONFIRMED` Confirmed - Match officially completed\n>- `DRAFT` Draft - Not fully scheduled\n>- `FINISHED` Finished - Match finished by not yet 'official'\n>- `IF_NEEDED` If Needed - Only played if needed\n>- `IN_PROGRESS` In Progress - Currently in play\n>- `ON_PITCH` On Pitch - Players appered on the playing field\n>- `PENDING` Pending - Ready to start\n>- `POSTPONED` Postponed - Will be played at a future time\n>- `SCHEDULED` Scheduled - Yet to be played\n>- `WARM_UP` Warm Up - Players have begun to warm up\n","type":"string","enum":["IF_NEEDED","SCHEDULED","BYE","PENDING","IN_PROGRESS","FINISHED","CONFIRMED","POSTPONED","CANCELLED","ABANDONED","WARM_UP","DRAFT","ON_PITCH","ABOUT_TO_START"],"maxLength":100,"default":"SCHEDULED","example":"SCHEDULED"},"fixtureNumber":{"description":"Match number (range of -2147483648 to 2147483647)","type":"integer","format":"int32","nullable":true,"example":123},"nameLocal":{"description":"The name of the match in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Grand Final"},"nameLatin":{"description":"The name of the match in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Grand Final"},"startTimeLocal":{"description":"Local start time","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T18:00:00"},"startTimeUTC":{"description":"Start time (UTC). This is automatically generated based on the timezone of the venue.","type":"string","format":"date-time","nullable":true,"readOnly":true,"example":"2018-08-16T02:00:00"},"finishRecordingTimeUTC":{"description":"(TO BE REMOVED) Start time (UTC) + durationFull","type":"string","format":"date-time","readOnly":true,"example":"2018-08-16T02:00:00","deprecated":true},"finishRecordingTimeLocal":{"description":"(TO BE REMOVED) Start time (Local) + durationFull","type":"string","format":"date-time","readOnly":true,"example":"2018-08-16T02:00:00","deprecated":true},"startTimeActualUTC":{"description":"Actual start time (UTC)","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T02:02:23"},"endTimeActualUTC":{"description":"Actual end time (UTC)","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T04:02:23"},"timesUnconfirmed":{"description":"Is the match time yet to be confirmed ?","type":"boolean","example":true},"locked":{"description":"Is the match locked (to prevent editing)?","type":"boolean","example":true},"placingIfWon":{"description":"Place if Won?","type":"integer","format":"int32","nullable":true,"example":1},"placingIfLost":{"description":"Place if Lost?","type":"integer","format":"int32","nullable":true,"example":1},"attendance":{"description":"Crowd attendance","type":"integer","format":"int32","maximum":999999,"nullable":true,"example":1123},"sellout":{"description":"Was the match a sellout?","type":"boolean","example":true},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"environmental":{"title":"Environmental details","description":"Details about the environment during the fixture","type":"object","nullable":true,"additionalProperties":false,"properties":{"surfaceCondition":{"description":"Condition of surface","type":"string"}}},"duration":{"description":"Length, in minutes, of the match","type":"integer","format":"int32","nullable":true,"example":48},"durationFull":{"description":"Full duration including breaks","type":"integer","format":"int32","nullable":true,"example":180},"ticketURL":{"description":"Ticket URL","type":"string","maxLength":200,"nullable":true},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The stage that is related to this record","type":"object"},"seriesCode":{"description":"A unique code for the season series. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"series":{"properties":{"resourceType":{"type":"string","enum":["seasonSeries"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The season series that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"P1"}},"description":"The pool that is related to this record","type":"object"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"RN1"},"round":{"properties":{"resourceType":{"type":"string","enum":["seasonRounds"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"RN1"}},"description":"The ~ROUND~ that is related to this record","type":"object"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"liveDataAvailable":{"description":"Is live data available?","type":"boolean","example":true},"liveVideoAvailable":{"description":"Is live video available ?","type":"boolean","example":true},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"maximumPeriodTypeUsed":{"description":"Maximum Period Type Used\n>- None None\n>- `EXTRA_TIME` Extra Time\n>- `OVERTIME` Overtime\n>- `REGULAR` Regular\n>- `SHOOTOUT` Shoot-Out\n","type":"string","enum":["REGULAR","EXTRA_TIME","OVERTIME","SHOOTOUT",null],"maxLength":50,"nullable":true,"example":"REGULAR"},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50,"example":"ENTITY"},"competitors":{"type":"array","nullable":true,"title":"Match competitors","description":"Array of match competitors","items":{"type":"object","title":"Match competitor","additionalProperties":false,"required":["entityId"],"properties":{"entityId":{"description":"The uuid of the entity","type":"string"},"conferenceId":{"description":"The uuid of the conference","type":"string"},"divisionId":{"description":"The uuid of the division","type":"string"},"includeInConferenceStatistics":{"description":"Include the statistics for this competitors in the conference statistics?","type":"boolean"},"isHome":{"description":"Is competitor the home team ?","type":"boolean"},"includeInRepresentation":{"description":"Include participant in representation count","type":"boolean"},"draw":{"description":"Result for this competitor was a draw ?","type":"boolean"},"resultStatus":{"description":"Result status","type":"string","enum":["SCHEDULED","IN_PROGRESS","CONFIRMED","DISQUALIFIED","FORFEITED","WON_BY_FORFEIT","DID_NOT_FINISH","WITHDRAWN","DID_NOT_START"]},"resultPlace":{"description":"Result placing (1=Won, 2=Lost)","type":"number","nullable":true},"resultSecondaryScorePlace":{"description":"Secondary Score Result placing (1=Won, 2=Lost)","type":"number","nullable":true},"startingNumber":{"description":"Starting number","type":"number","nullable":true},"score":{"description":"Score for competitor in match","type":"string","nullable":true},"secondaryScore":{"description":"Secondary score","type":"string","nullable":true},"shootOutAttempts":{"description":"shootOut Attempts","type":"string","nullable":true},"rosterStatus":{"description":"Roster status","type":"string","enum":["UNKNOWN","SUBMITTED","PENDING","APPROVED","REJECTED"]},"isNeutralVenue":{"description":"Competitor is playing at a neutral venue ?","type":"boolean"},"uniformId":{"description":"The uuid of the uniform","type":"string","nullable":true},"externalId":{"description":"externalId","type":"string"}}}},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"venue":{"properties":{"resourceType":{"type":"string","enum":["venues"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The venue that this match belongs to","type":"object"},"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,"example":"A123"},"profileId":{"description":"The profile that this match belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureProfile":{"properties":{"resourceType":{"type":"string","enum":["fixtureProfiles"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The profile that this match belongs to","type":"object"},"includeInStandings":{"description":"Include the match in the standings calculation?","type":"boolean","default":true,"example":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},"estimatedFinishTimeUTC":{"description":"Estimated end of match","type":"string","format":"date-time","readOnly":true},"featureMatch":{"description":"Is this match a featured match?","type":"boolean","example":true},"seriesFixtureNumber":{"description":"The number of the match in a series of matches","type":"integer","format":"int32","nullable":true,"example":1},"discipline":{"description":"match discipline\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"broadcasts":{"type":"array","items":{"type":"object","nullable":true,"title":"Broadcasts","additionalProperties":false,"properties":{"broadcastType":{"type":"string","description":"Broadcast Type","maxLength":30,"example":"TV","enum":["PAY_PER_VIEW","TV","RADIO","STREAMING_AUDIO","STREAMING_VIDEO"],"nullable":false},"broadcaster":{"description":"Broadcaster Name Local","maxLength":30,"nullable":false,"type":"string","example":"XYZ Network"},"broadcasterURL":{"description":"Broadcaster Home URL","maxLength":255,"type":"string","example":"www.XYZNetwork.com"},"broadcastURL":{"description":"Fixture Broadcast URL","maxLength":255,"type":"string","example":"www.XYZNetwork.com/fixture/123"},"broadcastTimezone":{"description":"Timezone of the broadcast","maxLength":50,"type":"string","example":"Australia/Sydney"},"locale":{"description":"Locale of the broadcast","maxLength":10,"type":"string","example":"en-EN"},"startTimeLocal":{"description":"Start Time of the broadcast","type":"string","pattern":"^([12][0-9]{3})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|\\+00:00)?$","example":"2023-01-01T12:34:56Z"}}}}},"title":"match model"},"SuccessModel":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Was the call a success?","type":"boolean","example":true}},"title":" model"},"LeaguesModel":{"type":"object","additionalProperties":false,"properties":{"leagueId":{"description":"The unique identifier of the league","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this league belongs to","type":"object"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the league in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the league in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"countryCode":{"description":"Country code of the league. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"regionType":{"description":"How geographically relevant is this league\n>- `INTERNATIONAL` Multiple countries\n>- `INTERSTATE` Cross state\n>- `LOCAL` Local area\n>- `NATIONAL` One country\n>- `STATE` One state\n","type":"string","enum":["LOCAL","STATE","INTERSTATE","NATIONAL","INTERNATIONAL"],"example":"STATE"},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"},"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},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImagesModel"}}},"title":"league model"},"OrganizationsModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the organization in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the organization in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"countryCode":{"description":"Country code of the organization. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"regionType":{"description":"How geographically relevant is this organization\n>- `INTERNATIONAL` Multiple countries\n>- `INTERSTATE` Cross state\n>- `LOCAL` Local area\n>- `NATIONAL` One country\n>- `STATE` One state\n","type":"string","enum":["LOCAL","STATE","INTERSTATE","NATIONAL","INTERNATIONAL"],"example":"STATE"},"defaultLocale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"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},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImagesModel"}}},"title":"organization model"},"RolesModel":{"type":"object","additionalProperties":false,"properties":{"roleId":{"description":"The unique identifier of the role","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this role belongs to","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The club that this team belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"dateFrom":{"description":"Date the role started (Not for a role within a match)","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"dateTo":{"description":"Date the role ended (Not for a role within a match)","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":100,"nullable":true,"example":"34"},"roleNumber":{"description":"Number within the role. eg: Assistant Coach 2","type":"integer","format":"int32","nullable":true,"example":1},"role":{"description":"Role\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"],"maxLength":100,"example":"COACH"},"roleSubType":{"description":"Role sub type","type":"string","maxLength":100,"nullable":true,"example":"Offensive Coach"},"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,"example":"A123"},"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":"role model"},"Season_StagesModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season stage belongs to","type":"object"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"example":"ST1"},"nameLocal":{"description":"The name of the season stage in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":100,"nullable":true,"example":"Test name local"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":10,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the season stage in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":100,"nullable":true,"example":"Test name latin "},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":10,"nullable":true,"example":"NFA"},"stageOrder":{"description":"User defined sort order of the stage","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"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,"example":"A123"},"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":"season stage model"},"Season_PoolsModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this pool belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"example":"P1"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The stage that is related to this record","type":"object"},"nameLocal":{"description":"The name of the pool in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":100,"nullable":true,"example":"Stage 1"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":10,"nullable":true,"example":"S1"},"nameLatin":{"description":"The name of the pool in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":100,"nullable":true,"example":"Stage 1"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":10,"nullable":true,"example":"S1"},"poolOrder":{"description":"User defined sort order of the ~pool~","type":"integer","format":"int32","nullable":true,"example":1},"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,"example":"A123"},"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":"pool model"},"Season_RosterModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season roster belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The club that this team belongs to","type":"object"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The division information","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The conference information","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":100,"nullable":true,"example":"34"},"position":{"description":"Playing position","type":"string","maxLength":100,"nullable":true,"example":"GOALKEEPER"},"status":{"description":"Participation status\n>- `ACTIVE` Active\n>- `INJURED` Injured\n>- `OTHER_NOT_PARTICIPATING` Other Non-Participation\n>- `OUT` Out\n>- `SUSPENDED` Suspended\n","type":"string","enum":["ACTIVE","INJURED","OUT","SUSPENDED","OTHER_NOT_PARTICIPATING"],"maxLength":100,"example":"ACTIVE"},"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,"example":"A123"},"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":"season roster model"},"Season_RoundsModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this round belongs to","type":"object"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"example":"RN1"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"P1"}},"description":"The pool that is related to this record","type":"object"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The stage that is related to this record","type":"object"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"nameLocal":{"description":"The name of the round in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":100,"nullable":true,"example":"Rivalry Round"},"nameLatin":{"description":"The name of the round in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":100,"nullable":true,"example":"Rivalry Round"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":10,"nullable":true,"example":"RR"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":10,"nullable":true,"example":"RR"},"roundOrder":{"description":"User defined sort order of the stage","type":"integer","format":"int32","maximum":999,"nullable":true,"example":1},"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,"example":"A123"},"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":"round model"},"SeasonsModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"leaderCriteriaId":{"description":"The unique identifier of the ~LeaderCriteria~","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"leadersCriteria":{"properties":{"resourceType":{"type":"string","enum":["leaderCriteria"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The ~LeaderCriteria~ linked to this record","type":"object"},"internationalReference":{"description":"The international reference for this season given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"eventType":{"description":"Primary Type of Matches\n>- `FIXTURE` Fixture\n>- `PRACTICE` Practice\n","type":"string","enum":["FIXTURE","PRACTICE"],"maxLength":30,"default":"FIXTURE","example":"FIXTURE"},"seasonType":{"description":"The type of matches added to this season\n>- `MULTI_YEAR_HISTORICAL` Mulit-Year Historical\n>- `ONE_OFF` One off\n>- `PRESEASON` Pre Season\n>- `SEASON` Season\n>- `TOURNAMENT` Tournament\n","type":"string","enum":["SEASON","TOURNAMENT","ONE_OFF","PRESEASON","MULTI_YEAR_HISTORICAL"],"maxLength":30,"example":"SEASON"},"year":{"description":"Year of the season","type":"integer","format":"int32","maxLength":4,"example":2019},"grade":{"description":"The playing grade of the matches in this season","type":"string","maxLength":50,"nullable":true,"example":"A"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `COMPLETE` Complete\n>- `DRAFT` Draft\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","COMPLETE","DRAFT","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"includeInStatistics":{"description":"Include this season in calculated statistics?","type":"boolean","default":true,"example":true},"liveVideoAvailable":{"description":"If no 'liveVideoAvailable' flag passed to a new match this value is used","type":"boolean","example":true},"liveDataAvailable":{"description":"If no 'liveDataAvailable' flag passed to a new match this value is used","type":"boolean","example":true},"durationFull":{"description":"If no 'durationFull' is passed to a new match this value is used","type":"integer","format":"int32","default":240,"nullable":true,"example":180},"discipline":{"description":"If no 'discipline' is passed to a new match this value is used\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"nameLocal":{"description":"The name of the season in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test season"},"nameLatin":{"description":"The name of the season in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test season"},"nameShortLocal":{"description":"The abbreviated name of the season in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"Test short local"},"nameShortLatin":{"description":"The abbreviated name of the season in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"Test short latin"},"startDate":{"description":"Season start date","type":"string","format":"date","example":"2016-09-08"},"endDate":{"description":"Season end date","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"gender":{"description":"The gender of the participants in the season\n>- `FEMALE` Female\n>- `MALE` Male\n>- `MIXED` Mixed\n>- `UNKNOWN` Unknown\n","type":"string","enum":["FEMALE","MALE","MIXED","UNKNOWN"],"maxLength":20,"example":"MALE"},"ageGroup":{"description":"The age group of the season\n>- `JUNIOR` Junior\n>- `MASTERS` Masters\n>- `SENIOR` Senior\n>- `UNDER_15` Under 15\n>- `UNDER_16` Under 16\n>- `UNDER_17` Under 17\n>- `UNDER_18` Under 18\n>- `UNDER_19` Under 19\n>- `UNDER_20` Under 20\n>- `UNDER_21` Under 21\n>- `UNDER_22` Under 22\n>- `UNDER_23` Under 23\n>- `YOUTH` Youth\n","type":"string","enum":["JUNIOR","YOUTH","UNDER_15","UNDER_16","UNDER_17","UNDER_18","UNDER_19","UNDER_20","UNDER_21","UNDER_22","UNDER_23","SENIOR","MASTERS"],"maxLength":50,"example":"SENIOR"},"standard":{"description":"The playing standard of the season\n>- `ELITE` Professional/elite organisation\n>- `FRIENDLY` International Friendly\n>- `GRASS_ROOT` Normal\n>- `HISTORICAL_BASELINE` Historical Baseline\n>- `INTERNATIONAL` International\n>- `NONCONTINENTAL_CHAMPIONSHIP` Non-continental Championship\n>- `OLYMPIC` Olympics\n>- `REGION` Regional\n>- `TIER2` lesser standard than elite\n>- `TIER3` lesser standard than tier 2\n>- `WORLD_CHAMPIONSHIP` World Championship\n>- `ZONE_CHAMPIONSHIP` International Zone Championship\n","type":"string","enum":["ELITE","FRIENDLY","GRASS_ROOT","INTERNATIONAL","NONCONTINENTAL_CHAMPIONSHIP","OLYMPIC","REGION","TIER2","TIER3","WORLD_CHAMPIONSHIP","ZONE_CHAMPIONSHIP","HISTORICAL_BASELINE"],"maxLength":50,"example":"ELITE"},"representation":{"description":"What level are the competitors representing\n>- `CLUB` Club\n>- `COUNTRY` Country\n>- `PERSON` Person\n>- `REGION` Region\n>- `STATE` State\n","type":"string","enum":["CLUB","STATE","REGION","COUNTRY","PERSON"],"maxLength":50,"example":"CLUB"},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"standingConfiguration":{"properties":{"resourceType":{"type":"string","enum":["standingConfigurations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The ~standingConfiguration~ that this season belongs to","type":"object"},"lockStandings":{"description":"Is the standings generation locked ?","type":"boolean","example":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,"example":"A123"},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"configuration":{"title":"Season Configuration","description":"Season Configuration settings","type":"object","nullable":true,"additionalProperties":false,"properties":{"periodBreakDuration":{"type":"number"},"halfTimeDuration":{"type":"number"}}},"profileId":{"description":"The profile that this season belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureProfile":{"properties":{"resourceType":{"type":"string","enum":["fixtureProfiles"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The profile that this season belongs to","type":"object"},"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},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImagesModel"}},"videoProduction":{"description":"Data synchronization strategy with video production systems\n>- `AUTOMATED` Automated\n>- `MANUAL` Manual\n>- `NONE` None\n","type":"string","enum":["NONE","AUTOMATED","MANUAL"],"maxLength":50,"default":"NONE","example":"AUTOMATED"},"promotionRelegationRules":{"type":"array","nullable":true,"items":{"type":"object","additionalProperties":false,"required":["ruleType","position","value"],"properties":{"ruleType":{"description":"Rule Type","type":"string","enum":["PROMOTION","RELEGATION"]},"position":{"description":"Standings Position","type":"number"},"value":{"description":"Value to apply to Promotion or Relegation","example":"DIV1","type":"string"}}}},"rosterConfiguration":{"title":"SEASON ROSTER configuration","description":"Configuration for the SEASON ROSTER","type":"object","nullable":true,"additionalProperties":false,"properties":{"windowOpenDate":{"description":"What date can a SEASON ROSTER be submitted from for this SEASON?","type":"string","nullable":true,"format":"date","example":"2023-01-01"},"windowCloseDate":{"description":"What is the last date a SEASON ROSTER can be submitted from for this SEASON?","type":"string","nullable":true,"format":"date","example":"2023-01-31"},"seasonRosterLock":{"description":"Make SEASON ROSTERS un-editable when SEASON ROSTER Registration Window Close Date has elapsed.","type":"boolean","nullable":true,"example":true},"fixtureRosterLock":{"description":"Make FIXTURE ROSTERS un-editable when MATCH Status is set to Scheduled","type":"boolean","nullable":true,"example":false},"fixtureBibEdit":{"description":"Allow Add/Edit of FIXTURE ROSTERS bib","type":"boolean","nullable":true,"example":false},"seasonRosterStatusAllowed":{"description":"Season Roster status allowed","type":"array","items":{"type":"string","enum":["ACTIVE","INJURED","OTHER_NOT_PARTICIPATING","OUT","SUSPENDED"]}},"publishSeasonRosterRolesInHours":{"description":"How long before SEASON starts can rosters or roles be published (in hours)","type":"number","nullable":true,"example":true},"publishFixtureRosterRolesInMinutes":{"description":"How long before a MATCH starts can rosters or roles be published (in minutes)","type":"number","nullable":true,"example":true}}}},"title":"season model"},"SitesModel":{"type":"object","additionalProperties":false,"properties":{"siteId":{"description":"The unique identifier of the site","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this site belongs to","type":"object"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the site in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the site in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"countryCode":{"description":"Country code of the site. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"address":{"title":"Site address","description":"Street Address for the site","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"},"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":"site model"},"Season_Venues_ListModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season venues belongs to","type":"object"},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"siteId":{"description":"The site that this season venues belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"site":{"properties":{"resourceType":{"type":"string","enum":["sites"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The site that this season venues belongs to","type":"object"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the season venues in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"alternateNameLocal":{"description":"The alternate name of the venue, in Local Language","type":"string","maxLength":150,"nullable":true,"example":"Test venue"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the season venues in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"alternateNameLatin":{"description":"The alternate name of the venue, in Latin characters","type":"string","maxLength":150,"nullable":true,"example":"Test venue"},"countryCode":{"description":"Country code of the season venues. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"timezone":{"description":"Timezone of the venue.  The name of the zone as defined by the IANA TZ database. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones","type":"string","maxLength":150,"example":"Australia/Sydney"},"address":{"title":"Season Venues address","description":"Street Address for the season venues","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"},"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":"season venues model"},"VenuesModel":{"type":"object","additionalProperties":false,"properties":{"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"siteId":{"description":"The site that this venue belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"site":{"properties":{"resourceType":{"type":"string","enum":["sites"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The site that this venue belongs to","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this venue belongs to","type":"object"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the venue in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"default":"ACTIVE","example":"ACTIVE"},"alternateNameLocal":{"description":"The alternate name of the venue, in Local Language","type":"string","maxLength":150,"nullable":true,"example":"Test venue"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the venue in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"alternateNameLatin":{"description":"The alternate name of the venue, in Latin characters","type":"string","maxLength":150,"nullable":true,"example":"Test venue"},"countryCode":{"description":"Country code of the venue. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"timezone":{"description":"Timezone of the venue.  The name of the zone as defined by the IANA TZ database. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones","type":"string","maxLength":150,"example":"Australia/Sydney"},"address":{"title":"Venue address","description":"Street Address for the venue","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"capacity":{"description":"This is the maximum number of people allowed for the venue in normal use. Certain events/configurations of the venue may cause this capacity to be increased/decreased - this is not reflected in this value.","type":"integer","format":"int32","nullable":true,"example":12300},"historicalNames":{"type":"array","nullable":true,"title":"Venue historical names","description":"Array of venue historical names","items":{"type":"object","title":"Venue historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"alternateNameLocal":{"description":"Alternate name in local lanuage","type":"string","nullable":true},"alternateNameLatin":{"description":"Alternate name in latin characters","type":"string","nullable":true},"abbreviationLocal":{"description":"Abbreviation in local lanuage","type":"string","nullable":true},"abbreviationLatin":{"description":"Abbreviation in latin characters","type":"string","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,"example":"A123"},"masterVenueId":{"description":"The unique identifier of the master venue","type":"string","format":"uuid","readOnly":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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":"venue model"},"Fixture_Person_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this match person statistics belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{}},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":100,"nullable":true,"example":"34"},"position":{"description":"Playing position","type":"string","maxLength":100,"nullable":true,"example":"GOALKEEPER"},"didNotPlayReason":{"description":"The reason the player didn't play","type":"string","maxLength":100,"nullable":true,"example":"COACHES_DECISION"},"starter":{"description":"","type":"boolean","example":true},"participated":{"description":"Did the person actually participate in the the match","type":"boolean","example":true},"isPlayer":{"description":"Is this person a player","type":"boolean","example":true},"isTeamOfficial":{"description":"Is this person a team official","type":"boolean","example":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":"match person statistics model"},"Fixture_Person_Statistics_PeriodsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this match person statistics periods belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{}},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"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":"match person statistics periods model"},"Fixture_Entity_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this match team statistics belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{}},"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":"match team statistics model"},"Fixture_Entity_Statistics_PeriodsModel":{"type":"object","additionalProperties":false,"properties":{"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this match team period statistics belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{}},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"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":"match team period statistics model"},"Season_Persons_ListModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season persons belongs to","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The club that this team belongs to","type":"object"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"seed":{"description":"Initial seeding","type":"integer","format":"int32"},"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,"example":"A123"},"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":"season persons model"},"Season_PersonsModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season persons belongs to","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The club that this team belongs to","type":"object"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"seed":{"description":"Initial seeding","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"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,"example":"A123"},"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":"season persons model"},"Season_Entity_Base_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season team base statistics belongs to","type":"object"},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50,"example":"ENTITY"},"representing":{"description":"Who was being represented for the season base statistics","type":"string","maxLength":100,"example":"AUSTRALIA"},"statistics":{"type":"object","additionalProperties":false,"properties":{}},"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":"season team base statistics model"},"Season_Person_Base_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season person base statistics belongs to","type":"object"},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50,"example":"ENTITY"},"representing":{"description":"Who was being represented for the season base statistics","type":"string","maxLength":100,"example":"AUSTRALIA"},"statistics":{"type":"object","additionalProperties":false,"properties":{}},"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":"season person base statistics model"},"Season_Person_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season person statistics belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{}}},"title":"season person statistics model"},"Season_Person_Statistics_PeriodsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season person statistics belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"statistics":{"type":"object","additionalProperties":false,"properties":{}}},"title":"season person statistics model"},"Season_Person_Total_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season person total statistics belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{}}},"title":"season person total statistics model"},"Season_Entity_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season entity statistics belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"statistics":{"type":"object","additionalProperties":false,"properties":{}}},"title":"season entity statistics model"},"Competition_Person_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this competition person statistics belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{}}},"title":"competition person statistics model"},"Competition_Entity_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this competition entity statistics belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{}}},"title":"competition entity statistics model"},"Season_Standings_Stages_Pools_ListModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season standings stages pools belongs to","type":"object"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"example":"P1"},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"P1"}},"description":"The pool that is related to this record","type":"object"}},"title":"season standings stages pools model"},"StandingsModel":{"type":"object","additionalProperties":false,"properties":{"standingId":{"description":"The unique identifier of the standing","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this standing belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The division information","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The conference information","type":"object"},"latest":{"description":"Standing is part of the latest round?","type":"boolean","example":true},"inProgress":{"description":"Is the competitor in a current In-Progress match?","type":"boolean","example":true},"live":{"description":"Is this including live matches?","type":"boolean","example":true},"locked":{"description":"Has the standing been locked (to prevent editing)?","type":"boolean","example":true},"groupingBase":{"description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","type":"string","enum":["OVERALL","ROUND"],"maxLength":50,"example":"OVERALL"},"groupingConferenceDivision":{"description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50,"example":"OVERALL"},"groupingStagePool":{"description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"maxLength":50,"example":"OVERALL"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"P1"}},"description":"The pool that is related to this record","type":"object"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"RN1"},"round":{"properties":{"resourceType":{"type":"string","enum":["seasonRounds"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"RN1"}},"description":"The ~ROUND~ that is related to this record","type":"object"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"standingConfiguration":{"properties":{"resourceType":{"type":"string","enum":["standingConfigurations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The ~standingConfiguration~ that this season belongs to","type":"object"},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"position":{"description":"Position of the competitors standing record","type":"integer","format":"int32","nullable":true,"example":48},"securedFinals":{"description":"Has competitor secured a finals position","type":"string"},"points":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","example":"default","description":"Type of points","additionalProperties":false,"properties":{"bonusStandingPoints":{"description":"Bonus Standing points","type":"number"},"penaltyStandingPoints":{"description":"Penalty Standing points","type":"number"},"byeStandingPoints":{"description":"Bye Standing points","type":"number"},"teamDifferential":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialHome":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialAway":{"description":"Differential of Won-Lost","type":"number"},"gamesBehind":{"description":"Games behind leading competitor","type":"number"},"standingPoints":{"description":"Standing Points for competitor","type":"number"},"standingPointsHome":{"description":"Standing Points for competitor at Home","type":"number"},"standingPointsAway":{"description":"Standing Points for competitor away","type":"number"},"standingPointsGiven":{"description":"Standing Points Given away for this competitor","type":"number"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"calculated":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","example":"default","description":"Type of points","additionalProperties":false,"properties":{"played":{"description":"Fixtures played","type":"number"},"playedHome":{"description":"Fixtures played at home","type":"number"},"playedAway":{"description":"Fixtures played away","type":"number"},"washouts":{"description":"Number of washed out fixtures","type":"number"},"wins":{"description":"Fixtures Won","type":"number"},"winsHome":{"description":"Fixtures Won at home","type":"number"},"winsAway":{"description":"Fixtures Won away","type":"number"},"winsSecondaryScore":{"description":"Fixtures Won via Secondary Score","type":"number"},"winsSecondaryScoreHome":{"description":"Fixtures Won at home via Secondary Score","type":"number"},"winsSecondaryScoreAway":{"description":"Fixtures Won away via Secondary Score","type":"number"},"losses":{"description":"Fixtures Lost","type":"number"},"lossesHome":{"description":"Fixtures Lost at home","type":"number"},"lossesAway":{"description":"Fixtures Lost away","type":"number"},"lossesSecondaryScore":{"description":"Fixtures Lost via Secondary Score","type":"number"},"lossesSecondaryScoreHome":{"description":"Fixtures Lost at home via Secondary Score","type":"number"},"lossesSecondaryScoreAway":{"description":"Fixtures Lost away via Secondary Score","type":"number"},"draws":{"description":"Fixtures Drawn","type":"number"},"drawsHome":{"description":"Fixtures Drawn at home","type":"number"},"drawsAway":{"description":"Fixtures Drawn away","type":"number"},"byes":{"description":"Fixtures Byes","type":"number"},"forfeitsGiven":{"description":"Fixtures Forfeits Given","type":"number"},"forfeitsWonBy":{"description":"Fixtures Forfeits Won","type":"number"},"winPercentageDisplay":{"description":"Win Percentage (wins/played) (Display Value)","type":"number"},"winPercentageHomeDisplay":{"description":"Win Percentage Home (wins/played) (Display Value)","type":"number"},"winPercentageAwayDisplay":{"description":"Win Percentage Away (wins/played) (Display Value)","type":"number"},"winPercentage":{"description":"Win Percentage (wins/played)","type":"number"},"winPercentageHome":{"description":"Win Percentage Home (wins/played)","type":"number"},"winPercentageAway":{"description":"Win Percentage Away (wins/played)","type":"number"},"scoredFor":{"description":"Scored For","type":"number"},"scoredForHome":{"description":"Scored For at home","type":"number"},"scoredForAway":{"description":"Scored For away","type":"number"},"scoredForAverage":{"description":"Scored For Average","type":"number"},"scoredForHomeAverage":{"description":"Scored For Average at home","type":"number"},"scoredForAwayAverage":{"description":"Scored For Average away","type":"number"},"scoredAgainst":{"description":"Scored Against","type":"number"},"scoredAgainstHome":{"description":"Scored Against at home","type":"number"},"scoredAgainstAway":{"description":"Scored Against away","type":"number"},"scoredAgainstAverage":{"description":"Scored Against Average","type":"number"},"scoredAgainstHomeAverage":{"description":"Scored Against Average at home","type":"number"},"scoredAgainstAwayAverage":{"description":"Scored Against Average away","type":"number"},"percentageDisplay":{"description":"For versus Against (Display Value)","type":"number"},"percentageHomeDisplay":{"description":"For versus Against at home (Display Value)","type":"number"},"percentageAwayDisplay":{"description":"For versus Against away (Display Value)","type":"number"},"percentage":{"description":"For versus Against","type":"number"},"percentageHome":{"description":"For versus Against at home","type":"number"},"percentageAway":{"description":"For versus Against away","type":"number"},"pointDifference":{"description":"Point Difference for competitor","type":"number"},"pointDifferenceHome":{"description":"Point Difference for competitor at Home","type":"number"},"pointDifferenceAway":{"description":"Point Difference for competitor away","type":"number"},"lowestScoreFor":{"description":"Lowest Score for competitor","type":"number","nullable":true},"lowestScoreForHome":{"description":"Lowest Score for competitor at Home","type":"number","nullable":true},"lowestScoreForAway":{"description":"Lowest Score for competitor away","type":"number","nullable":true},"highestScoreFor":{"description":"Highest Score for competitor","type":"number","nullable":true},"highestScoreForHome":{"description":"Highest Score for competitor at Home","type":"number","nullable":true},"highestScoreForAway":{"description":"Highest Score for competitor away","type":"number","nullable":true},"lowestScoreAgainst":{"description":"Lowest Score against competitor","type":"number","nullable":true},"lowestScoreAgainstHome":{"description":"Lowest Score against competitor at Home","type":"number","nullable":true},"lowestScoreAgainstAway":{"description":"Lowest Score against competitor away","type":"number","nullable":true},"highestScoreAgainst":{"description":"Highest Score against competitor","type":"number","nullable":true},"highestScoreAgainstHome":{"description":"Highest Score against competitor at Home","type":"number","nullable":true},"highestScoreAgainstAway":{"description":"Highest Score against competitor away","type":"number","nullable":true},"streak":{"description":"Winning streak for competitor","type":"number"},"streakHome":{"description":"Winning streak for competitor at Home","type":"number"},"streakAway":{"description":"Winning streak for competitor away","type":"number"},"resultString":{"description":"Result string for competitor (W,L,D per match)","type":"string"},"resultStringHome":{"description":"Result string for competitor at Home (W,L,D per match)","type":"string"},"resultStringAway":{"description":"Result string for competitor away (W,L,D per match)","type":"string"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"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,"example":"A123"},"autoGenerated":{"description":"Was this row auto generated?","type":"boolean","readOnly":true,"example":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":"standing model"},"Standings_All_TimeModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this standing all-time history belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"groupingBase":{"description":"Base grouping of standings row (e.g. OVERALL, ROUND)","type":"string","maxLength":50},"groupingConferenceDivision":{"description":"Conference/Division grouping (e.g. OVERALL, CONFERENCE, DIVISION)","type":"string","maxLength":50},"groupingStagePool":{"description":"Stage/Pool grouping (e.g. OVERALL, STAGE, STAGEPOOL)","type":"string","maxLength":50},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"seasonType":{"description":"The type of matches added to this season\n>- `MULTI_YEAR_HISTORICAL` Mulit-Year Historical\n>- `ONE_OFF` One off\n>- `PRESEASON` Pre Season\n>- `SEASON` Season\n>- `TOURNAMENT` Tournament\n","type":"string","enum":["SEASON","TOURNAMENT","ONE_OFF","PRESEASON","MULTI_YEAR_HISTORICAL"],"maxLength":30,"example":"SEASON"},"seasonsParticipatedIn":{"description":"Number of seasons where the team appears in standings for this scope","type":"integer","format":"int32"},"played":{"description":"Total games played across all included seasons","type":"number","format":"float"},"wins":{"description":"Total wins across all included seasons","type":"number","format":"float"},"draws":{"description":"Total draws across all included seasons","type":"number","format":"float"},"losses":{"description":"Total losses across all included seasons","type":"number","format":"float"},"scoredFor":{"description":"Total goals/points scored across all included seasons","type":"number","format":"float"},"scoredAgainst":{"description":"Total goals/points conceded across all included seasons","type":"number","format":"float"},"scoreDifference":{"description":"Net goal/score difference (scoredFor - scoredAgainst)","type":"number","format":"float"},"standingPoints":{"description":"Total standing points earned across all included seasons","type":"number","format":"float"},"standingPointsGiven":{"description":"Total standing points given up across all included seasons","type":"number","format":"float"},"winPercentage":{"description":"Win percentage across all included seasons (wins / played)","type":"number","format":"float"},"standingPointsPerGame":{"description":"Average standing points earned per game across all included seasons","type":"number","format":"float"}},"title":"standing all-time history model"},"Season_SeriesModel":{"type":"object","additionalProperties":false,"properties":{"seriesCode":{"description":"A unique code for the season series. (Unique for season)","type":"string","maxLength":30,"example":"ST1"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this series belongs to","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The conference information","type":"object"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The division information","type":"object"},"nameLocal":{"description":"The name of the series in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the series in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `COMPLETE` Complete\n>- `NOT_STARTED` Not Started\n","type":"string","enum":["NOT_STARTED","ACTIVE","COMPLETE"],"maxLength":30,"example":"COMPLETE"},"seriesType":{"description":"The type of series\n>- `BEST_OF` Best of\n>- `HOME_AND_AWAY` Home and Away\n>- `KNOCKOUT` Knockout\n","type":"string","enum":["BEST_OF","HOME_AND_AWAY","KNOCKOUT"],"maxLength":50,"example":"BEST_OF"},"autoCalculated":{"description":"Is the winner auto calculated?","type":"boolean","example":true},"bestOf":{"description":"Best of number","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"seriesNumber":{"description":"User defined series number","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"maxFixturesNumber":{"description":"The maximum number of games within a playoff series","type":"integer","format":"int32","nullable":true,"example":1},"winner":{"description":"The unique identifier of the winner, person or entity","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seriesOrder":{"description":"User defined sort order of the series","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"P1"}},"description":"The pool that is related to this record","type":"object"},"startDate":{"description":"Series start date","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"endDate":{"description":"Series end date","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"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,"example":"A123"},"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},"competitors":{"type":"array","nullable":true,"title":"Season series competitors","description":"Array of competitors in the series. A competitor may have a results and a ranking","items":{"type":"object","title":"Season series competitor","additionalProperties":false,"properties":{"entityId":{"description":"The uuid of the entity","type":"string"},"personId":{"description":"The uuid of the person","type":"string"},"conferenceId":{"description":"The uuid of the conference the competitor represents","type":"string"},"divisionId":{"description":"The uuid of the conference the competitor represents","type":"string"},"preSeriesRanking":{"description":"The rank of the competitor coming into the series","type":"number"},"stringRecord":{"description":"String record of the competitor","type":"number"},"seriesWins":{"description":"Number of wins in the series for the competitor","type":"number"},"seriesLosses":{"description":"Number of losses in the series for the competitor","type":"number"},"seriesDraws":{"description":"Number of draws in the series for the competitor","type":"number"},"seriesResult":{"description":"Result for the competitor in the series","type":"string","enum":["PENDING","WON","LOST","DRAW"]}}}}},"title":"series model"},"Game_Log_PersonModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this game_log_person belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{}},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":100,"nullable":true,"example":"34"},"position":{"description":"Playing position","type":"string","maxLength":100,"nullable":true,"example":"GOALKEEPER"},"didNotPlayReason":{"description":"The reason the player didn't play","type":"string","maxLength":100,"nullable":true,"example":"COACHES_DECISION"},"starter":{"description":"","type":"boolean","example":true},"participated":{"description":"Did the person actually participate in the the match","type":"boolean","example":true},"isPlayer":{"description":"Is this person a player","type":"boolean","example":true},"isTeamOfficial":{"description":"Is this person a team official","type":"boolean","example":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":"game_log_person model"},"Game_Log_EntityModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this game_log_entity belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{}},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"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":"game_log_entity model"},"Fixtures_By_EntityModel":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this match belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"practiceDrillType":{"description":"Practice types\n>- None None\n>- `DRILL` Drill\n>- `FITNESS` Fitness\n>- `GAME` Practice Game\n>- `OTHER` Other\n","type":"string","enum":["DRILL","GAME","FITNESS","OTHER",null],"maxLength":100,"nullable":true,"example":"DRILL"},"internationalReference":{"description":"The international reference for this match given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"status":{"description":"Match status\n>- `ABANDONED` Abandoned - Match began but had to be stopped\n>- `ABOUT_TO_START` About to Start - Match is about to start\n>- `BYE` Bye - Team has 'rest'\n>- `CANCELLED` Cancelled - Cancelled - will not be played\n>- `CONFIRMED` Confirmed - Match officially completed\n>- `DRAFT` Draft - Not fully scheduled\n>- `FINISHED` Finished - Match finished by not yet 'official'\n>- `IF_NEEDED` If Needed - Only played if needed\n>- `IN_PROGRESS` In Progress - Currently in play\n>- `ON_PITCH` On Pitch - Players appered on the playing field\n>- `PENDING` Pending - Ready to start\n>- `POSTPONED` Postponed - Will be played at a future time\n>- `SCHEDULED` Scheduled - Yet to be played\n>- `WARM_UP` Warm Up - Players have begun to warm up\n","type":"string","enum":["IF_NEEDED","SCHEDULED","BYE","PENDING","IN_PROGRESS","FINISHED","CONFIRMED","POSTPONED","CANCELLED","ABANDONED","WARM_UP","DRAFT","ON_PITCH","ABOUT_TO_START"],"maxLength":100,"default":"SCHEDULED","example":"SCHEDULED"},"fixtureNumber":{"description":"Match number (range of -2147483648 to 2147483647)","type":"integer","format":"int32","nullable":true,"example":123},"nameLocal":{"description":"The name of the match in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Grand Final"},"nameLatin":{"description":"The name of the match in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Grand Final"},"startTimeLocal":{"description":"Local start time","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T18:00:00"},"startTimeUTC":{"description":"Start time (UTC). This is automatically generated based on the timezone of the venue.","type":"string","format":"date-time","nullable":true,"readOnly":true,"example":"2018-08-16T02:00:00"},"finishRecordingTimeUTC":{"description":"(TO BE REMOVED) Start time (UTC) + durationFull","type":"string","format":"date-time","readOnly":true,"example":"2018-08-16T02:00:00","deprecated":true},"finishRecordingTimeLocal":{"description":"(TO BE REMOVED) Start time (Local) + durationFull","type":"string","format":"date-time","readOnly":true,"example":"2018-08-16T02:00:00","deprecated":true},"startTimeActualUTC":{"description":"Actual start time (UTC)","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T02:02:23"},"endTimeActualUTC":{"description":"Actual end time (UTC)","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T04:02:23"},"timesUnconfirmed":{"description":"Is the match time yet to be confirmed ?","type":"boolean","example":true},"locked":{"description":"Is the match locked (to prevent editing)?","type":"boolean","example":true},"placingIfWon":{"description":"Place if Won?","type":"integer","format":"int32","nullable":true,"example":1},"placingIfLost":{"description":"Place if Lost?","type":"integer","format":"int32","nullable":true,"example":1},"attendance":{"description":"Crowd attendance","type":"integer","format":"int32","maximum":999999,"nullable":true,"example":1123},"sellout":{"description":"Was the match a sellout?","type":"boolean","example":true},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"environmental":{"title":"Environmental details","description":"Details about the environment during the fixture","type":"object","nullable":true,"additionalProperties":false,"properties":{"surfaceCondition":{"description":"Condition of surface","type":"string"}}},"duration":{"description":"Length, in minutes, of the match","type":"integer","format":"int32","nullable":true,"example":48},"durationFull":{"description":"Full duration including breaks","type":"integer","format":"int32","nullable":true,"example":180},"ticketURL":{"description":"Ticket URL","type":"string","maxLength":200,"nullable":true},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The stage that is related to this record","type":"object"},"seriesCode":{"description":"A unique code for the season series. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"series":{"properties":{"resourceType":{"type":"string","enum":["seasonSeries"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The season series that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"P1"}},"description":"The pool that is related to this record","type":"object"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"RN1"},"round":{"properties":{"resourceType":{"type":"string","enum":["seasonRounds"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"RN1"}},"description":"The ~ROUND~ that is related to this record","type":"object"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"liveDataAvailable":{"description":"Is live data available?","type":"boolean","example":true},"liveVideoAvailable":{"description":"Is live video available ?","type":"boolean","example":true},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"maximumPeriodTypeUsed":{"description":"Maximum Period Type Used\n>- None None\n>- `EXTRA_TIME` Extra Time\n>- `OVERTIME` Overtime\n>- `REGULAR` Regular\n>- `SHOOTOUT` Shoot-Out\n","type":"string","enum":["REGULAR","EXTRA_TIME","OVERTIME","SHOOTOUT",null],"maxLength":50,"nullable":true,"example":"REGULAR"},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50,"example":"ENTITY"},"competitors":{"type":"array","nullable":true,"title":"Match competitors","description":"Array of match competitors","items":{"type":"object","title":"Match competitor","additionalProperties":false,"required":["entityId"],"properties":{"entityId":{"description":"The uuid of the entity","type":"string"},"conferenceId":{"description":"The uuid of the conference","type":"string"},"divisionId":{"description":"The uuid of the division","type":"string"},"includeInConferenceStatistics":{"description":"Include the statistics for this competitors in the conference statistics?","type":"boolean"},"isHome":{"description":"Is competitor the home team ?","type":"boolean"},"includeInRepresentation":{"description":"Include participant in representation count","type":"boolean"},"draw":{"description":"Result for this competitor was a draw ?","type":"boolean"},"resultStatus":{"description":"Result status","type":"string","enum":["SCHEDULED","IN_PROGRESS","CONFIRMED","DISQUALIFIED","FORFEITED","WON_BY_FORFEIT","DID_NOT_FINISH","WITHDRAWN","DID_NOT_START"]},"resultPlace":{"description":"Result placing (1=Won, 2=Lost)","type":"number","nullable":true},"resultSecondaryScorePlace":{"description":"Secondary Score Result placing (1=Won, 2=Lost)","type":"number","nullable":true},"startingNumber":{"description":"Starting number","type":"number","nullable":true},"score":{"description":"Score for competitor in match","type":"string","nullable":true},"secondaryScore":{"description":"Secondary score","type":"string","nullable":true},"shootOutAttempts":{"description":"shootOut Attempts","type":"string","nullable":true},"rosterStatus":{"description":"Roster status","type":"string","enum":["UNKNOWN","SUBMITTED","PENDING","APPROVED","REJECTED"]},"isNeutralVenue":{"description":"Competitor is playing at a neutral venue ?","type":"boolean"},"uniformId":{"description":"The uuid of the uniform","type":"string","nullable":true},"externalId":{"description":"externalId","type":"string"}}}},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"venue":{"properties":{"resourceType":{"type":"string","enum":["venues"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The venue that this match belongs to","type":"object"},"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,"example":"A123"},"profileId":{"description":"The profile that this match belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureProfile":{"properties":{"resourceType":{"type":"string","enum":["fixtureProfiles"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The profile that this match belongs to","type":"object"},"includeInStandings":{"description":"Include the match in the standings calculation?","type":"boolean","default":true,"example":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},"estimatedFinishTimeUTC":{"description":"Estimated end of match","type":"string","format":"date-time","readOnly":true},"featureMatch":{"description":"Is this match a featured match?","type":"boolean","example":true},"seriesFixtureNumber":{"description":"The number of the match in a series of matches","type":"integer","format":"int32","nullable":true,"example":1},"discipline":{"description":"match discipline\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"broadcasts":{"type":"array","items":{"type":"object","nullable":true,"title":"Broadcasts","additionalProperties":false,"properties":{"broadcastType":{"type":"string","description":"Broadcast Type","maxLength":30,"example":"TV","enum":["PAY_PER_VIEW","TV","RADIO","STREAMING_AUDIO","STREAMING_VIDEO"],"nullable":false},"broadcaster":{"description":"Broadcaster Name Local","maxLength":30,"nullable":false,"type":"string","example":"XYZ Network"},"broadcasterURL":{"description":"Broadcaster Home URL","maxLength":255,"type":"string","example":"www.XYZNetwork.com"},"broadcastURL":{"description":"Fixture Broadcast URL","maxLength":255,"type":"string","example":"www.XYZNetwork.com/fixture/123"},"broadcastTimezone":{"description":"Timezone of the broadcast","maxLength":50,"type":"string","example":"Australia/Sydney"},"locale":{"description":"Locale of the broadcast","maxLength":10,"type":"string","example":"en-EN"},"startTimeLocal":{"description":"Start Time of the broadcast","type":"string","pattern":"^([12][0-9]{3})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|\\+00:00)?$","example":"2023-01-01T12:34:56Z"}}}}},"title":"match model"},"Fixtures_By_CompetitionModel":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this match belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"practiceDrillType":{"description":"Practice types\n>- None None\n>- `DRILL` Drill\n>- `FITNESS` Fitness\n>- `GAME` Practice Game\n>- `OTHER` Other\n","type":"string","enum":["DRILL","GAME","FITNESS","OTHER",null],"maxLength":100,"nullable":true,"example":"DRILL"},"internationalReference":{"description":"The international reference for this match given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"status":{"description":"Match status\n>- `ABANDONED` Abandoned - Match began but had to be stopped\n>- `ABOUT_TO_START` About to Start - Match is about to start\n>- `BYE` Bye - Team has 'rest'\n>- `CANCELLED` Cancelled - Cancelled - will not be played\n>- `CONFIRMED` Confirmed - Match officially completed\n>- `DRAFT` Draft - Not fully scheduled\n>- `FINISHED` Finished - Match finished by not yet 'official'\n>- `IF_NEEDED` If Needed - Only played if needed\n>- `IN_PROGRESS` In Progress - Currently in play\n>- `ON_PITCH` On Pitch - Players appered on the playing field\n>- `PENDING` Pending - Ready to start\n>- `POSTPONED` Postponed - Will be played at a future time\n>- `SCHEDULED` Scheduled - Yet to be played\n>- `WARM_UP` Warm Up - Players have begun to warm up\n","type":"string","enum":["IF_NEEDED","SCHEDULED","BYE","PENDING","IN_PROGRESS","FINISHED","CONFIRMED","POSTPONED","CANCELLED","ABANDONED","WARM_UP","DRAFT","ON_PITCH","ABOUT_TO_START"],"maxLength":100,"default":"SCHEDULED","example":"SCHEDULED"},"fixtureNumber":{"description":"Match number (range of -2147483648 to 2147483647)","type":"integer","format":"int32","nullable":true,"example":123},"nameLocal":{"description":"The name of the match in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Grand Final"},"nameLatin":{"description":"The name of the match in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Grand Final"},"startTimeLocal":{"description":"Local start time","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T18:00:00"},"startTimeUTC":{"description":"Start time (UTC). This is automatically generated based on the timezone of the venue.","type":"string","format":"date-time","nullable":true,"readOnly":true,"example":"2018-08-16T02:00:00"},"finishRecordingTimeUTC":{"description":"(TO BE REMOVED) Start time (UTC) + durationFull","type":"string","format":"date-time","readOnly":true,"example":"2018-08-16T02:00:00","deprecated":true},"finishRecordingTimeLocal":{"description":"(TO BE REMOVED) Start time (Local) + durationFull","type":"string","format":"date-time","readOnly":true,"example":"2018-08-16T02:00:00","deprecated":true},"startTimeActualUTC":{"description":"Actual start time (UTC)","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T02:02:23"},"endTimeActualUTC":{"description":"Actual end time (UTC)","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T04:02:23"},"timesUnconfirmed":{"description":"Is the match time yet to be confirmed ?","type":"boolean","example":true},"locked":{"description":"Is the match locked (to prevent editing)?","type":"boolean","example":true},"placingIfWon":{"description":"Place if Won?","type":"integer","format":"int32","nullable":true,"example":1},"placingIfLost":{"description":"Place if Lost?","type":"integer","format":"int32","nullable":true,"example":1},"attendance":{"description":"Crowd attendance","type":"integer","format":"int32","maximum":999999,"nullable":true,"example":1123},"sellout":{"description":"Was the match a sellout?","type":"boolean","example":true},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"environmental":{"title":"Environmental details","description":"Details about the environment during the fixture","type":"object","nullable":true,"additionalProperties":false,"properties":{"surfaceCondition":{"description":"Condition of surface","type":"string"}}},"duration":{"description":"Length, in minutes, of the match","type":"integer","format":"int32","nullable":true,"example":48},"durationFull":{"description":"Full duration including breaks","type":"integer","format":"int32","nullable":true,"example":180},"ticketURL":{"description":"Ticket URL","type":"string","maxLength":200,"nullable":true},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The stage that is related to this record","type":"object"},"seriesCode":{"description":"A unique code for the season series. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"series":{"properties":{"resourceType":{"type":"string","enum":["seasonSeries"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The season series that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"P1"}},"description":"The pool that is related to this record","type":"object"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"RN1"},"round":{"properties":{"resourceType":{"type":"string","enum":["seasonRounds"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"RN1"}},"description":"The ~ROUND~ that is related to this record","type":"object"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"liveDataAvailable":{"description":"Is live data available?","type":"boolean","example":true},"liveVideoAvailable":{"description":"Is live video available ?","type":"boolean","example":true},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"maximumPeriodTypeUsed":{"description":"Maximum Period Type Used\n>- None None\n>- `EXTRA_TIME` Extra Time\n>- `OVERTIME` Overtime\n>- `REGULAR` Regular\n>- `SHOOTOUT` Shoot-Out\n","type":"string","enum":["REGULAR","EXTRA_TIME","OVERTIME","SHOOTOUT",null],"maxLength":50,"nullable":true,"example":"REGULAR"},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50,"example":"ENTITY"},"competitors":{"type":"array","nullable":true,"title":"Match competitors","description":"Array of match competitors","items":{"type":"object","title":"Match competitor","additionalProperties":false,"required":["entityId"],"properties":{"entityId":{"description":"The uuid of the entity","type":"string"},"conferenceId":{"description":"The uuid of the conference","type":"string"},"divisionId":{"description":"The uuid of the division","type":"string"},"includeInConferenceStatistics":{"description":"Include the statistics for this competitors in the conference statistics?","type":"boolean"},"isHome":{"description":"Is competitor the home team ?","type":"boolean"},"includeInRepresentation":{"description":"Include participant in representation count","type":"boolean"},"draw":{"description":"Result for this competitor was a draw ?","type":"boolean"},"resultStatus":{"description":"Result status","type":"string","enum":["SCHEDULED","IN_PROGRESS","CONFIRMED","DISQUALIFIED","FORFEITED","WON_BY_FORFEIT","DID_NOT_FINISH","WITHDRAWN","DID_NOT_START"]},"resultPlace":{"description":"Result placing (1=Won, 2=Lost)","type":"number","nullable":true},"resultSecondaryScorePlace":{"description":"Secondary Score Result placing (1=Won, 2=Lost)","type":"number","nullable":true},"startingNumber":{"description":"Starting number","type":"number","nullable":true},"score":{"description":"Score for competitor in match","type":"string","nullable":true},"secondaryScore":{"description":"Secondary score","type":"string","nullable":true},"shootOutAttempts":{"description":"shootOut Attempts","type":"string","nullable":true},"rosterStatus":{"description":"Roster status","type":"string","enum":["UNKNOWN","SUBMITTED","PENDING","APPROVED","REJECTED"]},"isNeutralVenue":{"description":"Competitor is playing at a neutral venue ?","type":"boolean"},"uniformId":{"description":"The uuid of the uniform","type":"string","nullable":true},"externalId":{"description":"externalId","type":"string"}}}},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"venue":{"properties":{"resourceType":{"type":"string","enum":["venues"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The venue that this match belongs to","type":"object"},"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,"example":"A123"},"profileId":{"description":"The profile that this match belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureProfile":{"properties":{"resourceType":{"type":"string","enum":["fixtureProfiles"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The profile that this match belongs to","type":"object"},"includeInStandings":{"description":"Include the match in the standings calculation?","type":"boolean","default":true,"example":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},"estimatedFinishTimeUTC":{"description":"Estimated end of match","type":"string","format":"date-time","readOnly":true},"featureMatch":{"description":"Is this match a featured match?","type":"boolean","example":true},"seriesFixtureNumber":{"description":"The number of the match in a series of matches","type":"integer","format":"int32","nullable":true,"example":1},"discipline":{"description":"match discipline\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"broadcasts":{"type":"array","items":{"type":"object","nullable":true,"title":"Broadcasts","additionalProperties":false,"properties":{"broadcastType":{"type":"string","description":"Broadcast Type","maxLength":30,"example":"TV","enum":["PAY_PER_VIEW","TV","RADIO","STREAMING_AUDIO","STREAMING_VIDEO"],"nullable":false},"broadcaster":{"description":"Broadcaster Name Local","maxLength":30,"nullable":false,"type":"string","example":"XYZ Network"},"broadcasterURL":{"description":"Broadcaster Home URL","maxLength":255,"type":"string","example":"www.XYZNetwork.com"},"broadcastURL":{"description":"Fixture Broadcast URL","maxLength":255,"type":"string","example":"www.XYZNetwork.com/fixture/123"},"broadcastTimezone":{"description":"Timezone of the broadcast","maxLength":50,"type":"string","example":"Australia/Sydney"},"locale":{"description":"Locale of the broadcast","maxLength":10,"type":"string","example":"en-EN"},"startTimeLocal":{"description":"Start Time of the broadcast","type":"string","pattern":"^([12][0-9]{3})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|\\+00:00)?$","example":"2023-01-01T12:34:56Z"}}}}},"title":"match model"},"Career_Person_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this career person statistics belongs to","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{}}},"title":"career person statistics model"},"Career_Person_Representational_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this career person representational_statistics belongs to","type":"object"},"ageGroup":{"description":"The age group of the season\n>- `JUNIOR` Junior\n>- `MASTERS` Masters\n>- `SENIOR` Senior\n>- `UNDER_15` Under 15\n>- `UNDER_16` Under 16\n>- `UNDER_17` Under 17\n>- `UNDER_18` Under 18\n>- `UNDER_19` Under 19\n>- `UNDER_20` Under 20\n>- `UNDER_21` Under 21\n>- `UNDER_22` Under 22\n>- `UNDER_23` Under 23\n>- `YOUTH` Youth\n","type":"string","enum":["JUNIOR","YOUTH","UNDER_15","UNDER_16","UNDER_17","UNDER_18","UNDER_19","UNDER_20","UNDER_21","UNDER_22","UNDER_23","SENIOR","MASTERS"],"maxLength":50,"example":"SENIOR"},"discipline":{"description":"match discipline\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"representing":{"description":"Who the person or team was representing","type":"string","maxLength":100,"nullable":true,"example":"AUSTRALIA"},"statistics":{"type":"object","additionalProperties":false,"properties":{}}},"title":"career person representational_statistics model"},"Career_Person_Season_StatisticsModel":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this career person season statistics belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"statistics":{"type":"object","additionalProperties":false,"properties":{}}},"title":"career person season statistics model"},"ConferencesModel":{"type":"object","additionalProperties":false,"properties":{"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this conference belongs to","type":"object"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the conference in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the conference in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"},"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},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImagesModel"}}},"title":"conference model"},"DivisionsModel":{"type":"object","additionalProperties":false,"properties":{"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this division belongs to","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The conference information","type":"object"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the division in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the division in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"},"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},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImagesModel"}}},"title":"division model"},"Video_SubscriptionsModel":{"type":"object","additionalProperties":false,"properties":{"subscriptionId":{"description":"The unique identifier of the video stream subscription","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this video subscription belongs to","type":"object"},"customerId":{"description":"Customer of the subscription","type":"integer","format":"int32","nullable":true,"example":1},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"provider":{"description":"Provider of the input","type":"string","maxLength":100,"example":"MANUAL"},"locale":{"description":"The locale of the video that matches the input","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"sourceNumber":{"description":"Unique identifier for the video source. This is unique for the provider/fixtureId/locale combination.  Unless the provider is supplying multiple sources per fixture/locale then this is normally 1.","type":"integer","format":"int32","default":1,"example":1},"feedType":{"description":"Type of video input\n>- `ADDITIONAL_ANGLE` Additional angle\n>- `LOW_LATENCY` Low Latency\n>- `PRIMARY` Primary\n","type":"string","enum":["PRIMARY","ADDITIONAL_ANGLE","LOW_LATENCY"],"maxLength":30,"example":"PRIMARY"},"outputResolution":{"description":"The resolution that you want to receive the video in.  This is only valid if outputFormat is `RTMP`.  If outputFormat is not `RTMP` then the output resolution is the same as the input resolution.  If specified the output resolution cannot be higher than the input resolution. You must have specific permission to chose anything other than 720p or 1080p.\n>- `1080` 1920x1080\n>- `1080@50fps` 1920x1080 50fps\n>- `1080i50@10M` SRT 1080i50@10M\n>- `1080p25@10M` SRT 1080p25@10M\n>- `1080p50@10M` SRT 1080p50@10M\n>- `1280x720@2000k` 1280x720@2000k\n>- `1280x720@3000k` 1280x720@3000k\n>- `1280x720@3000k25fps` 1280x720@3000k25fps\n>- `1920x1080@4000k` 1920x1080@4000k\n>- `1920x1080@4000k25fps` 1920x1080@4000k25fps\n>- `1920x1080@4500k` 1920x1080@4500k\n>- `1920x1080@5000k30fps` 1920x1080@5000k30fps\n>- `2000` 2000\n>- `288` 512x288\n>- `640x320@850k` 640x320@850k\n>- `720` 1280x720\n>- `DESKTOP_384x216@280k` DESKTOP_384x216@280k\n>- `DESKTOP_512x288@500k` DESKTOP_512x288@500k\n>- `DESKTOP_768x432@1000k` DESKTOP_768x432@1000k\n>- `MOBILE_320x180@102k` MOBILE_320x180@102k\n>- `MOBILE_320x180@102k_BUFFERED` MOBILE_320x180@102k_BUFFERED\n>- `MOBILE_320x180@232k` MOBILE_320x180@232k\n>- `MOBILE_320x180@232k_BUFFERED` MOBILE_320x180@232k_BUFFERED\n>- `MOBILE_480x270@464k` MOBILE_480x270@464k\n>- `MOBILE_480x270@464k_BUFFERED` MOBILE_480x270@464k_BUFFERED\n>- `MOBILE_768x432@1000k` MOBILE_768x432@1000k\n>- `MOBILE_768x432@1000k_BUFFERED` MOBILE_768x432@1000k_BUFFERED\n","type":"string","enum":["288","720","1080","1080@50fps","2000","DESKTOP_768x432@1000k","DESKTOP_512x288@500k","DESKTOP_384x216@280k","MOBILE_768x432@1000k","MOBILE_480x270@464k","MOBILE_320x180@232k","MOBILE_320x180@102k","1920x1080@4000k","1280x720@2000k","640x320@850k","1280x720@3000k25fps","1920x1080@4000k25fps","1920x1080@4500k","1280x720@3000k","1920x1080@5000k30fps","MOBILE_768x432@1000k_BUFFERED","MOBILE_480x270@464k_BUFFERED","MOBILE_320x180@232k_BUFFERED","MOBILE_320x180@102k_BUFFERED","1080i50@10M","1080p25@10M","1080p50@10M"],"maxLength":30,"example":"1080"},"outputFormat":{"description":"The output format\n>- `HLS` HLS (HTTP Live Streaming)\n>- `RTMP` RTMP (Real-Time Messaging Protocol)\n>- `RTMP_PULL` RTMP Pull (Real-Time Messaging Protocol - Pull)\n>- `SRT` SRT (Secure Reliable Transport)\n","type":"string","enum":["RTMP","RTMP_PULL","HLS","SRT"],"maxLength":30,"example":"RTMP"},"streamName":{"description":"The stream name/stream key of the RTMP destination. This is a unique/secret identifier provided by the stream destination platform - not a text description.","type":"string","maxLength":250,"pattern":"^[0-9A-Za-z.:/&_?=\\-;@]*$"},"outputURL":{"description":"The URL to send the output to. Only valid if outputFormat is 'RTMP' or 'SRT'","type":"string","maxLength":200,"pattern":"^[0-9A-Za-z.:/&_?=\\-;@]*$","example":"rtmp://a.rtmp.youtube.com/live2"},"audio":{"description":"Audio\n>- `AMBIENCE` Only ambience / crowd noise\n>- `BOTH` Both combined\n>- `BOTH_SPLIT_LR` Both (Ambience left channel, Commentary right channel)\n>- `COMMENTARY` Only commentary\n","type":"string","enum":["COMMENTARY","AMBIENCE","BOTH","BOTH_SPLIT_LR"],"maxLength":30,"default":"BOTH","example":"COMMENTARY"},"content":{"description":"Content of the stream\n>- `CLEAN` Output signal is the same as the input signal\n>- `PROGRAM` Score overlays and other enhancements have been added to the stream\n","type":"string","enum":["CLEAN","PROGRAM"],"maxLength":30,"example":"CLEAN"},"muxRate":{"description":"The muxRate of the stream. Required for SRT outputFormat only.","type":"integer","format":"int32","example":"1200000"},"subscriptionName":{"description":"The name of the subscription","type":"string","maxLength":250},"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":"video subscription model"},"Video_FilesModel":{"type":"object","additionalProperties":false,"properties":{"videoId":{"description":"The unique identifier of the video","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this video file belongs to","type":"object"},"provider":{"description":"Provider of the input","type":"string","maxLength":100,"example":"MANUAL"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"sourceNumber":{"description":"Unique identifier for the video source. This is unique for the provider/fixtureId/locale combination.  Unless the provider is supplying multiple sources per fixture/locale then this is normally 1.","type":"integer","format":"int32","default":1,"example":1},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"resolution":{"description":"The resolution of the video input\n>- `1080` 1920 x 1080\n>- `288` 512 x 288\n>- `720` 1280 x 720\n","type":"string","enum":["288","720","1080"],"maxLength":30,"example":"1080"},"name":{"description":"The name/description of the video file","type":"string","maxLength":200},"feedType":{"description":"Type of video input\n>- `ADDITIONAL_ANGLE` Additional angle\n>- `LOW_LATENCY` Low Latency\n>- `PRIMARY` Primary\n","type":"string","enum":["PRIMARY","ADDITIONAL_ANGLE","LOW_LATENCY"],"maxLength":30,"example":"PRIMARY"},"content":{"description":"Content of the stream\n>- `CLEAN` Output signal is the same as the input signal\n>- `PROGRAM` Score overlays and other enhancements have been added to the stream\n","type":"string","enum":["CLEAN","PROGRAM"],"maxLength":30,"example":"CLEAN"},"fps":{"description":"fps for the video stream","type":"integer","format":"int32","default":25,"example":25},"origin":{"description":"The origin of the video file\n>- None None\n>- `STREAM` Streamed\n>- `UPLOAD` Uploaded\n>- `VENUE` Recorded in venue\n","type":"string","enum":["STREAM","VENUE","UPLOAD",null],"maxLength":30,"nullable":true,"example":"STREAM"},"format":{"description":"The format of the video file\n>- `HLS` A HLS play list\n>- `MP4` One MP4 file\n","type":"string","enum":["HLS","MP4"],"maxLength":30,"example":"HLS"},"storageProvider":{"description":"Where the video file is stored?\n>- None None\n>- `5STREAM` 5stream\n>- `AV_SPORTRADAR` AV Sportradar\n>- `KEEMOTION` Keemotion\n>- `SYNERGY` Synergy\n","type":"string","enum":["5STREAM","AV_SPORTRADAR","KEEMOTION","SYNERGY",null],"maxLength":30,"nullable":true,"example":"KEEMOTION"},"size":{"description":"Size (Mb) of the video (only given if a single file)","type":"number","format":"float","nullable":true,"example":1024.2},"length":{"description":"Lenth (mins) of the video","type":"number","format":"float","nullable":true,"example":123.4},"encoding":{"description":"How is the video/audio encoded. codecs etc.","type":"string","maxLength":30,"example":"H.264/AAC"},"status":{"description":"What is the status of the file?\n>- None None\n>- `AVAILABLE` Available for access\n>- `BUILDABLE` Not currently available - but can be built on request\n>- `PENDING` Being added - some parts may be available\n","type":"string","enum":["AVAILABLE","BUILDABLE","PENDING",null],"maxLength":30,"nullable":true,"example":"AVAILABLE"},"startTime":{"description":"The time this recording started (UTC)","type":"string","format":"date-time"},"expiry":{"description":"When does this file expire? (UTC)","type":"string","format":"date-time","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":"video file model"},"Video_Files_DownloadModel":{"type":"object","additionalProperties":false,"properties":{"videoId":{"description":"The unique identifier of the video","type":"string","format":"uuid","readOnly":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"url":{"description":"The URL where the file can be found","type":"string","maxLength":200,"readOnly":true,"example":"https://hls.host.com/video/index.m3u8"}},"title":"video file model"},"ImagesModel":{"type":"object","additionalProperties":false,"properties":{"imageId":{"description":"The unique identifier of the image record","type":"string","format":"uuid","readOnly":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this images belongs to","type":"object"},"baseType":{"description":"The object that this image relates to\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"entity"},"baseId":{"description":"The unique identifier of the object associated with this image's record. If the `baseType` is `PERSON` then this would be the value of `personId`.","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fileType":{"description":"The type of file\n>- `JPG` jpg\n>- `PNG` png\n>- `SVG` svg\n","type":"string","enum":["JPG","PNG","SVG"],"maxLength":3,"readOnly":true,"example":"png"},"imageType":{"description":"Upload Type\n>- `LOGO` Logo - Not valid for 'PERSON' baseType\n>- `LOGO_ALTERNATE` Logo (alternate) - Not valid for 'PERSON' baseType\n>- `LOGO_BACKGROUND` Stylised logo for background purposes - Not valid for 'PERSON' baseType\n>- `PERSON_HEAD` Head shot (shoulders and head) - Only valid for 'PERSON' baseType\n>- `PERSON_POSE` Person posing - Only valid for 'PERSON' baseType\n>- `PERSON_WAIST` Head shot from the waist up - Only valid for 'PERSON' baseType\n>- `TEAM_PHOTO` Team Photo - Only valid for 'ENTITY' baseType\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","type":"string","enum":["LOGO","LOGO_ALTERNATE","LOGO_BACKGROUND","PERSON_HEAD","PERSON_WAIST","PERSON_POSE","TEAM_PHOTO","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"LOGO"},"secondaryType":{"description":"If the image relates to a secondary object. Such as a photo of a person in a team, then baseType would be PERSON and secondaryType would be TEAM.\n>- None None\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `SEASON` Season\n","type":"string","enum":["ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","DIVISION","CONFERENCE",null],"maxLength":100,"nullable":true,"example":"entity"},"secondaryId":{"description":"The unique identifier of the object associated with the secondaryType","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"rating":{"description":"The rating given to the quality of the image.  All images are LOW by default but are set ad MEDIUM if they are large enough and have transparency.  Images are only marked as HIGH if they have been manually reviewed.  You should take your use-case into account when you go to use the image.\n>- `HIGH` High\n>- `LOW` Low\n>- `MEDIUM` Medium\n","type":"string","enum":["LOW","MEDIUM","HIGH"],"maxLength":100,"readOnly":true,"example":"LOW"},"url":{"description":"The URL of the image. See [Images](#section/Introduction/Images) for more information.","type":"string","readOnly":true},"maximumHeight":{"description":"The maximum height (in pixels) of this image.","type":"integer","format":"int32","readOnly":true,"example":200},"maximumWidth":{"description":"The maximum width (in pixels) of this image.","type":"integer","format":"int32","readOnly":true,"example":200},"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":"images model"},"Season_Entities_ListModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season entities belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The conference information","type":"object"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The division information","type":"object"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"seed":{"description":"Initial seeding","type":"integer","format":"int32"},"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,"example":"A123"},"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},"rosterStatus":{"description":"The status of the TEAM season entities\n>- `APPROVED` Approved\n>- `PENDING` Pending\n>- `REJECTED` Rejected\n>- `SUBMITTED` Submitted\n>- `UNKNOWN` Unknown\n","type":"string","enum":["UNKNOWN","SUBMITTED","PENDING","APPROVED","REJECTED"],"maxLength":100,"default":"UNKNOWN","example":"APPROVED"}},"title":"season entities model"},"Season_EntitiesModel":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season teams belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The conference information","type":"object"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The division information","type":"object"},"rosterStatus":{"description":"The status of the TEAM season teams\n>- `APPROVED` Approved\n>- `PENDING` Pending\n>- `REJECTED` Rejected\n>- `SUBMITTED` Submitted\n>- `UNKNOWN` Unknown\n","type":"string","enum":["UNKNOWN","SUBMITTED","PENDING","APPROVED","REJECTED"],"maxLength":100,"default":"UNKNOWN","example":"APPROVED"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"seed":{"description":"Initial seeding","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"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,"example":"A123"},"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":"season teams model"},"TransfersModel":{"type":"object","additionalProperties":false,"properties":{"transferId":{"description":"The unique identifier of the transfer","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this ~transfer~ belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"components":{"type":"array","nullable":true,"title":"Transfer components","description":"List of transfer components","items":{"type":"object","title":"Transfer component","additionalProperties":false,"properties":{"personId":{"description":"The uuid of the person","type":"string"},"fromEntityGroupId":{"description":"The uuid of the source entity group","type":"string"},"toEntityGroupId":{"description":"The uuid of the destination entity group","type":"string"},"extraAllowances":{"description":"Details of additional allowances included in the transfer","type":"string","example":"Cash, 1st Round Pick"}}}},"status":{"description":"Transfer Status\n>- None None\n>- `APPROVED` Approved\n>- `DECLINED` Decline\n>- `PENDING` Pending\n","type":"string","enum":["APPROVED","PENDING","DECLINED",null],"maxLength":30,"nullable":true,"example":"APPROVED"},"reference":{"description":"Transfer reference number","type":"string","maxLength":100},"transferType":{"description":"Type of transfer\n>- `DROPPED` Dropped\n>- `OTHER` Other\n>- `PERMIT` Permit\n>- `TRADE` Trade\n>- `TRANSFER` Transfer\n","type":"string","enum":["TRADE","TRANSFER","DROPPED","PERMIT","OTHER"],"maxLength":100,"example":"TRANSFER"},"dateTransfer":{"description":"Date of transfer","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"datePermitFrom":{"description":"Date the permit started","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"datePermitTo":{"description":"Date the permit ended","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"notes":{"description":"Notes","type":"string","maxLength":1000,"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,"example":"A123"},"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":"~transfer~ model"},"AwardsModel":{"type":"object","additionalProperties":false,"properties":{"awardId":{"description":"The unique identifier of the award","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this ~award~ belongs to","type":"object"},"personId":{"description":"The person that this award is for","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"entityGroupId":{"description":"The club that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The club that this team belongs to","type":"object"},"entityId":{"description":"The team that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"competitionId":{"description":"The competition that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"seasonId":{"description":"The season that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"fixtureId":{"description":"The match that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"votes":{"description":"Number of votes","type":"integer","format":"int32","nullable":true,"example":1},"dateFrom":{"description":"Date the award is from","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"dateTo":{"description":"Date the award is until","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"award":{"description":"Award\n>- `ALL_TEAM` All first team\n>- `COACH` Coach Award\n>- `HALL` Hall of Fame\n>- `HONOUR` Honoured\n>- `MIP` Most Improved Player\n>- `MVP` Most Valuable Player\n>- `OTHER` Other\n>- `ROOKIE` Rookie\n","type":"string","enum":["MVP","MIP","ROOKIE","COACH","ALL_TEAM","OTHER","HONOUR","HALL"],"maxLength":100,"example":"MVP"},"awardSubType":{"description":"Award sub type","type":"string","maxLength":100,"nullable":true,"example":"1st Team"},"notes":{"description":"Award Notes","type":"string","maxLength":500,"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,"example":"A123"},"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":"~award~ model"},"Fixture_Pbp_EventModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this Fixture PBP Event belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"events":{},"class":{"description":"The class of the event\n>- `clock` Information about the current status of the clock match\n>- `sport` A sporting action that relates to the running of the match\n","type":"string","enum":["sport","clock"],"maxLength":100,"default":"sport","example":"sport"},"eventType":{"description":"See [Event Types](http://developer.connect.sportradar.com/datacore/streaming.html#section/Message-Types/event) for more information","type":"string","maxLength":100,"example":"substitution"},"eventId":{"description":"Unique identifier of this event","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"playId":{"description":"Unique identifier of this play (group of events)","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"subType":{"description":"The Sub Type of event. See <b>Streaming API</b> documenation for more information.","type":"string","maxLength":100,"example":"out"},"options":{},"received":{"description":"The UNIX timestamp when the event was received.","type":"integer","format":"int32"},"status":{"description":"The status of this message.  Options are `added` (Default); `updated` - meaning the content of this event has been edited; `deleted` - meaning this event has been deleted; `enriched` - meaning further information has been added to the event (not changed).","type":"string"},"success":{"description":"Whether the action was successful","type":"boolean"},"x":{"description":"The x co-ordinate of the event. Represented as percentage from left (0) to right (100).","type":"number","format":"float","example":56},"y":{"description":"The y co-ordinate of the event. Represented as precentage from top (0) to bottom (100).","type":"number","format":"float","example":23},"z":{"description":"The z co-ordinate of the event. Represented as precentage from ground (0) to ceiling (100).","type":"number","format":"float","example":10},"clock":{"description":"The time on the clock when the event occurred. ISO 8601 format. PTmmMss.ccS","type":"string","example":"PT12M34.5S"},"shotClock":{"description":"The time on the shot clock when the event occurred. ISO 8601 format. PTss.ccS","type":"string","example":"PT34.2S"},"eventTime":{"description":"The date/time (UTC) this event occurred. For inserted actions, this should be the time the action would have occurred, not the time of insertion.","type":"string","format":"date-time","example":"2016-09-08T02:02:00Z"},"officialId":{"description":"The unique ID of the official making this decision","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"zone":{"description":"See [Event Types]() for more information","type":"string","maxLength":50},"scores":{"title":"Current scores","description":"The current scores","type":"object","nullable":true,"additionalProperties":{"description":"The current score of the entity (given by the key).  For insertions this should still be the current (maximum) score (not the score at the time of event being inserted)","type":"string","maxLength":50}},"flagged":{"description":"This event has been flagged for further review and may be changed later","type":"boolean"},"highlight":{"description":"This event may be a highlight of the game.","type":"boolean"},"timestamp":{"description":"The date/time (UTC) this event was sent.","type":"string","format":"date-time","example":"2016-09-08T02:02:00Z"},"clientType":{"description":"Type of the client that sent the event","type":"string","maxLength":200,"example":"InGame"},"clientId":{"description":"ID of the client that sent the event","type":"string","maxLength":200,"example":"InGame:0.9"},"sport":{"description":"Sport one letter code","type":"string","maxLength":1,"example":"h"},"topic":{"description":"MQTT topic where the event was sent","type":"string","maxLength":200,"example":"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e"},"type":{"description":"Type of the event message","type":"string","maxLength":100,"example":"event"},"sequence":{"description":"Client event sequence number","type":"integer","format":"int32","nullable":true,"example":10}},"title":"Fixture PBP Event model"},"Fixture_PbpModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this fixture_pbp belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"events":{"title":"Event details","description":"Event details","type":"object","nullable":true,"properties":{}},"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":"fixture_pbp model"},"Fixture_Pbp_ExternalModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this fixture_pbp_external belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"events":{"title":"Event details","description":"Event details","type":"object","nullable":true,"properties":{}},"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":"fixture_pbp_external model"},"Video_Stream_InputsModel":{"type":"object","additionalProperties":false,"properties":{"videoInputId":{"description":"The unique identifier of the video input","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"masterVenueId":{"description":"The unique identifier of the master venue","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this Video Stream Inputs belongs to","type":"object"},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"venue":{"properties":{"resourceType":{"type":"string","enum":["venues"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The venue that this match belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"startTimeLocal":{"description":"Start time (Local).","type":"string","format":"date-time","example":"2018-08-16T02:00:00"},"startTimeUTC":{"description":"Start time (UTC). This is automatically generated based on the timezone of the venue.","type":"string","format":"date-time","example":"2018-08-16T02:00:00"},"finishRecordingTimeUTC":{"description":"(TO BE REMOVED) Finish Recording time of the stream (if not set, is calculated as startTimeUTC + durationFull from matches)","type":"string","format":"date-time","maxLength":200,"deprecated":true},"estimatedFinishTimeUTC":{"description":"Finish Recording time of the stream (if not set, is calculated as startTimeUTC + durationFull from matches)","type":"string","format":"date-time","maxLength":200},"provider":{"description":"Provider of the input","type":"string","maxLength":100,"example":"MANUAL"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"sourceNumber":{"description":"Unique identifier for the video source. This is unique for the provider/fixtureId/locale combination.  Unless the provider is supplying multiple sources per fixture/locale then this is normally 1.","type":"integer","format":"int32","default":1,"example":1},"feedType":{"description":"Type of video input\n>- `ADDITIONAL_ANGLE` Additional angle\n>- `LOW_LATENCY` Low Latency\n>- `PRIMARY` Primary\n","type":"string","enum":["PRIMARY","ADDITIONAL_ANGLE","LOW_LATENCY"],"maxLength":30,"example":"PRIMARY"},"inputFormat":{"description":"Video input format\n>- `RTMP` RTMP (Real-Time Messaging Protocol)\n>- `SRT` SRT (Secure Reliable Transport)\n","type":"string","enum":["RTMP","SRT"],"maxLength":30,"default":"RTMP","example":"RTMP"},"inputResolution":{"description":"The resolution of the video input\n>- `1080` 1920 x 1080\n>- `288` 512 x 288\n>- `720` 1280 x 720\n","type":"string","enum":["288","720","1080"],"maxLength":30,"example":"1080"},"fps":{"description":"fps for the video stream","type":"integer","format":"int32","default":25,"example":25},"name":{"description":"The name of the video source","type":"string","maxLength":200},"audioAmbienceChannel":{"description":"audioAmbienceChannel\n>- `CHANNEL_BOTH` Both channels\n>- `CHANNEL_LEFT` Channel left\n>- `CHANNEL_RIGHT` Channel right\n>- `NONE` None\n","type":"string","enum":["CHANNEL_LEFT","CHANNEL_RIGHT","CHANNEL_BOTH","NONE"],"maxLength":30,"example":"CHANNEL_BOTH"},"audioCommentaryChannel":{"description":"audioCommentaryChannel\n>- `CHANNEL_BOTH` Both channels\n>- `CHANNEL_LEFT` Channel left\n>- `CHANNEL_RIGHT` Channel right\n>- `NONE` None\n","type":"string","enum":["CHANNEL_LEFT","CHANNEL_RIGHT","CHANNEL_BOTH","NONE"],"maxLength":30,"example":"CHANNEL_BOTH"},"platformProviderOverride":{"description":"Override Video Provider configuration","type":"string","minLength":1,"maxLength":30,"nullable":true,"example":"LOCAL"},"inputURL":{"description":"The URL where the video should be sent","type":"string","example":"rtmp://1ejcn5c-4wmytr5.vi.atriumsports.com/inputin1/inputin1"},"streamName":{"description":"The name/stream key of the RTMP stream. This is an optional part of the RTMP url - not a text description.","type":"string","maxLength":250},"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":"Video Stream Inputs model"},"Video_Stream_OutputsModel":{"type":"object","additionalProperties":false,"properties":{"videoInputId":{"description":"The unique identifier of the video input","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"masterVenueId":{"description":"The unique identifier of the master venue","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this Video Stream Outputs belongs to","type":"object"},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"venue":{"properties":{"resourceType":{"type":"string","enum":["venues"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The venue that this match belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"provider":{"description":"Provider of the input","type":"string","maxLength":100,"example":"MANUAL"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"sourceNumber":{"description":"Unique identifier for the video source. This is unique for the provider/fixtureId/locale combination.  Unless the provider is supplying multiple sources per fixture/locale then this is normally 1.","type":"integer","format":"int32","default":1,"example":1},"feedType":{"description":"Type of video input\n>- `ADDITIONAL_ANGLE` Additional angle\n>- `LOW_LATENCY` Low Latency\n>- `PRIMARY` Primary\n","type":"string","enum":["PRIMARY","ADDITIONAL_ANGLE","LOW_LATENCY"],"maxLength":30,"example":"PRIMARY"},"inputResolution":{"description":"The resolution of the video input\n>- `1080` 1920 x 1080\n>- `288` 512 x 288\n>- `720` 1280 x 720\n","type":"string","enum":["288","720","1080"],"maxLength":30,"example":"1080"},"name":{"description":"The name of the video source","type":"string","maxLength":200,"example":"Automated Capture Feed"},"content":{"description":"Content of the stream\n>- `CLEAN` Output signal is the same as the input signal\n>- `PROGRAM` Score overlays and other enhancements have been added to the stream\n","type":"string","enum":["CLEAN","PROGRAM"],"maxLength":30,"default":"CLEAN","example":"CLEAN"},"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},"audioAmbience":{"description":"Audio Ambience","type":"boolean","example":true},"audioCommentary":{"description":"Audio Commentary","type":"boolean","example":true}},"title":"Video Stream Outputs model"},"Change_LogModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this change_log belongs to","type":"object"},"changeType":{"description":"The type of change\n>- `delete` Record Deleted\n>- `fixture_change` Fixture schedule Change\n>- `fixture_reset` Fixture Reset\n>- `fixture_videostream_disable` Enable Video Stream\n>- `fixture_videostream_enable` Enable Video Stream\n>- `move` Record Moved\n>- `post` Record Created\n>- `put` Record Changed\n>- `update` Record Updated\n","type":"string","enum":["post","put","move","delete","update","fixture_change","fixture_reset","fixture_videostream_enable","fixture_videostream_disable"],"example":"delete"},"primaryType":{"description":"The primary table changed","type":"string","maxLength":30,"example":"fixtures"},"primaryId":{"description":"The unique identifier of the primaryType","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"childType":{"description":"The child table changed","type":"string","maxLength":30,"example":"fixture_roster"},"changeMessage":{},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"change_log model"},"Standing_AdjustmentsModel":{"type":"object","additionalProperties":false,"properties":{"standingAdjustmentId":{"description":"The unique identifier of the adjustment","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this ~standing_adjustment~ belongs to","type":"object"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"RN1"},"round":{"properties":{"resourceType":{"type":"string","enum":["seasonRounds"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"RN1"}},"description":"The ~ROUND~ that is related to this record","type":"object"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"P1"}},"description":"The pool that is related to this record","type":"object"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The division information","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The conference information","type":"object"},"applyToAllStandings":{"description":"Apply to all generated standing types ?","type":"boolean","example":true},"adjustmentGroup":{"description":"Adjustment Group\n>- `IN_CONFERENCE` In Conference\n>- `IN_DIVISION` In Division\n>- `OUT_CONFERENCE` Out Conference\n>- `OUT_DIVISION` Out Division\n>- `OVERALL` Overall\n","type":"string","enum":["OVERALL","IN_CONFERENCE","OUT_CONFERENCE","IN_DIVISION","OUT_DIVISION"]},"adjustmentType":{"description":"Adjustment Type\n>- `ADD_MINUS` Add/Subtract Value\n>- `SET` Set Value\n","type":"string","enum":["SET","ADD_MINUS"]},"adjustmentField":{"description":"Adjustment field to calculate standings\n>- `byes` Byes\n>- `draws` Games Drawn\n>- `drawsAway` Games Drawn (Away)\n>- `drawsHome` Games Drawn (Home)\n>- `forfeitsGiven` Forfeits Given\n>- `forfeitsWonBy` Forfeits Won\n>- `highestScoreAgainst` Highest Score Against\n>- `highestScoreAgainstAway` Highest Score Against (Away)\n>- `highestScoreAgainstHome` Highest Score Against (Home)\n>- `highestScoreFor` Highest Score For\n>- `highestScoreForAway` Highest Score For (Away)\n>- `highestScoreForHome` Highest Score For (Home)\n>- `losses` Games Lost\n>- `lossesAway` Games Lost (Away)\n>- `lossesHome` Games Lost (Home)\n>- `lowestScoreAgainst` Lowest Score Against\n>- `lowestScoreAgainstAway` Lowest Score Against (Away)\n>- `lowestScoreAgainstHome` Lowest Score Against (Home)\n>- `lowestScoreFor` Lowest Score For\n>- `lowestScoreForAway` Lowest Score For (Away)\n>- `lowestScoreForHome` Lowest Score For (Home)\n>- `percentage` For versus Against Percentage\n>- `percentageAway` For versus Against Percentage (Away)\n>- `percentageHome` For versus Against Percentage (Home)\n>- `played` Games Played\n>- `playedAway` Games Played (Away)\n>- `playedHome` Games Played (Home)\n>- `pointDifference` Point Difference\n>- `pointDifferenceAway` Point Difference (Away)\n>- `pointDifferenceHome` Point Difference (Home)\n>- `position` Standings Position\n>- `scoredAgainst` Score Against\n>- `scoredAgainstAway` Score Against (Away)\n>- `scoredAgainstHome` Score Against (Home)\n>- `scoredFor` Score For\n>- `scoredForAway` Score For (Away)\n>- `scoredForHome` Score For (Home)\n>- `standingPoints` Standing Points for competitor\n>- `standingPointsAway` Standing Points for competitor (Away)\n>- `standingPointsGiven` Standing Points Given away\n>- `standingPointsHome` Standing Points for competitor (Home)\n>- `streak` Winning Streak for competitor\n>- `streakAway` Winning Streak for competitor (Away)\n>- `streakHome` Winning Streak for competitor (Home)\n>- `washouts` Washouts\n>- `winPercentage` Win Percentage\n>- `winPercentageAway` Win Percentage (Away)\n>- `winPercentageHome` Win Percentage (Home)\n>- `wins` Games Won\n>- `winsAway` Games Won (Away)\n>- `winsHome` Games Won (Home)\n","type":"string","enum":["position","played","playedHome","playedAway","wins","winsHome","winsAway","losses","lossesHome","lossesAway","draws","drawsHome","drawsAway","washouts","byes","forfeitsGiven","forfeitsWonBy","winPercentage","winPercentageHome","winPercentageAway","scoredFor","scoredForHome","scoredForAway","scoredAgainst","scoredAgainstHome","scoredAgainstAway","percentage","percentageHome","percentageAway","pointDifference","pointDifferenceHome","pointDifferenceAway","lowestScoreFor","lowestScoreForHome","lowestScoreForAway","highestScoreFor","highestScoreForHome","highestScoreForAway","lowestScoreAgainst","lowestScoreAgainstHome","lowestScoreAgainstAway","highestScoreAgainst","highestScoreAgainstHome","highestScoreAgainstAway","streak","streakHome","streakAway","standingPoints","standingPointsHome","standingPointsAway","standingPointsGiven"]},"adjustmentValue":{"description":"Value of the adjustment field","type":"number","format":"float","example":2.3},"reasonType":{"description":"Reason type of the adjustment","type":"string","example":"DISCIPLINE"},"reasonDescription":{"description":"Reason for the adjustment","type":"string","nullable":true,"example":"Points lost due to discipline issues"},"groupingKey":{"description":"Grouping Key to allow bulk deletions or listing by the key","type":"string","maxLength":100,"pattern":"^[0-9A-Za-z/_-]+$","nullable":true,"example":"KEYA123"},"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":"~standing_adjustment~ model"},"Standing_ConfigurationsModel":{"type":"object","additionalProperties":false,"properties":{"standingConfigurationId":{"description":"The unique identifier of the configuration","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this ~standing_configurations~ belongs to","type":"object"},"nameLocal":{"description":"The name of the ~standing_configurations~ in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test season"},"nameLatin":{"description":"The name of the ~standing_configurations~ in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test season"},"buildRules":{"title":"Standing Building","description":"Suilding definitions","type":"object","additionalProperties":false,"required":["grouping","buildType","fixtureTypes"],"properties":{"buildType":{"type":"string","description":"Overall standing Type (ROUND not used on live Standings)","example":"OVERALL","enum":["ROUND","OVERALL"]},"buildOverall":{"type":"boolean","description":"Build overall standings"},"buildConferences":{"type":"boolean","description":"Build standings by conference"},"buildDivisions":{"type":"boolean","description":"Build standings by division"},"grouping":{"type":"string","description":"How to Group","example":"NONE","enum":["STAGE","STAGEPOOL","NONE"]},"blankStanding":{"type":"boolean","description":"Give team blank row if no played"},"includeLiveFixtures":{"type":"boolean","description":"Include live matches"},"generateLiveStandings":{"type":"boolean","description":"Generate live matches"},"validateEntitiesStructure":{"type":"boolean","description":"Validate Entities against Fixture structure?"},"fixtureTypes":{"type":"array","items":{"type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"]}},"decimalPlaces":{"type":"number","description":"Number of decimal places for percentage calculations","default":4},"skipLatestFlag":{"type":"boolean","description":"Skip setting latest=True for ROUND standings?"},"skipCleanRoundFlag":{"type":"boolean","description":"Skip cleaning future blank rounds?"},"forceHeadToHead":{"type":"boolean","description":"Set to true in order to force head-to-head resolution even when there aren't enough mutual fixtures between entities in a h2h group"}}},"configuration":{"title":"Standing Configuration","description":"Configuration definitions","type":"object","additionalProperties":false,"properties":{"lossesSecondaryScoreHomePoints":{"description":"Points for Home Loss by Secondary Score","type":"number"},"lossesSecondaryScoreAwayPoints":{"description":"Points for Away Loss by Secondary Score","type":"number"},"winsSecondaryScoreHomePoints":{"description":"Points for Home Win by Secondary Score","type":"number"},"winsSecondaryScoreAwayPoints":{"description":"Points for Away Win by Secondary Score","type":"number"},"winsHomePoints":{"description":"Points for Home Win","type":"number"},"lossesHomePoints":{"description":"Points for Home Loss","type":"number"},"drawsHomeScoredPoints":{"description":"Points for Home Draw where team scored","type":"number"},"drawsHomeZeroPoints":{"description":"Points for Home Draw with zero score","type":"number"},"forfeitWonByHomePoints":{"description":"Points for won by Forfeit at home","type":"number"},"forfeitsWonByHomePoints":{"description":"Points for won by Forfeit at home","type":"number"},"forfeitGivenHomePoints":{"description":"Points for giving a forfeit at home","type":"number"},"winsAwayPoints":{"description":"Points for Away Win","type":"number"},"lossesAwayPoints":{"description":"Points for Away Loss","type":"number"},"drawsAwayScoredPoints":{"description":"Points for Away Draw where team scored","type":"number"},"drawsAwayZeroPoints":{"description":"Points for Away Draw with zero score","type":"number"},"forfeitWonByAwayPoints":{"description":"Points for won by Forfeit at away","type":"number"},"forfeitGivenAwayPoints":{"description":"Points for giving a forfeit at away","type":"number"},"secondaryScoreDrawAsResult":{"description":"Is a secondary Score result a game result (resultPlace was a Draw)?","type":"boolean"},"checkSecondaryScores":{"type":"boolean","description":"Check Secondary Score for calculations"},"byePoints":{"description":"Points for bye","type":"number"},"byeIsPlayed":{"description":"Is a Bye added to played ?","type":"boolean"},"byeAddedWins":{"description":"Is a Bye added to won count?","type":"boolean"},"forfeitWonByAddedWins":{"description":"Is a forfeit won by (received) included in won count ?","type":"boolean"},"forfeitWonByAddedPlayed":{"description":"Is a forfeit won by (received) included in played count ?","type":"boolean"},"forfeitGivenAddedLosses":{"description":"Is a forfeit given included in losses count ?","type":"boolean"},"forfeitGivenAddedPlayed":{"description":"Is a forfeit given included in played count ?","type":"boolean"},"streak":{"description":"How is a streak calculated ?","type":"string","enum":["WON","NONLOST"]},"sorts":{"type":"array","title":"Sortings","description":"Sortings","items":{"type":"object","title":"Sorting","additionalProperties":false,"properties":{"sortField":{"description":"Sort Field","type":"string"},"sortDirection":{"description":"Sort direction","type":"string","enum":["ASC","DESC"]}}}},"headToHeadIdentification":{"type":"array","title":"Head to head identifications","description":"Head to head identifications","items":{"type":"object","title":"Head to head identification","additionalProperties":false,"properties":{"checkField":{"description":"Field to check","type":"string"}}}},"headToHeadIdentificationSubsequent":{"type":"array","title":"Head to head identifications for subsequent checks","description":"Head to head identifications for subsequent checks","items":{"type":"object","title":"Head to head identification for subsequent checks","additionalProperties":false,"properties":{"checkField":{"description":"Field to check","type":"string"}}}},"headToHeadUseAllFixtures":{"description":"Use all fixtures in Head to head resolutions regardless of Stage & Pool?","type":"boolean"},"headToHeadUseAdjustments":{"description":"Apply Standing Adjustments when performing Head to head resolutions?","type":"boolean"},"headToHeadSingleRound":{"description":"Only use single round for Head to head resolutions?","type":"boolean"},"headToHeadResolutions":{"type":"array","title":"Head to head resolutions","description":"Head to head resolutions","items":{"type":"object","title":"Head to head resolution","additionalProperties":false,"properties":{"sortField":{"description":"Sort Field","type":"string"},"sortDirection":{"description":"Sort direction","type":"string","enum":["ASC","DESC"]}}}},"headToHeadResolutionsSubsequent":{"type":"array","title":"Head to head resolutions for extra depth h2h's","description":"Head to head resolutions for extra depth h2h's","items":{"type":"object","title":"Head to head resolution for extra depth h2h's","additionalProperties":false,"properties":{"sortField":{"description":"Sort Field","type":"string"},"sortDirection":{"description":"Sort direction","type":"string","enum":["ASC","DESC"]}}}}}},"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,"example":"A123"},"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":"~standing_configurations~ model"},"Blank_ModelModel":{"type":"object","additionalProperties":false,"properties":{},"title":"blank_model model"},"Video_Stream_LocalModel":{"type":"object","additionalProperties":false,"properties":{"urlId":{"description":"The unique identifier of the video","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this Video Stream Local belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"provider":{"description":"Provider of the input","type":"string","maxLength":100,"example":"MANUAL"},"sourceNumber":{"description":"Unique identifier for the video source. This is unique for the provider/fixtureId/locale combination.  Unless the provider is supplying multiple sources per fixture/locale then this is normally 1.","type":"integer","format":"int32","default":1,"example":1},"format":{"description":"The format of the video file\n>- `HLS` A HLS play list\n>- `MP4` One MP4 file\n","type":"string","enum":["HLS","MP4"],"maxLength":30,"example":"HLS"},"url":{"description":"The URL where the file can be found","type":"string","maxLength":200,"example":"https://hls.host.com/video/index.m3u8"},"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":"Video Stream Local model"},"Leader_QualifiersModel":{"type":"object","additionalProperties":false,"properties":{"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},"qualifierId":{"description":"The unique identifier of the leader qualifier","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this LeaderQualifier belongs to","type":"object"},"leaderCriteriaId":{"description":"The unique identifier of the ~LeaderCriteria~","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"leadersCriteria":{"properties":{"resourceType":{"type":"string","enum":["leaderCriteria"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The ~LeaderCriteria~ linked to this record","type":"object"},"statisticField":{"description":"The statistic field that this qualifier is for.","type":"string"},"comparisonField":{"description":"The statistic field to compare against.","type":"string"},"comparisonType":{"description":"Comparison type for the qualifier\n>- `EQUAL` Equal\n>- `GREATER_THAN` Greater than\n>- `GREATER_THAN_EQUAL` Greater than or equal\n>- `LESS_THAN` Less than\n>- `LESS_THAN_EQUAL` Less than or equal\n","type":"string","enum":["GREATER_THAN","LESS_THAN","EQUAL","GREATER_THAN_EQUAL","LESS_THAN_EQUAL"],"example":"GREATER_THAN"},"comparisonValue":{"description":"Comparison value for the qualifier","type":"number","format":"float"}},"title":"LeaderQualifier model"},"Leader_CriteriaModel":{"type":"object","additionalProperties":false,"properties":{"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this LeaderCriteria belongs to","type":"object"},"leaderCriteriaId":{"description":"The unique identifier of the leader criteria","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"name":{"description":"The name of the criteria","type":"string"}},"title":"LeaderCriteria model"},"Leader_SummaryModel":{"type":"object","additionalProperties":false,"properties":{"statName":{"description":"There will be an element/object here for each statistic you have requested. The 'statName' key will be the name of the statistics. eg `points`","type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/Season_Person_StatisticsModel"}}},"title":"Season Leader Summary model"},"Competition_Person_LeadersModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this competition person leaders belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"fixtureType":{"description":"Fixture type bucket (ALL, REGULAR, PLAYOFF, FINAL)","type":"string","maxLength":30},"statisticField":{"description":"Statistic field name ranked in this row","type":"string","maxLength":100},"order":{"description":"Precomputed order","type":"integer","format":"int32"},"statistics":{},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"competition person leaders model"},"Competition_Person_Leaders_ConfigurationModel":{"type":"object","additionalProperties":false,"properties":{"competitionPersonLeadersConfigurationId":{"description":"The unique identifier of the ~competition person leaders configuration~ row","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"competitionId":{"description":"The unique identifier of the competition (optional for org-wide config)","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"runEvery":{"description":"Minutes between scheduled builds (0 to always allow)","type":"integer","format":"int32"},"lastRun":{"description":"Timestamp of the last successful build per configuration row","type":"string","format":"date-time","readOnly":true,"example":"2025-01-01 12:00:00"},"added":{"description":"Date/time added. In UTC","type":"string","format":"date-time","readOnly":true},"updated":{"description":"Date/time last modified. In UTC","type":"string","format":"date-time","readOnly":true}},"title":"competition person leaders configuration model"},"Fixture_Live_SummaryModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entities":{"title":"Information per entity","description":"Entity information: scores, person information, etc.","type":"object","properties":{}},"clock":{"title":"Clock information","description":"Clock information","type":"object","properties":{}},"status":{"title":"Status information","description":"Status information","type":"object","properties":{}}},"title":"fixture_live_summary model"},"Fixture_ProfilesModel":{"type":"object","additionalProperties":false,"properties":{"profileId":{"description":"The unique identifier of the profile","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this match profiles belongs to","type":"object"},"name":{"description":"Name of the match profile","type":"string","maxLength":150},"profile":{},"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},"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,"example":"A123"},"defaultProfile":{"description":"Is this the default profile for the organization?","type":"boolean"}},"title":"match profiles model"},"Season_Entity_PlacingsModel":{"type":"object","additionalProperties":false,"properties":{"placingId":{"description":"The unique identifier of the SEASON TEAM placing","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this SEASON TEAM placings belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"resultPlace":{"description":"Result place","type":"integer","format":"int32","example":1},"points":{"description":"Points awarded","type":"integer","format":"int32","nullable":true,"example":1},"prizeMoney":{"description":"Prize money awarded","type":"integer","format":"int32","nullable":true,"example":1},"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":"SEASON TEAM placings model"},"Season_Person_PlacingsModel":{"type":"object","additionalProperties":false,"properties":{"placingId":{"description":"The unique identifier of the SEASON PERSON placing","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this SEASON PERSON placings belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"resultPlace":{"description":"Result place","type":"integer","format":"int32","example":1},"points":{"description":"Points awarded","type":"integer","format":"int32","nullable":true,"example":1},"prizeMoney":{"description":"Prize money awarded","type":"integer","format":"int32","nullable":true,"example":1},"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":"SEASON PERSON placings model"},"ConductModel":{"type":"object","additionalProperties":false,"properties":{"conductId":{"description":"The unique identifier of the conduct","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this conduct belongs to","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The club that this team belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"venue":{"properties":{"resourceType":{"type":"string","enum":["venues"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The venue that this match belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":100,"nullable":true,"example":"34"},"locationOther":{"description":"The location where the incident occurred","type":"string","maxLength":150,"nullable":true,"example":"location"},"eventId":{"description":"The ~event~ that this conduct is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"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,"example":"PT9M53S"},"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,"example":"COACH"},"dateOffenceLocal":{"description":"Date & Time of the Offence in the local timezone","type":"string","format":"date-time","nullable":true,"example":"1978-08-24T12:12:12"},"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,"example":"1978-08-24"},"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,"example":"PENDING"},"lifeSentence":{"description":"Was the result of the conduct hearing a life sentence?","type":"boolean","example":true},"penaltyResults":{"type":"array","items":{"type":"object","nullable":true,"title":"Conduct penalty result","additionalProperties":false,"properties":{"penaltyType":{"type":"string","description":"Penalty type","maxLength":30,"example":"WEEK","enum":["FINANCIAL","WEEKS","GAMES","MONTHS","YEARS"],"nullable":true},"penaltyValue":{"description":"Penalty value","nullable":true,"type":"integer","example":6}}}},"fineAmount":{"description":"Conduct fine amount","type":"number","format":"float"},"fineCurrency":{"description":"Fine currency","type":"string","maxLength":20,"nullable":true,"example":"USD"},"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,"example":"PAID"},"dateSuspendedTo":{"description":"Date the suspension ended","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"dateSuspendedFrom":{"description":"Date the suspension started","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"dateFinePaidLocal":{"description":"Date the fine was paid","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"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,"example":"ACTIVE"},"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,"example":"A123"},"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"},"Person_External_IdsModel":{"type":"object","additionalProperties":false,"properties":{"personExternalId":{"description":"The unique identifier of the external ids","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this person external ids belongs to","type":"object"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"person":{"properties":{"resourceType":{"type":"string","enum":["persons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The person information","type":"object"},"source":{"description":"The source of the external Id","type":"string","maxLength":100,"example":"urn:sources:sportradar.com"},"sourceType":{"description":"Source type of external Id","type":"string"},"sourceExternalId":{"description":"Identifier of external source","type":"string","maxLength":100,"example":"SR:123"},"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":"person external ids model"},"Venue_External_IdsModel":{"type":"object","additionalProperties":false,"properties":{"venueExternalId":{"description":"The unique identifier of the external ids","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this venue external ids belongs to","type":"object"},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"venue":{"properties":{"resourceType":{"type":"string","enum":["venues"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The venue that this match belongs to","type":"object"},"source":{"description":"The source of the external Id","type":"string","maxLength":100,"example":"urn:sources:sportradar.com"},"sourceType":{"description":"Source type of external Id","type":"string"},"sourceExternalId":{"description":"Identifier of external source","type":"string","maxLength":100,"example":"SR:123"},"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":"venue external ids model"},"Season_External_IdsModel":{"type":"object","additionalProperties":false,"properties":{"seasonExternalId":{"description":"The unique identifier of the external ids","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this season external ids belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"source":{"description":"The source of the external Id","type":"string","maxLength":100,"example":"urn:sources:sportradar.com"},"sourceType":{"description":"Source type of external Id","type":"string"},"sourceExternalId":{"description":"Identifier of external source","type":"string","maxLength":100,"example":"SR:123"},"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":"season external ids model"},"Fixture_External_IdsModel":{"type":"object","additionalProperties":false,"properties":{"fixtureExternalId":{"description":"The unique identifier of the external ids","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this match external ids belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"source":{"description":"The source of the external Id","type":"string","maxLength":100,"example":"urn:sources:sportradar.com"},"sourceType":{"description":"Source type of external Id","type":"string"},"sourceExternalId":{"description":"Identifier of external source","type":"string","maxLength":100,"example":"SR:123"},"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":"match external ids model"},"Competition_External_IdsModel":{"type":"object","additionalProperties":false,"properties":{"competitionExternalId":{"description":"The unique identifier of the external ids","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this competition external ids belongs to","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"},"source":{"description":"The source of the external Id","type":"string","maxLength":100,"example":"urn:sources:sportradar.com"},"sourceType":{"description":"Source type of external Id","type":"string"},"sourceExternalId":{"description":"Identifier of external source","type":"string","maxLength":100,"example":"SR:123"},"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":"competition external ids model"},"Entity_External_IdsModel":{"type":"object","additionalProperties":false,"properties":{"entityExternalId":{"description":"The unique identifier of the external ids","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this team external ids belongs to","type":"object"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entity":{"properties":{"resourceType":{"type":"string","enum":["entities"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The team information","type":"object"},"source":{"description":"The source of the external Id","type":"string","maxLength":100,"example":"urn:sources:sportradar.com"},"sourceType":{"description":"Source type of external Id","type":"string"},"sourceExternalId":{"description":"Identifier of external source","type":"string","maxLength":100,"example":"SR:123"},"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":"team external ids model"},"Entity_Group_External_IdsModel":{"type":"object","additionalProperties":false,"properties":{"entityGroupExternalId":{"description":"The unique identifier of the external ids","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this club external ids belongs to","type":"object"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroup":{"properties":{"resourceType":{"type":"string","enum":["entityGroups"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The club that this team belongs to","type":"object"},"source":{"description":"The source of the external Id","type":"string","maxLength":100,"example":"urn:sources:sportradar.com"},"sourceType":{"description":"Source type of external Id","type":"string"},"sourceExternalId":{"description":"Identifier of external source","type":"string","maxLength":100,"example":"SR:123"},"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":"club external ids model"},"Site_External_IdsModel":{"type":"object","additionalProperties":false,"properties":{"siteExternalId":{"description":"The unique identifier of the external ids","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this site external ids belongs to","type":"object"},"siteId":{"description":"The site that this site external ids belongs to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"site":{"properties":{"resourceType":{"type":"string","enum":["sites"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The site that this site external ids belongs to","type":"object"},"source":{"description":"The source of the external Id","type":"string","maxLength":100,"example":"urn:sources:sportradar.com"},"sourceType":{"description":"Source type of external Id","type":"string"},"sourceExternalId":{"description":"Identifier of external source","type":"string","maxLength":100,"example":"SR:123"},"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":"site external ids model"},"Division_External_IdsModel":{"type":"object","additionalProperties":false,"properties":{"divisionExternalId":{"description":"The unique identifier of the external ids","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this division external ids belongs to","type":"object"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"division":{"properties":{"resourceType":{"type":"string","enum":["divisions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The division information","type":"object"},"source":{"description":"The source of the external Id","type":"string","maxLength":100,"example":"urn:sources:sportradar.com"},"sourceType":{"description":"Source type of external Id","type":"string"},"sourceExternalId":{"description":"Identifier of external source","type":"string","maxLength":100,"example":"SR:123"},"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":"division external ids model"},"Conference_External_IdsModel":{"type":"object","additionalProperties":false,"properties":{"conferenceExternalId":{"description":"The unique identifier of the external ids","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this conference external ids belongs to","type":"object"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conference":{"properties":{"resourceType":{"type":"string","enum":["conferences"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The conference information","type":"object"},"source":{"description":"The source of the external Id","type":"string","maxLength":100,"example":"urn:sources:sportradar.com"},"sourceType":{"description":"Source type of external Id","type":"string"},"sourceExternalId":{"description":"Identifier of external source","type":"string","maxLength":100,"example":"SR:123"},"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":"conference external ids model"},"League_External_IdsModel":{"type":"object","additionalProperties":false,"properties":{"leagueExternalId":{"description":"The unique identifier of the external ids","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this league external ids belongs to","type":"object"},"leagueId":{"description":"The unique identifier of the league","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"league":{"properties":{"resourceType":{"type":"string","enum":["leagues"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The league that this league external ids belongs to","type":"object"},"source":{"description":"The source of the external Id","type":"string","maxLength":100,"example":"urn:sources:sportradar.com"},"sourceType":{"description":"Source type of external Id","type":"string"},"sourceExternalId":{"description":"Identifier of external source","type":"string","maxLength":100,"example":"SR:123"},"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":"league external ids model"},"UniformsModel":{"type":"object","additionalProperties":false,"properties":{"uniformId":{"description":"The unique identifier of the Uniform","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this uniforms belongs to","type":"object"},"baseType":{"description":"The object that this uniform relates to\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY","ENTITYGROUP"],"maxLength":100,"example":"entity"},"baseId":{"description":"The unique identifier of the object associated with this record. If the `baseType` is `ENTITY` then this would be the value of `entityId`.","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"nameLocal":{"description":"The name of the uniforms in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test uniform"},"nameLatin":{"description":"The name of the uniforms in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test uniform"},"dateFrom":{"description":"Date the Uniform is valid from","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"dateTo":{"description":"Date the Uniform is valid until","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"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,"example":"A123"},"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},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImagesModel"}}},"title":"uniforms model"},"Uniform_ItemsModel":{"type":"object","additionalProperties":false,"properties":{"uniformItemId":{"description":"The unique identifier of the Uniform Item","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"uniformId":{"description":"The unique identifier of the uniform","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"uniform":{"properties":{"resourceType":{"type":"string","enum":["uniforms"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The Uniform information","type":"object"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this uniform_items belongs to","type":"object"},"itemType":{"description":"The type of Uniform Item\n>- `BOTTOM` Bottom\n>- `GOALKEEPER_BOTTOM` Goal Keeper Bottom\n>- `GOALKEEPER_TOP` Goal Keeper Top\n>- `HELMET` Helmet\n>- `SOCKS` Socks\n>- `TOP` Top\n>- `WARMUP_BOTTOM` Warmup Bottom\n>- `WARMUP_TOP` Warmup Top\n","type":"string","enum":["TOP","WARMUP_TOP","WARMUP_BOTTOM","BOTTOM","GOALKEEPER_TOP","GOALKEEPER_BOTTOM","HELMET","SOCKS"],"maxLength":100,"example":"TOP"},"nameLocal":{"description":"The name of the uniform_items in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"nameLatin":{"description":"The name of the uniform_items in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test uniform"},"colors":{"type":"object","properties":{"lettering":{"description":"Primary color of the Uniform Item Lettering.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"primary":{"description":"Primary color of the uniform_items.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"secondary":{"description":"Secondary color of the uniform_items.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"tertiary":{"description":"Tertiary color of the uniform_items.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"}}},"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},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImagesModel"}}},"title":"uniform_items model"},"Head_To_Head_EntityModel":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this head_to_head_entity belongs to","type":"object"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixture":{"properties":{"resourceType":{"type":"string","enum":["fixtures"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The match","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competition":{"properties":{"resourceType":{"type":"string","enum":["competitions"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The competition that this season belongs to","type":"object"}},"title":"head_to_head_entity model"},"Standing_ProgressionsModel":{"type":"object","additionalProperties":false,"properties":{"standingProgressionId":{"description":"The unique identifier of the progression","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"organizationId":{"description":"The unique identifier of the organization","type":"string","readOnly":true,"example":"9"},"organization":{"properties":{"resourceType":{"type":"string","enum":["organizations"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"9"}},"description":"The organization that this standing progressions belongs to","type":"object"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"season":{"properties":{"resourceType":{"type":"string","enum":["seasons"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"}},"description":"The season linked to this record","type":"object"},"nameLocal":{"description":"The name of the standing progressions in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Test season"},"nameLatin":{"description":"The name of the standing progressions in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test season"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"stage":{"properties":{"resourceType":{"type":"string","enum":["seasonStages"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"ST1"}},"description":"The stage that is related to this record","type":"object"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"pool":{"properties":{"resourceType":{"type":"string","enum":["seasonPools"]},"id":{"description":"Unique identifier for this resource","type":"string","example":"P1"}},"description":"The pool that is related to this record","type":"object"},"fixtureIds":{"type":"array","items":{"type":"string","format":"uuid"}},"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":"standing progressions model"}},"parameters":{"sport":{"name":"sport","description":"Sport name","schema":{"type":"string","example":"volleyball"},"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,"example":10},"required":false,"in":"query"},"statlimit":{"name":"limit","description":"The maximum number of records to return. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32","maximum":300,"minimum":1,"default":10,"example":10},"required":false,"in":"query"},"pbplimit":{"name":"limit","description":"The maximum number of records to return. See [Pagination](#section/Introduction/Pagination) for more information.","schema":{"type":"integer","format":"int32","maximum":2000,"minimum":1,"default":1000,"example":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","example":10},"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","example":"organizations,fixtures,entities"},"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","example":"entityId,personId"},"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","example":"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]"},"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","example":true},"required":false,"in":"query"},"hideNull":{"name":"hideNull","description":"Don't display data fields with null values or empty structures","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"sortBy":{"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","example":"startTimeUTC,-fixtureNumber"},"required":false,"in":"query"},"search":{"name":"search","description":"A text to search for in specific fields, case-insensitive","schema":{"type":"string","example":"bob"},"required":false,"in":"query"},"isPlayer":{"name":"isPlayer","description":"Is the person a player?","schema":{"type":"boolean"},"required":false,"in":"query"},"isHome":{"name":"isHome","description":"Is competitor the home team ?","schema":{"type":"boolean"},"required":false,"in":"query"},"placingAfter":{"name":"placingAfter","description":"Competitor placing in a fixture","schema":{"type":"integer","format":"int32"},"required":false,"in":"query"},"isTeamOfficial":{"name":"isTeamOfficial","description":"Is the person a team official?","schema":{"type":"boolean"},"required":false,"in":"query"},"starter":{"name":"starter","description":"Is the person a starter in the match ?","schema":{"type":"boolean"},"required":false,"in":"query"},"organizationId":{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":false,"in":"query"},"inOrganizationId":{"name":"inOrganizationId","description":"Organization identifier(s) to filter on (multiple, comma-delimited allowed)","schema":{"type":"string","example":"b1a23,b1b34"},"required":false,"in":"query"},"transferId":{"name":"transferId","description":"The unique identifier of the transfer record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"qualifierId":{"name":"qualifierId","description":"The unique identifier of the leader qualifier","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"leaderCriteriaId":{"name":"leaderCriteriaId","description":"The unique identifier of the leader criteria","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"videoInputId":{"name":"videoInputId","description":"The unique identifier of the video input record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"standingId":{"name":"standingId","description":"The unique identifier of the standing record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"standingConfigurationId":{"name":"standingConfigurationId","description":"The unique identifier of the configuration","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"standingAdjustmentId":{"name":"standingAdjustmentId","description":"The unique identifier of the standing_adjustment","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"fromEntityId":{"name":"fromEntityId","description":"The unique identifier of the 'from' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"fromCompetitionId":{"name":"fromCompetitionId","description":"The unique identifier of the 'from' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"toCompetitionId":{"name":"toCompetitionId","description":"The unique identifier of the 'to' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"toEntityId":{"name":"toEntityId","description":"The unique identifier of the 'to' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"entityIds":{"name":"entityIds","description":"The unique identifiers of the entities (comma-delimited).","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005"},"required":false,"in":"query"},"fromPersonId":{"name":"fromPersonId","description":"The unique identifier of the 'from' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"toPersonId":{"name":"toPersonId","description":"The unique identifier of the 'to' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"entityId1":{"name":"entityId1","description":"The unique identifier of the entitiy","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"entityId2":{"name":"entityId2","description":"The unique identifier of the entitiy","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"awardId":{"name":"awardId","description":"The unique identifier of the award","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"uniformId":{"name":"uniformId","description":"The unique identifier of the uniform","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"uniformItemId":{"name":"uniformItemId","description":"The unique identifier of the uniform item","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"personId":{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"personId1":{"name":"personId1","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"personId2":{"name":"personId2","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"baseIds":{"name":"baseIds","description":"The unique identifiers of the base records (comma-delimited).","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005"},"required":false,"in":"query"},"multipleEntityIds":{"name":"entityId","description":"The unique identifiers of the entity (comma-delimited).","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005"},"required":false,"in":"query"},"multiplePersonIds":{"name":"personId","description":"The unique identifiers of the persons (comma-delimited).","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005"},"required":false,"in":"query"},"personIds":{"name":"personIds","description":"The unique identifiers of the persons (comma-delimited).","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005"},"required":false,"in":"query"},"competitionIds":{"name":"competitionIds","description":"The unique identifiers of the competitions (comma-delimited).","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005"},"required":false,"in":"query"},"placingId":{"name":"placingId","description":"The unique identifier of the season placing","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"leagueId":{"name":"leagueId","description":"The unique identifier of the league","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"competitionId":{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"divisionId":{"name":"divisionId","description":"The unique identifier of the division","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"conferenceId":{"name":"conferenceId","description":"The unique identifier of the conference","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"entityId":{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"entityGroupId":{"name":"entityGroupId","description":"The unique identifier of the entity group","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"seasonId":{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"seasonIds":{"name":"seasonIds","description":"The unique identifiers of the seasons (comma-delimited).","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005"},"required":false,"in":"query"},"defaultVenueId":{"name":"defaultVenueId","description":"The unique identifier of the default venue","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"masterVenueId":{"name":"masterVenueId","description":"The unique identifier of the master venue","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"masterSiteId":{"name":"masterSiteId","description":"The unique identifier of the master site","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"venueId":{"name":"venueId","description":"The unique identifier of the venue","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"affiliateId":{"name":"affiliateId","description":"The unique identifier of the affiliate","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"affiliateLinkageId":{"name":"affiliateLinkageId","description":"The unique identifier of the affiliate linkage","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"affiliateType":{"name":"affiliateType","description":"The type of the affiliate. Can specify multiple, delimited by comma.\n>- `INTERNATIONAL` International\n>- `INTERNATIONAL_REGION` International Region\n>- `NATIONAL` International\n>- `NATIONAL_REGION` International Region\n>- `OTHER` Other\n","schema":{"type":"string","enum":["OTHER","INTERNATIONAL","INTERNATIONAL_REGION","NATIONAL","NATIONAL_REGION"],"maxLength":50,"example":"OTHER"},"required":false,"in":"query"},"siteId":{"name":"siteId","description":"The unique identifier of the site","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"fixtureId":{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"fixtureIds":{"name":"fixtureIds","description":"The unique identifiers of the fixtures (comma-delimited).","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005"},"required":false,"in":"query"},"toFixtureId":{"name":"toFixtureId","description":"The unique identifier of the destination fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"roleId":{"name":"roleId","description":"The unique identifier of the role","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"eventId":{"name":"eventId","description":"The unique identifier of an event in a match","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"period":{"name":"period","description":"The period","schema":{"type":"integer","format":"int32","example":1},"required":false,"in":"query"},"periodType":{"name":"periodType","description":"The type of period\n>- `OVERTIME` Over-time\n>- `REGULAR` Regular\n","schema":{"type":"string","enum":["REGULAR","OVERTIME"],"example":"REGULAR"},"required":false,"in":"query"},"section":{"name":"section","description":"The section of the period (sub-period)","schema":{"type":"string","maxLength":100},"required":false,"in":"query"},"fixtureType":{"name":"fixtureType","description":"Type of Fixture\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","schema":{"type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"required":false,"in":"query"},"winLoss":{"name":"winLoss","description":"What the result was\n>- `DRAW` Draw\n>- `LOSS` Loss\n>- `WIN` Win\n","schema":{"type":"string","enum":["WIN","LOSS","DRAW"],"maxLength":50},"required":false,"in":"query"},"withScores":{"name":"withScores","description":"Include scores in exported events?","schema":{"type":"boolean"},"required":false,"in":"query"},"onlySetup":{"name":"onlySetup","description":"Include only setup events when exporting?","schema":{"type":"boolean"},"required":false,"in":"query"},"homeAway":{"name":"homeAway","description":"Where the result was\n>- `AWAY` Away\n>- `HOME` Home\n","schema":{"type":"string","enum":["HOME","AWAY"],"maxLength":50},"required":false,"in":"query"},"countryCode":{"name":"countryCode","description":"Country code","schema":{"type":"string","minLength":3,"maxLength":3,"example":"USA"},"required":false,"in":"query"},"regionType":{"name":"regionType","description":"The region type\n>- `INTERNATIONAL` Multiple countries\n>- `LOCAL` Local area\n>- `NATIONAL` One country\n>- `STATE` One state\n","schema":{"type":"string","enum":["LOCAL","STATE","NATIONAL","INTERNATIONAL"],"example":"STATE"},"required":false,"in":"query"},"gender":{"name":"gender","description":"The gender of the season or team\n>- `FEMALE` Female\n>- `MALE` Male\n>- `MIXED` Mixed\n>- `UNKNOWN` Unknown\n","schema":{"type":"string","enum":["FEMALE","MALE","MIXED","UNKNOWN"],"example":"MALE"},"required":false,"in":"query"},"persongender":{"name":"gender","description":"The gender of the person\n>- `FEMALE` Female\n>- `MALE` Male\n>- `UNKNOWN` Unknown\n","schema":{"type":"string","enum":["MALE","FEMALE","UNKNOWN"],"example":"MALE"},"required":false,"in":"query"},"personstatus":{"name":"status","description":"Status\n>- `ACTIVE` Active\n>- `DECEASED` Deceased\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n>- `UNREGISTERED` UnRegistered\n","schema":{"type":"string","enum":["ACTIVE","UNREGISTERED","PENDING","DECEASED","INACTIVE"],"example":"ACTIVE"},"required":false,"in":"query"},"representingCountry":{"name":"representingCountry","description":"What country representation is used\n>- `ANY` Any country\n>- `NONE` No country\n","schema":{"type":"string","enum":["NONE","ANY"]},"required":false,"in":"query"},"ageGroup":{"name":"ageGroup","description":"The age group of the season\n>- `JUNIOR` Junior\n>- `MASTERS` Masters\n>- `SENIOR` Senior\n>- `UNDER_15` Under 15\n>- `UNDER_16` Under 16\n>- `UNDER_17` Under 17\n>- `UNDER_18` Under 18\n>- `UNDER_19` Under 19\n>- `UNDER_20` Under 20\n>- `UNDER_21` Under 21\n>- `UNDER_22` Under 22\n>- `UNDER_23` Under 23\n>- `YOUTH` Youth\n","schema":{"type":"string","enum":["JUNIOR","YOUTH","UNDER_15","UNDER_16","UNDER_17","UNDER_18","UNDER_19","UNDER_20","UNDER_21","UNDER_22","UNDER_23","SENIOR","MASTERS"],"example":"SENIOR"},"required":false,"in":"query"},"standard":{"name":"standard","description":"The playing standard of the season or team\n>- `APPROVED_TEST_MATCHES` Approved Test matches\n>- `COMMONWEALTH_GAMES` Commonwealth Games\n>- `CONTINENTAL_CHAMPIONSHIP` Continental Championship\n>- `CONTINENTAL_CHAMPIONSHIP_DIV_2` Continental Championship Div 2\n>- `CONTINENTAL_CHAMPIONSHIP_DIV_3` Continental Championship Div 3\n>- `CONTINENTAL_CHAMPIONSHIP_DIV_4` Continental Championship Div 4\n>- `CONTINENTAL_QUALIFIER` Continental Qualifier\n>- `ELITE` Professional/elite organisation\n>- `FIH_NATIONS_CUP` FIH Nations Cup\n>- `FIH_OLYMPIC_QUALIFIERS` FIH Olympic Qualifiers\n>- `FIH_PRO_LEAGUE` FIH Pro League\n>- `FIH_WORLD_CUP` FIH World Cup\n>- `FIH_WORLD_CUP_QUALIFIERS` FIH World Cup Qualifiers\n>- `FRIENDLY` International Friendly\n>- `GRASS_ROOT` Normal\n>- `HISTORICAL_BASELINE` Historical Baseline\n>- `HOCKEY_SERIES_OPEN` Hockey Series Open\n>- `INTERNATIONAL` International\n>- `INVITATIONAL_TOURNAMENT` Invitational Tournament (3+ teams)\n>- `NONCONTINENTAL_CHAMPIONSHIP` Non-continental Championship\n>- `OLYMPIC` Olympics\n>- `OLYMPICS` Olympic Games\n>- `REGION` Regional\n>- `TIER2` lesser standard than elite\n>- `TIER3` lesser standard than tier 2\n>- `WORLD_CHAMPIONSHIP` World Championship\n>- `WORLD_LEAGUE` World League\n>- `ZONE_CHAMPIONSHIP` International Zone Championship\n","schema":{"type":"string","enum":["ELITE","FRIENDLY","GRASS_ROOT","INTERNATIONAL","NONCONTINENTAL_CHAMPIONSHIP","OLYMPIC","REGION","TIER2","TIER3","WORLD_CHAMPIONSHIP","ZONE_CHAMPIONSHIP","OLYMPICS","FIH_WORLD_CUP","FIH_OLYMPIC_QUALIFIERS","FIH_WORLD_CUP_QUALIFIERS","CONTINENTAL_CHAMPIONSHIP","FIH_PRO_LEAGUE","COMMONWEALTH_GAMES","FIH_NATIONS_CUP","CONTINENTAL_QUALIFIER","CONTINENTAL_CHAMPIONSHIP_DIV_2","CONTINENTAL_CHAMPIONSHIP_DIV_3","INVITATIONAL_TOURNAMENT","CONTINENTAL_CHAMPIONSHIP_DIV_4","APPROVED_TEST_MATCHES","WORLD_LEAGUE","HOCKEY_SERIES_OPEN","HISTORICAL_BASELINE"],"example":"ELITE"},"required":false,"in":"query"},"entityStandard":{"name":"standard","description":"The playing standard of the team\n>- `ELITE` Professional/elite organisation\n>- `FRIENDLY` International Friendly\n>- `GRASS_ROOT` Normal\n>- `HOCKEY_SERIES_OPEN` Hockey Series Open\n>- `INTERNATIONAL` International\n>- `NONCONTINENTAL_CHAMPIONSHIP` Non-continental Championship\n>- `OLYMPIC` Olympics\n>- `REGION` Regional\n>- `TIER2` lesser standard than elite\n>- `TIER3` lesser standard than tier 2\n>- `WORLD_CHAMPIONSHIP` World Championship\n>- `WORLD_LEAGUE` World League\n>- `ZONE_CHAMPIONSHIP` International Zone Championship\n","schema":{"type":"string","enum":["ELITE","FRIENDLY","GRASS_ROOT","INTERNATIONAL","NONCONTINENTAL_CHAMPIONSHIP","OLYMPIC","REGION","TIER2","TIER3","WORLD_CHAMPIONSHIP","ZONE_CHAMPIONSHIP","WORLD_LEAGUE","HOCKEY_SERIES_OPEN"],"maxLength":50,"example":"ELITE"},"required":false,"in":"query"},"representation":{"name":"representation","description":"What level are the competitors representing\n>- `CLUB` Club\n>- `COUNTRY` Country\n>- `PERSON` Person\n","schema":{"type":"string","enum":["CLUB","COUNTRY","PERSON"],"example":"CLUB"},"required":false,"in":"query"},"seasonType":{"name":"seasonType","description":"The type of matches added to this season\n>- `MULTI_YEAR_HISTORICAL` Mulit-Year Historical\n>- `ONE_OFF` One off match\n>- `PRESEASON` Pre Season\n>- `SEASON` Season\n>- `TOURNAMENT` Tournament\n","schema":{"type":"string","enum":["SEASON","TOURNAMENT","ONE_OFF","PRESEASON","MULTI_YEAR_HISTORICAL"],"example":"SEASON"},"required":false,"in":"query"},"seasonStatus":{"name":"seasonStatus","description":"Status\n>- `ACTIVE` Active\n>- `COMPLETE` Complete\n>- `DRAFT` Draft\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","schema":{"type":"string","enum":["ACTIVE","COMPLETE","DRAFT","INACTIVE","PENDING"],"example":"ACTIVE"},"required":false,"in":"query"},"compSeasonUpdated":{"name":"compSeasonUpdated","description":"Record was modified after this date/time. In UTC.","schema":{"type":"string","format":"date-time","example":"2018-08-16T02:11:48"},"required":false,"in":"query"},"seasonUpdated":{"name":"seasonUpdated","description":"Record was modified after this date/time. In UTC.","schema":{"type":"string","format":"date-time","example":"2018-08-16T02:11:48"},"required":false,"in":"query"},"status":{"name":"status","description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","schema":{"type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"example":"ACTIVE"},"required":false,"in":"query"},"fixtureStatus":{"name":"status","description":"Fixture status. Can specify multiple, delimited by comma.\n>- `ABANDONED` Abandoned\n>- `ABOUT_TO_START` About to Start\n>- `BYE` Bye\n>- `CANCELLED` Cancelled\n>- `CONFIRMED` Confirmed\n>- `DRAFT` Draft\n>- `FINISHED` Finished\n>- `IF_NEEDED` If Needed\n>- `IN_PROGRESS` In Progress\n>- `ON_PITCH` On Pitch\n>- `PENDING` Pending\n>- `POSTPONED` Postponed\n>- `SCHEDULED` Scheduled\n>- `WARM_UP` Warm Up\n","schema":{"type":"string","enum":["SCHEDULED","BYE","PENDING","IN_PROGRESS","FINISHED","CONFIRMED","POSTPONED","CANCELLED","ABANDONED","IF_NEEDED","WARM_UP","DRAFT","ON_PITCH","ABOUT_TO_START"],"maxLength":200,"example":"SCHEDULED"},"required":false,"in":"query"},"fixtureStatusNot":{"name":"statusNot","description":"Fixture status to not include. Can specify multiple, delimited by comma.\n>- `ABANDONED` Abandoned\n>- `ABOUT_TO_START` About to Start\n>- `BYE` Bye\n>- `CANCELLED` Cancelled\n>- `CONFIRMED` Confirmed\n>- `DRAFT` Draft\n>- `FINISHED` Finished\n>- `IF_NEEDED` If Needed\n>- `IN_PROGRESS` In Progress\n>- `ON_PITCH` On Pitch\n>- `PENDING` Pending\n>- `POSTPONED` Postponed\n>- `SCHEDULED` Scheduled\n>- `WARM_UP` Warm Up\n","schema":{"type":"string","enum":["SCHEDULED","BYE","PENDING","IN_PROGRESS","FINISHED","CONFIRMED","POSTPONED","CANCELLED","ABANDONED","IF_NEEDED","WARM_UP","DRAFT","ON_PITCH","ABOUT_TO_START"],"maxLength":200,"example":"SCHEDULED"},"required":false,"in":"query"},"updated":{"name":"updated","description":"Record was modified after this date/time. In UTC.","schema":{"type":"string","format":"date-time","example":"2018-08-16T02:11:48"},"required":false,"in":"query"},"added":{"name":"added","description":"Record was added after this date/time. In UTC.","schema":{"type":"string","format":"date-time","example":"2018-08-16T02:10:48"},"required":false,"in":"query"},"startDate":{"name":"startDate","description":"startDate on or after this date","schema":{"type":"string","format":"date","example":"2018-08-16"},"required":false,"in":"query"},"endDate":{"name":"endDate","description":"endDate on or before this date","schema":{"type":"string","format":"date","example":"2018-08-16"},"required":false,"in":"query"},"nationality":{"name":"nationality","description":"A 3 letter nationality code","schema":{"type":"string","minLength":3,"maxLength":3,"example":"AUS"},"required":false,"in":"query"},"locked":{"name":"locked","description":"Is the match locked (to prevent editing)?","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"featureMatch":{"name":"featureMatch","description":"Is this match a featured match?","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"timesUnconfirmed":{"name":"timesUnconfirmed","description":"Is the match time yet to be confirmed ?","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"liveDataAvailable":{"name":"liveDataAvailable","description":"Is live data available?","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"liveVideoAvailable":{"name":"liveVideoAvailable","description":"Is live video available ?","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"competitorType":{"name":"competitorType","description":"The type of competitors in this fixture\n>- `ENTITY` Entity\n>- `PERSON` Person\n","schema":{"type":"string","enum":["PERSON","ENTITY"],"example":"PERSON"},"required":false,"in":"query"},"poolCode":{"name":"poolCode","description":"The pool identifier within a season","schema":{"type":"string","maxLength":30,"example":"P1"},"required":false,"in":"query"},"stageCode":{"name":"stageCode","description":"The stage identifier within a season","schema":{"type":"string","maxLength":30,"example":"ST1"},"required":false,"in":"query"},"seriesCode":{"name":"seriesCode","description":"The series identifier within a season","schema":{"type":"string","maxLength":30,"example":"WC1"},"required":false,"in":"query"},"seriesType":{"name":"seriesType","description":"The type of series. Multiple allowed (comma-delimited).\n>- `BEST_OF` Best of\n>- `HOME_AND_AWAY` Home and Away\n>- `KNOCKOUT` Knockout\n","schema":{"type":"string","enum":["BEST_OF","HOME_AND_AWAY","KNOCKOUT"],"maxLength":50,"example":"BEST_OF"},"required":false,"in":"query"},"roundCode":{"name":"roundCode","description":"The round identifier within a season","schema":{"type":"string","maxLength":30,"example":"RN1"},"required":false,"in":"query"},"roundNumber":{"name":"roundNumber","description":"Round number","schema":{"type":"string","maxLength":30,"example":1},"required":false,"in":"query"},"seriesFixtureNumber":{"name":"seriesFixtureNumber","description":"The number of the match in a series of matches","schema":{"type":"integer","format":"int32","example":1},"required":false,"in":"query"},"fromTimeLocal":{"name":"fromTimeLocal","description":"Where match start time (in local time) >= this value","schema":{"type":"string","format":"date-time","example":"2018-08-16T18:00:00"},"required":false,"in":"query"},"toTimeLocal":{"name":"toTimeLocal","description":"Where match start time (in local time) <= this value","schema":{"type":"string","format":"date-time","example":"2018-08-16T18:00:00"},"required":false,"in":"query"},"fromTimeUTC":{"name":"fromTimeUTC","description":"Where match start time (in UTC) >= this value","schema":{"type":"string","format":"date-time","example":"2018-08-16T18:00:00"},"required":false,"in":"query"},"toTimeUTC":{"name":"toTimeUTC","description":"Where match start time (in UTC) <= this value","schema":{"type":"string","format":"date-time","example":"2018-08-16T18:00:00"},"required":false,"in":"query"},"fromTimestamp":{"name":"fromTimestamp","description":"Where the date/time (UTC) this play-by-play event was sent >= this value","schema":{"type":"string","format":"date-time","example":"2018-08-16T18:00:00"},"required":false,"in":"query"},"toTimestamp":{"name":"toTimestamp","description":"Where the date/time (UTC) this play-by-play event was sent <= this value","schema":{"type":"string","format":"date-time","example":"2018-08-16T18:00:00"},"required":false,"in":"query"},"dateFromStart":{"name":"dateFromStart","description":"Where dateFrom >= this value","schema":{"type":"string","format":"date","example":"2018-08-16"},"required":false,"in":"query"},"dateFromEnd":{"name":"dateFromEnd","description":"Where dateFrom <= this value","schema":{"type":"string","format":"date","example":"2018-08-16"},"required":false,"in":"query"},"dateToStart":{"name":"dateToStart","description":"Where dateTo >= this value","schema":{"type":"string","format":"date","example":"2018-08-16"},"required":false,"in":"query"},"dateSuspendedFromStart":{"name":"dateSuspendedFromStart","description":"Where dateSuspendedFrom >= this value","schema":{"type":"string","format":"date","example":"2018-08-16"},"required":false,"in":"query"},"dateSuspendedFromEnd":{"name":"dateSuspendedFromEnd","description":"Where dateSuspendedFrom <= this value","schema":{"type":"string","format":"date","example":"2018-08-16"},"required":false,"in":"query"},"dateSuspendedToStart":{"name":"dateSuspendedToStart","description":"Where dateSuspendedTo >= this value","schema":{"type":"string","format":"date","example":"2018-08-16"},"required":false,"in":"query"},"dateSuspendedToEnd":{"name":"dateSuspendedToEnd","description":"Where dateSuspendedTo <= this value","schema":{"type":"string","format":"date","example":"2018-08-16"},"required":false,"in":"query"},"dateToEnd":{"name":"dateToEnd","description":"Where dateTo <= this value","schema":{"type":"string","format":"date","example":"2018-08-16"},"required":false,"in":"query"},"role":{"name":"role","description":"Role. Can specify multiple values delimited by comma.\n>- `ADMINISTRATOR_TOURNAMENT` Tournament Administrator\n>- `APPEAL_JURY` Appeal Jury\n>- `APPEAL_JURY_PRESIDENT` Appeal Jury President\n>- `ASSISTANT_REFEREE_1` Assistant Referee 1\n>- `ASSISTANT_REFEREE_2` Assistant Referee 2\n>- `CAPTAIN` Captain\n>- `CAPTAIN_VICE` Vice Captain\n>- `CEO` CEO\n>- `CLUB_IT_OFFICER` Club IT Officer\n>- `CLUB_OFFICIAL` Club Official\n>- `CLUB_OFFICIAL_ASSISTANT` Substitute for contact person of club\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_GK` Goalkeeper Coach\n>- `COACH_HEAD` Head Coach\n>- `COACH_HEAD_INTERIM` Interim Head Coach\n>- `COACH_OTHER` Other coaching staff\n>- `COACH_SC` Strength 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>- `DELEGATE` Delegate\n>- `DIRECTOR` Director\n>- `DOCTOR` Doctor\n>- `GENERAL` General\n>- `GROUNDSKEEPER` Groundskeeper\n>- `JUDGE` Judge\n>- `JUDGE_SCORING` Scoring Judge (SJ)\n>- `JUDGE_TIMING` Timing Judge (TJ)\n>- `LIAISON_OFFICER` Liaison Officer\n>- `MANAGER` Manager\n>- `MATCH_LIAISON` Match Liaison\n>- `MATCH_MANAGER` Match Manager\n>- `MATCH_OFFICIAL` Match Official\n>- `MATCH_SUPERVISOR` Match Supervisor\n>- `MEDIA_OFFICER` Media Officer\n>- `MEDICAL_OFFICER` Medical Officer\n>- `MEDICAL_OFFICER_CF` Medical Officer (Continental Federation)\n>- `MEDICAL_OFFICER_FIH` Medical Officer (FIH)\n>- `MEDICAL_STAFF` Medical Staff\n>- `NATIONAL_TOURNAMENT_OFFICIAL` National Tournament Official\n>- `OFFICE_STAFF` Office Staff\n>- `OFFICIAL_A` Official A\n>- `OFFICIAL_B` Official B\n>- `OFFICIAL_C` Official C\n>- `OFFICIAL_D` Official D\n>- `OFFICIAL_E` Official E\n>- `OTHER` Other\n>- `PHYSICAL_TRAINER` Physical Trainer\n>- `PHYSIOTHERAPIST` Physiotherapist\n>- `PLAYER_CONTRACT_MANAGER` Player Contract Manager\n>- `PRESIDENT` President\n>- `PRESIDENT_VICE` Vice President\n>- `PSYCHOLOGIST` Psychologist\n>- `REFEREE` Referee\n>- `REFEREE_ASSISTANT` Referee Assistant\n>- `REFEREE_ASSISTANT_RESERVE` Reserve Assistant Referee\n>- `REFEREE_LIAISON` Referee Liaison\n>- `REFEREE_OBSERVER` Referee Observer\n>- `REFEREE_OBSERVER_LIAISON` Referee Observer Liaison\n>- `REFEREE_RESERVE` Reserve Referee\n>- `REPRESENTATIVE_ASSOCIATION` Association Representative\n>- `REPRESENTATIVE_ASSOCIATION_CONTINENTAL` Continental Association Representative\n>- `REPRESENTATIVE_ASSOCIATION_GOVERNING_BODY` Governing Body Association Representative\n>- `REPRESENTATIVE_ASSOCIATION_INTERCONTINENTAL` Intercontinental Association Representative\n>- `REPRESENTATIVE_ASSOCIATION_INTERNATIONAL` International Association Representative\n>- `REPRESENTATIVE_ASSOCIATION_NATIONAL` National Association Representative\n>- `REPRESENTATIVE_ASSOCIATION_REGIONAL` Regional Association Representative\n>- `REPRESENTATIVE_CONTINENTAL_FEDERATION` Continental Federation Representative\n>- `REPRESENTATIVE_FEDERATION` Federation Representative\n>- `REPRESENTATIVE_GOVERNING_BODY` Governing Body Representative\n>- `REPRESENTATIVE_INTERCONTINENTAL_FEDERATION` Intercontinental Federation Representative\n>- `REPRESENTATIVE_INTERNATIONAL_FEDERATION` International Federation Representative\n>- `REPRESENTATIVE_NATIONAL_FEDERATION` National Federation Representative\n>- `REPRESENTATIVE_REGIONAL_FEDERATION` Regional Federation Representative\n>- `SCOREKEEPER` Scorekeeper\n>- `SCOREKEEPER_ASSISTANT` Assistant Scorekeeper\n>- `SCORER` Scorer\n>- `SCORER_ASSISTANT` Assistant Scorer\n>- `SCOUT_1` Scout 1\n>- `SCOUT_2` Scout 2\n>- `SCOUT_3` Scout 3\n>- `SCOUT_SUPERVISOR` Scout Supervisor\n>- `SECRETARY` Secretary\n>- `SHOT_CLOCK_OPERATOR` Shot Clock Operator\n>- `SPORT_DIRECTOR` Sporting Director\n>- `STAND_IN_MANAGER` Stand-In Manager\n>- `STATISTICIAN` Statistician\n>- `TEAM_COORDINATOR` Team Coordinator\n>- `TEAM_LEADER` Team Leader\n>- `TEAM_MANAGER` Team Manager\n>- `TEAM_MEDIA_OFFICER` Team Media Officer\n>- `TECHNICAL_DELEGATE` Technical Delegate\n>- `TECHNICAL_DELEGATE_ASSISTANT` Assistant Technical Delegate\n>- `TECHNICAL_OFFICER` Technical Officer\n>- `TECHNICAL_OFFICIAL` Technical Official (TO)\n>- `TIMEKEEPER` Timekeeper\n>- `TIMER` Timer\n>- `TRAINER` Trainer\n>- `TRAINER_ASSISTANT` Assistant Trainer\n>- `TRANSLATOR` Translator\n>- `TREASURER` Treasurer\n>- `UMPIRE` Umpire\n>- `UMPIRE_1` Umpire 1\n>- `UMPIRE_2` Umpire 2\n>- `UMPIRE_ASSISTANT_MANAGER` Assistant Umpire Manager\n>- `UMPIRE_MANAGER` Umpire Manager\n>- `UMPIRE_NATIONAL` National Umpire\n>- `UMPIRE_NEUTRAL` Neutral Umpire\n>- `UMPIRE_RESERVE` Reserve Umpire (RU)\n>- `UMPIRE_VIDEO` Video Umpire (VU)\n>- `VIDEO_ANALYST` Video Analyst\n>- `VIDEO_TECHNICIAN` Video Technician (VT)\n>- `YOUTH_COORDINATOR` Youth Coordinator\n","schema":{"type":"string","enum":["ADMINISTRATOR_TOURNAMENT","APPEAL_JURY","APPEAL_JURY_PRESIDENT","ASSISTANT_REFEREE_1","ASSISTANT_REFEREE_2","COACH","COACH_HEAD","COACH_HEAD_INTERIM","COACH_ASSISTANT","COACH_ASSISTANT_HEAD","COACH_ASSOCIATE_HEAD","COACH_SC","COACH_SENIOR","COACH_DEVELOPMENT","COACH_SPECIALIST","COACH_GK","COACH_OTHER","CAPTAIN","CAPTAIN_VICE","DELEGATE","DOCTOR","PHYSIOTHERAPIST","MEDICAL_STAFF","TRAINER","TRAINER_ASSISTANT","MATCH_OFFICIAL","MATCH_SUPERVISOR","SCOUT_SUPERVISOR","COMMISSIONER","STATISTICIAN","SCOREKEEPER","SCOREKEEPER_ASSISTANT","TIMEKEEPER","SCORER","SCORER_ASSISTANT","SCOUT_1","SCOUT_2","SCOUT_3","SHOT_CLOCK_OPERATOR","TIMER","GROUNDSKEEPER","CEO","COMMITTEE","PRESIDENT","DIRECTOR","PRESIDENT_VICE","SECRETARY","TREASURER","MANAGER","GENERAL","OTHER","REFEREE","UMPIRE","UMPIRE_1","UMPIRE_2","UMPIRE_MANAGER","UMPIRE_ASSISTANT_MANAGER","UMPIRE_NATIONAL","UMPIRE_NEUTRAL","UMPIRE_RESERVE","UMPIRE_VIDEO","REFEREE_ASSISTANT","REFEREE_RESERVE","REFEREE_ASSISTANT_RESERVE","REFEREE_OBSERVER","CREW_CHIEF","JUDGE","JUDGE_SCORING","JUDGE_TIMING","TECHNICAL_DELEGATE","TECHNICAL_DELEGATE_ASSISTANT","TECHNICAL_OFFICIAL","MATCH_MANAGER","MEDICAL_OFFICER","MEDICAL_OFFICER_CF","MEDICAL_OFFICER_FIH","MEDIA_OFFICER","NATIONAL_TOURNAMENT_OFFICIAL","PHYSICAL_TRAINER","PSYCHOLOGIST","REPRESENTATIVE_ASSOCIATION","REPRESENTATIVE_ASSOCIATION_CONTINENTAL","REPRESENTATIVE_ASSOCIATION_GOVERNING_BODY","REPRESENTATIVE_ASSOCIATION_INTERCONTINENTAL","REPRESENTATIVE_ASSOCIATION_INTERNATIONAL","REPRESENTATIVE_ASSOCIATION_NATIONAL","REPRESENTATIVE_ASSOCIATION_REGIONAL","REPRESENTATIVE_CONTINENTAL_FEDERATION","REPRESENTATIVE_FEDERATION","REPRESENTATIVE_GOVERNING_BODY","REPRESENTATIVE_INTERCONTINENTAL_FEDERATION","REPRESENTATIVE_INTERNATIONAL_FEDERATION","REPRESENTATIVE_NATIONAL_FEDERATION","REPRESENTATIVE_REGIONAL_FEDERATION","STAND_IN_MANAGER","TEAM_LEADER","TEAM_MANAGER","TEAM_MEDIA_OFFICER","TECHNICAL_OFFICER","VIDEO_TECHNICIAN","VIDEO_ANALYST","TRANSLATOR","CLUB_OFFICIAL","SPORT_DIRECTOR","CLUB_OFFICIAL_ASSISTANT","LIAISON_OFFICER","YOUTH_COORDINATOR","MATCH_LIAISON","OFFICE_STAFF","PLAYER_CONTRACT_MANAGER","CLUB_IT_OFFICER","REFEREE_LIAISON","REFEREE_OBSERVER_LIAISON","TEAM_COORDINATOR","OFFICIAL_A","OFFICIAL_B","OFFICIAL_C","OFFICIAL_D","OFFICIAL_E"],"example":"COACH"},"required":false,"in":"query"},"generated":{"name":"generated","description":"Time record generated","schema":{"type":"string","format":"date-time","example":"2018-08-16T02:10:48"},"required":false,"in":"query"},"live":{"name":"live","description":"Live competitor standings?","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"inProgress":{"name":"inProgress","description":"Is the competitor in a current match?","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"latest":{"name":"latest","description":"Is this the latest standing record ?","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"class":{"name":"class","description":"The class of the event\n>- `BIOMETRIC` Biometric information\n>- `LOCATION` Positional data relating to an element in match\n>- `SPORT` A sporting action that relates to the running of the match\n>- `TIMING` Timing information\n","schema":{"type":"string","enum":["SPORT","LOCATION","BIOMETRIC","TIMING"],"maxLength":100,"example":"SPORT"},"required":false,"in":"query"},"eventType":{"name":"eventType","description":"See [Event Types](http://developer.connect.sportradar.com/datacore/streaming.html#section/Message-Types/event) for more information","schema":{"type":"string","maxLength":100},"required":false,"in":"query"},"periodId":{"name":"periodId","description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","schema":{"type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"required":false,"in":"query"},"flagged":{"name":"flagged","description":"Filter by events that are flagged for review","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"success":{"name":"success","description":"Was the event completed successfully?","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"zone":{"name":"zone","description":"See [Event Types]() for more information","schema":{"type":"string","maxLength":50},"required":false,"in":"query"},"subscriptionId":{"name":"subscriptionId","description":"The unique identifier of the video stream subscription","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"streamId":{"name":"streamId","description":"The unique identifier of the video subscription","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"videoId":{"name":"videoId","description":"The unique identifier of the video file","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"locale":{"name":"locale","description":"The locale of the video","schema":{"type":"string","minLength":5,"maxLength":5,"example":"fr_FR"},"required":false,"in":"query"},"provider":{"name":"provider","description":"The unique code for the video provider","schema":{"type":"string","maxLength":100,"example":"Test Provider"},"required":false,"in":"query"},"sourceNumber":{"name":"sourceNumber","description":"Unique identifier for the video source","schema":{"type":"integer","format":"int32","example":1},"required":false,"in":"query"},"notSubscribed":{"name":"notSubscribed","description":"Only show where the user is not already subscribed to the stream","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"uniformBaseType":{"name":"baseType","description":"Base Type\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `PERSON` Person\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP"],"maxLength":100,"example":"PERSON"},"required":false,"in":"query"},"baseType":{"name":"baseType","description":"Media Base Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"PERSON"},"required":false,"in":"query"},"baseId":{"name":"baseId","description":"The unique identifier of the object associated with this record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"secondaryType":{"name":"secondaryType","description":"Media Secondary Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `SEASON` Season\n","schema":{"type":"string","enum":["ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE"],"maxLength":100,"example":"ENTITY"},"required":false,"in":"query"},"imageId":{"name":"imageId","description":"The unique identifier of the image record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"awsImageId":{"name":"awsImageId","description":"The id of aws image","schema":{"type":"integer","format":"int32","example":4026},"required":false,"in":"query"},"secondaryId":{"name":"secondaryId","description":"The unique identifier of the secondary object associated with this image record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"imageType":{"name":"imageType","description":"Upload Type\n>- `LOGO` Logo\n>- `LOGO_ALTERNATE` Logo - Alternate\n>- `LOGO_BACKGROUND` Logo Background\n>- `PERSON_HEAD` Head photo\n>- `PERSON_POSE` Posing photo\n>- `PERSON_WAIST` Waist and Head photo\n>- `TEAM_PHOTO` Team Photo\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON_HEAD","PERSON_WAIST","PERSON_POSE","LOGO","LOGO_ALTERNATE","LOGO_BACKGROUND","TEAM_PHOTO","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"LOGO"},"required":false,"in":"query"},"rating":{"name":"rating","description":"Media Rating\n>- `HIGH` High\n>- `LOW` Low\n>- `MEDIUM` Medium\n>- `UNKNOWN` Uknown\n","schema":{"type":"string","enum":["UNKNOWN","LOW","MEDIUM","HIGH"],"maxLength":100,"example":"UNKNOWN"},"required":false,"in":"query"},"participated":{"name":"participated","description":"Only show persons who participated.","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"participationStatus":{"name":"status","description":"Participation status\n>- `ACTIVE` Active\n>- `INJURED` Injured\n>- `OTHER_NOT_PARTICIPATING` Other Non-Participation\n>- `OUT` Out\n>- `SUSPENSED` Suspended\n","schema":{"type":"string","enum":["ACTIVE","INJURED","OUT","SUSPENSED","OTHER_NOT_PARTICIPATING"],"maxLength":100,"example":"ACTIVE"},"required":false,"in":"query"},"award":{"name":"award","description":"Award\n>- `6th_MAN` Sixth Man\n>- `ALL_TEAM` All first team\n>- `COACH` Coach Award\n>- `DEFENSIVE` Defensive Player\n>- `DEFENSIVE_TEAM` Defensive team\n>- `HALL` Hall of Fame\n>- `HONOUR` Honoured\n>- `MIP` Most Improved Player\n>- `MVP` Most Valuable Player\n>- `OTHER` Other\n>- `ROOKIE` Rookie\n","schema":{"type":"string","enum":["MVP","MIP","ROOKIE","COACH","ALL_TEAM","DEFENSIVE_TEAM","DEFENSIVE","6th_MAN","OTHER","HONOUR","HALL"],"maxLength":100,"example":"MVP"},"required":false,"in":"query"},"transferType":{"name":"transferType","description":"Type of transfer\n>- `DROPPED` Dropped\n>- `OTHER` Other\n>- `PERMIT` Permit\n>- `TRADE` Trade\n>- `TRANSFER` Transfer\n","schema":{"type":"string","enum":["TRADE","TRANSFER","DROPPED","PERMIT","OTHER"],"maxLength":100,"example":"TRANSFER"},"required":false,"in":"query"},"feedType":{"name":"feedType","description":"Type of video input\n>- `ADDITIONAL_ANGLE` Additional angle\n>- `LOW_LATENCY` Low Latency\n>- `PRIMARY` Primary\n","schema":{"type":"string","enum":["PRIMARY","ADDITIONAL_ANGLE","LOW_LATENCY"],"maxLength":30,"example":"PRIMARY"},"required":false,"in":"query"},"content":{"name":"content","description":"Content of the stream\n>- `CLEAN` Output signal is the same as the input signal\n>- `PROGRAM` Score overlays and other enhancements have been added to the stream\n","schema":{"type":"string","enum":["CLEAN","PROGRAM"],"maxLength":30,"example":"CLEAN"},"required":false,"in":"query"},"edited":{"name":"edited","description":"If this event has been edited since being originally sent, then this is the last time (UTC) it was updated. If the event hasn't been edited, then this field shouldn't be sent.","schema":{"type":"string","format":"date-time","example":"2016-09-08T02:02:00Z"},"required":false,"in":"query"},"primaryId":{"name":"primaryId","description":"The unique identifier of the primaryType","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"primaryType":{"name":"primaryType","description":"The primary table changed","schema":{"type":"string","maxLength":30,"example":"fixtures"},"required":false,"in":"query"},"changeType":{"name":"changeType","description":"The type of change. Multiple allowed (comma-delimited).\n>- `delete` Record Deleted\n>- `fixture_change` Fixture schedule Change\n>- `fixture_reset` Fixture Reset\n>- `fixture_videostream_disable` Enable Video Stream\n>- `fixture_videostream_enable` Enable Video Stream\n>- `move` Record Moved\n>- `post` Record Created\n>- `put` Record Changed\n>- `update` Record Updated\n","schema":{"type":"string","enum":["post","put","move","delete","update","fixture_change","fixture_reset","fixture_videostream_enable","fixture_videostream_disable"],"example":"delete"},"required":false,"in":"query"},"childType":{"name":"childType","description":"The child table changed","schema":{"type":"string","maxLength":30,"example":"fixture_roster"},"required":false,"in":"query"},"platformProvider":{"name":"platformProvider","description":"Video Provider platform\n>- `5STREAM` 5Stream\n>- `AV_SPORTRADAR` AV Sportradar\n","schema":{"type":"string","enum":["5STREAM","AV_SPORTRADAR"],"maxLength":30,"example":"5STREAM"},"required":false,"in":"query"},"providerEventId":{"name":"providerEventId","description":"Providers EventId","schema":{"type":"string","maxLength":30,"example":"123"},"required":false,"in":"query"},"providerStatus":{"name":"providerStatus","description":"Provider Status","schema":{"type":"string","maxLength":30,"example":"setup"},"required":false,"in":"query"},"automationType":{"name":"automationType","description":"Automation type\n>- `AUTOMATIC` Automatic Event\n>- `MANUAL` Manual Event\n>- `TIMED` Timed Event\n","schema":{"type":"string","enum":["TIMED","MANUAL","AUTOMATIC"],"maxLength":10,"example":"TIMED"},"required":false,"in":"query"},"onlyUpcoming":{"name":"onlyUpcoming","description":"Do not show data for completed matches and those older than 12 hours","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"run_section":{"name":"run_section","description":"fvp Run Section\n>- `check_start` Check Start\n>- `setup` Setup\n>- `stop` Stop\n","schema":{"type":"string","enum":["setup","check_start","stop"],"maxLength":15,"example":"setup"},"required":false,"in":"query"},"minutes":{"name":"minutes","description":"Minutes","schema":{"type":"integer","format":"int32"},"required":false,"in":"query"},"organizationGroupCode":{"name":"organizationGroupCode","description":"The unique identifier of the organization group","schema":{"type":"string","minLength":3,"maxLength":150,"example":"aubb"},"required":false,"in":"query"},"organizationGroupMemberId":{"name":"organizationGroupMemberId","description":"The unique identifier of the organization group member record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"origin":{"name":"origin","description":"The origin of the video file\n>- `STREAM` Streamed\n>- `UPLOAD` Uploaded\n>- `VENUE` Recorded in venue\n","schema":{"type":"string","enum":["STREAM","VENUE","UPLOAD"],"maxLength":30,"example":"STREAM"},"required":false,"in":"query"},"video_file_format":{"name":"format","description":"The format of the video file\n>- `HLS` A HLS play list\n>- `MP4` One MP4 file\n","schema":{"type":"string","enum":["HLS","MP4"],"maxLength":30,"example":"HLS"},"required":false,"in":"query"},"video_file_status":{"name":"status","description":"What is the status of the file?\n>- `AVAILABLE` Available for access\n>- `BUILDABLE` Not currently available - but can be built on request\n>- `PENDING` Being added - some parts may be available\n","schema":{"type":"string","enum":["AVAILABLE","BUILDABLE","PENDING"],"maxLength":30,"example":"AVAILABLE"},"required":false,"in":"query"},"partner":{"name":"partner","description":"Partner for partner integrations","schema":{"type":"string"},"required":false,"in":"query"},"subpath":{"name":"subpath","description":"Subpath for partner integrations","schema":{"type":"string"},"required":false,"in":"query"},"urlId":{"name":"urlId","description":"The unique identifier of the local stream video","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"url":{"name":"url","description":"The URL of the video","schema":{"type":"string"},"required":false,"in":"query"},"storageProvider":{"name":"storageProvider","description":"Where the video file is stored?\n>- `5STREAM` 5stream\n>- `AV_SPORTRADAR` AV Sportradar\n>- `KEEMOTION` Keemotion\n>- `SYNERGY` Synergy\n","schema":{"type":"string","enum":["5STREAM","AV_SPORTRADAR","KEEMOTION","SYNERGY"],"maxLength":30,"example":"KEEMOTION"},"required":false,"in":"query"},"groupingBase":{"name":"groupingBase","description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","schema":{"type":"string","enum":["OVERALL","ROUND"],"maxLength":50,"example":"OVERALL"},"required":false,"in":"query"},"groupingConferenceDivision":{"name":"groupingConferenceDivision","description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","schema":{"type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50,"example":"OVERALL"},"required":false,"in":"query"},"groupingStagePool":{"name":"groupingStagePool","description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","schema":{"type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"maxLength":50,"example":"OVERALL"},"required":false,"in":"query"},"SEASONeventType":{"name":"eventType","description":"Type of Fixtures\n>- `FIXTURE` Fixture\n>- `PRACTICE` Practice\n","schema":{"type":"string","enum":["FIXTURE","PRACTICE"],"maxLength":30,"example":"FIXTURE"},"required":false,"in":"query"},"statistic":{"name":"statistic","description":"The name of the statistic","schema":{"type":"string","maxLength":50,"example":"points"},"required":false,"in":"query"},"statistics":{"name":"statistics","description":"The name of the statistic. Can specify multiple, delimited by comma.","schema":{"type":"string","example":"points,minutes"},"required":false,"in":"query"},"statisticField":{"name":"statisticField","description":"The name of the statistic","schema":{"type":"string","maxLength":50,"example":"points"},"required":false,"in":"query"},"name":{"name":"name","description":"Generic object name","schema":{"type":"string","maxLength":50},"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"},"profileId":{"name":"profileId","description":"The unique identifier of the match profile","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"defaultProfile":{"name":"defaultProfile","description":"Only display profiles that are set as the default","schema":{"type":"boolean","example":true},"required":false,"in":"query"},"nameLocal":{"name":"nameLocal","description":"The full name","schema":{"type":"string","maxLength":50},"required":false,"in":"query"},"nameLatin":{"name":"nameLatin","description":"The full name in latin characters","schema":{"type":"string","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"},"nameFullLatin":{"name":"nameFullLatin","description":"The full name of the person in latin characters","schema":{"type":"string","maxLength":50},"required":false,"in":"query"},"entityNameFullLatinContains":{"name":"entityNameFullLatinContains","description":"Fields that allow a 'Contains' query string parameter search for words separated by a space, matching characters left to right. Example: entityNameFullLatin=David Johnson entityNameFullLatinContains=Dav will match entityNameFullLatinContains=John will match entityNameFullLatinContains=son will not match","schema":{"type":"string","minLength":2,"maxLength":50,"example":"Dav and entityNameFullLatin='David Johnson'"},"required":false,"in":"query"},"entityNameFullLocalContains":{"name":"entityNameFullLocalContains","description":"Fields that allow a 'Contains' query string parameter search for words separated by a space, matching characters left to right. Example: entityNameFullLocal=David Johnson entityNameFullLocalContains=Dav will match entityNameFullLocalContains=John will match entityNameFullLocalContains=son will not match","schema":{"type":"string","minLength":2,"maxLength":50,"example":"Dav and entityNameFullLocal='David Johnson'"},"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,"example":"Dav and nameFullLatin='David Johnson'"},"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,"example":"Dav and nameFullLocal='David Johnson'"},"required":false,"in":"query"},"nameLatinContains":{"name":"nameLatinContains","description":"Fields that allow a 'Contains' query string parameter search for words separated by a space, matching characters left to right. Example: nameLatin=David Johnson nameLatinContains=Dav will match nameLatinContains=John will match nameLatinContains=son will not match","schema":{"type":"string","minLength":2,"maxLength":50,"example":"Dav and nameLatin='David Johnson'"},"required":false,"in":"query"},"nameLocalContains":{"name":"nameLocalContains","description":"Fields that allow a 'Contains' query string parameter search for words separated by a space, matching characters left to right. Example: nameLocal=David Johnson nameLocalContains=Dav will match nameLocalContains=John will match nameLocalContains=son will not match","schema":{"type":"string","minLength":2,"maxLength":50,"example":"Dav and nameLocal='David Johnson'"},"required":false,"in":"query"},"nameContains":{"name":"nameContains","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 nameContains=Dav will match nameContains=John will match nameContains=son will not match","schema":{"type":"string","minLength":2,"maxLength":50,"example":"Dav and name='David Johnson'"},"required":false,"in":"query"},"seriesCodeContains":{"name":"seriesCodeContains","description":"Fields that allow a 'Contains' query string parameter search for words separated by a space, matching characters left to right. Example: seriesCode=Series 001seriesCodeContains=Ser will match seriesCodeContains=001 will match seriesCodeContains=ies will not match","schema":{"type":"string","minLength":2,"maxLength":50,"example":"SER and seriesCode='SERIES1'"},"required":false,"in":"query"},"configurationKey":{"name":"configurationKey","description":"Unique key of a video provider configuration","schema":{"type":"string","minLength":32,"maxLength":32,"example":"9c0bae205302fc0d2433d51e254cd86b"},"required":false,"in":"query"},"dataSource":{"name":"dataSource","description":"Where does the organization data come from\n>- `IMPORTER` Data comes through our DC importer system\n>- `INTEGRATION_3RDPARTY` A 3rd party has done an integration\n>- `INTEGRATION_CUSTOMER` The customer has done their own integration\n>- `TOOL_INTERNAL` Data comes from an internal tool, e.g. Competition Admin/Management\n>- `TOOL_PARTNER` Data comes from a tool, maintained by a partner company\n>- `WEB` Data has be collected/collated from the web\n","schema":{"type":"string","enum":["TOOL_INTERNAL","TOOL_PARTNER","INTEGRATION_CUSTOMER","INTEGRATION_3RDPARTY","IMPORTER","WEB"],"maxLength":50,"example":"TOOL_INTERNAL"},"required":false,"in":"query"},"dataQuality":{"name":"dataQuality","description":"Subjective rating (1-10) on how good/accurate is the data.","schema":{"type":"integer","format":"int32","maximum":10,"minimum":1,"example":10},"required":false,"in":"query"},"sportradarId":{"name":"sportradarId","description":"Sportradar ID for the organization","schema":{"type":"string","maxLength":255,"example":"SR-123"},"required":false,"in":"query"},"linkageType":{"name":"linkageType","description":"The type of the linkage\n>- `DIRECT` Direct linkage to an organization\n>- `INDIRECT` Indirect linkage to an organization\n>- `LINKAGE` Affiliate Linkage\n","schema":{"type":"string","enum":["LINKAGE","DIRECT","INDIRECT"],"example":"DIRECT"},"required":false,"in":"query"},"conductId":{"name":"conductId","description":"The unique identifier of the conduct","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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"],"example":"SWEARING"},"required":false,"in":"query"},"dateOffenceLocalStart":{"name":"dateOffenceLocalStart","description":"Where dateOffenceLocal is after this value","schema":{"type":"string","format":"date-time","example":"2018-08-16T18:00:00"},"required":false,"in":"query"},"dateOffenceLocalEnd":{"name":"dateOffenceLocalEnd","description":"Where dateOffenceLocal is before this value","schema":{"type":"string","format":"date-time","example":"2018-08-16T18:00:00"},"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,"example":"ACTIVE"},"required":false,"in":"query"},"videoProduction":{"name":"videoProduction","description":"Data synchronization strategy with video production systems. Multiple allowed (comma-delimited).\n>- `AUTOMATED` Automated\n>- `MANUAL` Manual\n>- `NONE` None\n","schema":{"type":"string","enum":["NONE","AUTOMATED","MANUAL"],"maxLength":50,"example":"NONE,AUTOMATED"},"required":false,"in":"query"},"seasonVideoProduction":{"name":"seasonVideoProduction","description":"Seasons data synchronization strategy with video production systems. Multiple allowed (comma-delimited).\n>- `AUTOMATED` Automated\n>- `MANUAL` Manual\n>- `NONE` None\n","schema":{"type":"string","enum":["NONE","AUTOMATED","MANUAL"],"maxLength":50,"example":"NONE,AUTOMATED"},"required":false,"in":"query"},"source":{"name":"source","description":"Source of external Id","schema":{"type":"string","maxLength":100},"required":false,"in":"query"},"sourceType":{"name":"sourceType","description":"Source type of external Id","schema":{"type":"string","maxLength":30},"required":false,"in":"query"},"sourceExternalId":{"name":"sourceExternalId","description":"external Id of the external source","schema":{"type":"string","maxLength":100},"required":false,"in":"query"},"personExternalId":{"name":"personExternalId","description":"The unique identifier of person external Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"venueExternalId":{"name":"venueExternalId","description":"The unique identifier of venue external Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"seasonExternalId":{"name":"seasonExternalId","description":"The unique identifier of season external Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"fixtureExternalId":{"name":"fixtureExternalId","description":"The unique identifier of match external Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"competitionExternalId":{"name":"competitionExternalId","description":"The unique identifier of competition external Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"entityExternalId":{"name":"entityExternalId","description":"The unique identifier of team external Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"entityGroupExternalId":{"name":"entityGroupExternalId","description":"The unique identifier of club external Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"siteExternalId":{"name":"siteExternalId","description":"The unique identifier of site external Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"divisionExternalId":{"name":"divisionExternalId","description":"The unique identifier of division external Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"conferenceExternalId":{"name":"conferenceExternalId","description":"The unique identifier of conference external Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"leagueExternalId":{"name":"leagueExternalId","description":"The unique identifier of league external Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"uniformExternalId":{"name":"uniformExternalId","description":"The unique identifier of uniform external Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"standingProgressionId":{"name":"standingProgressionId","description":"The unique identifier of standing progression Id","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},"discipline":{"name":"discipline","description":"The discipline for a match\n>- `BEACH` Beach\n>- `HOCKEY5S` Hockey5s\n>- `INDOOR` Indoor\n>- `OUTDOOR` Outdoor\n>- `PARAHOCKEY` Para hockey\n","schema":{"type":"string","enum":["INDOOR","OUTDOOR","HOCKEY5S","PARAHOCKEY","BEACH"],"maxLength":30,"example":"INDOOR"},"required":false,"in":"query"},"itemType":{"name":"itemType","description":"The type of Uniform Item\n>- `BOTTOM` Bottom\n>- `GOALKEEPER_BOTTOM` Goal Keeper Bottom\n>- `GOALKEEPER_TOP` Goal Keeper Top\n>- `HELMET` Helmet\n>- `SOCKS` Socks\n>- `TOP` Top\n>- `WARMUP_BOTTOM` Warmup Bottom\n>- `WARMUP_TOP` Warmup Top\n","schema":{"type":"string","enum":["TOP","WARMUP_TOP","WARMUP_BOTTOM","BOTTOM","GOALKEEPER_TOP","GOALKEEPER_BOTTOM","HELMET","SOCKS"],"maxLength":100,"example":"JERSEY"},"required":false,"in":"query"},"groupingKey":{"name":"groupingKey","description":"Grouping Key to allow bulk deletions or listing by the key","schema":{"type":"string","maxLength":100,"example":"KEYA123"},"required":false,"in":"query"},"representing":{"name":"representing","description":"Who the person was representing","schema":{"type":"string","maxLength":100,"example":"AUSTRALIA"},"required":false,"in":"query"},"timezone":{"name":"timezone","description":"Timezone","schema":{"type":"string","maxLength":150},"required":false,"in":"query"}}},"paths":{"/volleyball/o/{organizationId}/persons":{"get":{"tags":["Persons"],"summary":"Get a list of persons","description":"Return a list of available persons","operationId":"person_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Persons 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/PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/persongender"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$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/nationality"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personIds"},{"$ref":"#/components/parameters/representing"},{"$ref":"#/components/parameters/representingCountry"},{"name":"search","description":"Searches the provided text in the fields nameFullLocal, nameAbbreviated, nameGivenLocal, nameFamilyLocal, nameFullLatin, nameGivenLatin, nameFamilyLatin","schema":{"type":"string","example":"bob"},"required":false,"in":"query"},{"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":"^(\\-?nameFullLocal|\\-?nameFullLatin|,)*$","example":"-nameFullLocal,nameFullLatin"},"required":false,"in":"query"},{"$ref":"#/components/parameters/personstatus"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"gender\":\"MALE\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameFamilyLatinStartsWith\":\"SOME_STRING_VALUE\",\"nameFamilyLocalStartsWith\":\"SOME_STRING_VALUE\",\"nameFullLatin\":\"SOME_STRING_VALUE\",\"nameFullLatinContains\":\"Dav and nameFullLatin='David Johnson'\",\"nameFullLocal\":\"SOME_STRING_VALUE\",\"nameFullLocalContains\":\"Dav and nameFullLocal='David Johnson'\",\"nationality\":\"AUS\",\"offset\":\"10\",\"personIds\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"representing\":\"AUSTRALIA\",\"representingCountry\":\"SOME_STRING_VALUE\",\"search\":\"bob\",\"sortBy\":\"-nameFullLocal,nameFullLatin\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'\\''David%20Johnson'\\''&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'\\''David%20Johnson'\\''&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&nationality=AUS&offset=10&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Persons"],"summary":"Create a person","description":"Insert a new person","operationId":"person_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Persons 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/PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"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","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `DECEASED` Deceased\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n>- `UNREGISTERED` UnRegistered\n","type":"string","enum":["ACTIVE","UNREGISTERED","PENDING","DECEASED","INACTIVE"],"maxLength":30,"default":"ACTIVE","example":"ACTIVE"},"gender":{"description":"The gender of the person\n>- `FEMALE` Female\n>- `MALE` Male\n>- `UNKNOWN` Unknown\n","type":"string","enum":["MALE","FEMALE","UNKNOWN"],"example":"MALE"},"nameFullLocal":{"description":"The full name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":200,"example":"John Smith"},"nameAbbreviated":{"description":"An abbreviated name for a person","type":"string","maxLength":100,"nullable":true,"example":"Pat"},"languageLocal":{"description":"The language code of the full name in [local](#section/Introduction/Character-Sets-and-Names) language. This code is a two letter (lower-case) ISO 639-1 language code.","type":"string","maxLength":2,"nullable":true,"example":"en"},"nameGivenLocal":{"description":"Given name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":200,"nullable":true,"example":"John"},"nameFamilyLocal":{"description":"Family name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":200,"nullable":true,"example":"Smith"},"nameFullLatin":{"description":"The full name of the person in [latin](##section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":200,"nullable":true,"example":"John Smith"},"nameGivenLatin":{"description":"Given name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":200,"nullable":true,"example":"John"},"nameFamilyLatin":{"description":"Family name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":200,"nullable":true,"example":"Smith"},"dob":{"description":"Date of Birth","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"nationality":{"description":"A 3 letter nationality code. We recommend you use ISO-3166 where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"AUS"},"deceased":{"description":"Date deceased","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"additionalNames":{"type":"object","nullable":true,"description":"Additional names for the person. They are broken down by language, so you can have a different set of names per language","additionalProperties":{"type":"object","example":"default","description":"The *property name* here can either be `default` (for a non-language specific name) or a two letter (lower-case) ISO 639-1 language code. eg `fr`, `es`","additionalProperties":false,"properties":{"display":{"type":"string","nullable":true},"television":{"description":"The name to be used on television","type":"string","nullable":true},"scoreboard":{"description":"The name to be used on the scoreboard","type":"string","nullable":true},"pronunciation":{"description":"The description of how to pronounce the name","type":"string","nullable":true},"boxscore":{"type":"string","nullable":true},"jersey":{"type":"string","nullable":true},"abbreviated":{"type":"string","nullable":true},"given":{"type":"string","nullable":true},"family":{"type":"string","nullable":true},"full":{"type":"string","nullable":true},"knownAs":{"type":"string","nullable":true}}},"pattern":"^(default|[a-z]{2})$"},"additionalDetails":{"title":"Person additional details","description":"Additional person detail fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"height":{"description":"Height in cms","type":"number","nullable":true},"heightImperial":{"description":"Height in feet & inches","type":"string","nullable":true,"pattern":"^([4-7])'([0-9]|1[0-1])$"},"weight":{"description":"Weight in kgs","type":"number","nullable":true},"weightImperial":{"description":"Weight in pounds","type":"number","nullable":true},"dominantHand":{"description":"Dominant hand","type":"string","nullable":true,"enum":["LEFT","RIGHT"]},"dominantFoot":{"description":"Dominant foot","type":"string","nullable":true,"enum":["LEFT","RIGHT"]},"homeTown":{"description":"Hometown","type":"string","nullable":true},"school":{"description":"School","type":"string","nullable":true},"schoolClass":{"description":"School Class","type":"string","nullable":true},"college":{"description":"College","type":"string","nullable":true},"collegeClass":{"description":"College Class","type":"string","nullable":true},"representation":{"description":"Representation","type":"string","nullable":true},"juniorAssociationLeague":{"description":"Junior Association / League","type":"string","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"historicalNames":{"type":"array","nullable":true,"title":"Person historical names","description":"Array of person historical names","items":{"type":"object","title":"Person historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameFullLocal":{"description":"The full name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","nullable":true},"nameGivenLocal":{"description":"Given name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","nullable":true},"nameFamilyLocal":{"description":"Family name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","nullable":true},"nameFullLatin":{"description":"The full name of the person in [latin](##section/Introduction/Character-Sets-and-Names) characters","type":"string","nullable":true},"nameGivenLatin":{"description":"Given name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","nullable":true},"nameFamilyLatin":{"description":"Family name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","nullable":true}}}},"representing":{"description":"Who the person or team was representing","type":"string","maxLength":100,"nullable":true,"example":"AUSTRALIA"},"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,"example":"A123"}},"title":"person post body","required":["status","gender","nameFullLocal"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"status\": \"ACTIVE\",\n  \"gender\": \"MALE\",\n  \"nameFullLocal\": \"John Smith\",\n  \"nameAbbreviated\": \"Pat\",\n  \"languageLocal\": \"en\",\n  \"nameGivenLocal\": \"John\",\n  \"nameFamilyLocal\": \"Smith\",\n  \"nameFullLatin\": \"John Smith\",\n  \"nameGivenLatin\": \"John\",\n  \"nameFamilyLatin\": \"Smith\",\n  \"dob\": \"1978-08-24\",\n  \"nationality\": \"AUS\",\n  \"deceased\": \"2016-09-08\",\n  \"additionalNames\": {\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  },\n  \"additionalDetails\": {\n    \"height\": 0,\n    \"heightImperial\": \"string\",\n    \"weight\": 0,\n    \"weightImperial\": 0,\n    \"dominantHand\": \"LEFT\",\n    \"dominantFoot\": \"LEFT\",\n    \"homeTown\": \"string\",\n    \"school\": \"string\",\n    \"schoolClass\": \"string\",\n    \"college\": \"string\",\n    \"collegeClass\": \"string\",\n    \"representation\": \"string\",\n    \"juniorAssociationLeague\": \"string\"\n  },\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"historicalNames\": [\n    {\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameGivenLocal\": \"string\",\n      \"nameFamilyLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameGivenLatin\": \"string\",\n      \"nameFamilyLatin\": \"string\"\n    }\n  ],\n  \"representing\": \"AUSTRALIA\",\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  status: 'ACTIVE',\n  gender: 'MALE',\n  nameFullLocal: 'John Smith',\n  nameAbbreviated: 'Pat',\n  languageLocal: 'en',\n  nameGivenLocal: 'John',\n  nameFamilyLocal: 'Smith',\n  nameFullLatin: 'John Smith',\n  nameGivenLatin: 'John',\n  nameFamilyLatin: 'Smith',\n  dob: '1978-08-24',\n  nationality: 'AUS',\n  deceased: '2016-09-08',\n  additionalNames: {property1: 'default', property2: 'default'},\n  additionalDetails: {\n    height: 0,\n    heightImperial: 'string',\n    weight: 0,\n    weightImperial: 0,\n    dominantHand: 'LEFT',\n    dominantFoot: 'LEFT',\n    homeTown: 'string',\n    school: 'string',\n    schoolClass: 'string',\n    college: 'string',\n    collegeClass: 'string',\n    representation: 'string',\n    juniorAssociationLeague: 'string'\n  },\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  historicalNames: [\n    {\n      dateStart: '2019-08-24',\n      dateEnd: '2019-08-24',\n      nameFullLocal: 'string',\n      nameGivenLocal: 'string',\n      nameFamilyLocal: 'string',\n      nameFullLatin: 'string',\n      nameGivenLatin: 'string',\n      nameFamilyLatin: 'string'\n    }\n  ],\n  representing: 'AUSTRALIA',\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"gender\": @\"MALE\",\n                              @\"nameFullLocal\": @\"John Smith\",\n                              @\"nameAbbreviated\": @\"Pat\",\n                              @\"languageLocal\": @\"en\",\n                              @\"nameGivenLocal\": @\"John\",\n                              @\"nameFamilyLocal\": @\"Smith\",\n                              @\"nameFullLatin\": @\"John Smith\",\n                              @\"nameGivenLatin\": @\"John\",\n                              @\"nameFamilyLatin\": @\"Smith\",\n                              @\"dob\": @\"1978-08-24\",\n                              @\"nationality\": @\"AUS\",\n                              @\"deceased\": @\"2016-09-08\",\n                              @\"additionalNames\": @{ @\"property1\": @\"default\", @\"property2\": @\"default\" },\n                              @\"additionalDetails\": @{ @\"height\": @0, @\"heightImperial\": @\"string\", @\"weight\": @0, @\"weightImperial\": @0, @\"dominantHand\": @\"LEFT\", @\"dominantFoot\": @\"LEFT\", @\"homeTown\": @\"string\", @\"school\": @\"string\", @\"schoolClass\": @\"string\", @\"college\": @\"string\", @\"collegeClass\": @\"string\", @\"representation\": @\"string\", @\"juniorAssociationLeague\": @\"string\" },\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"historicalNames\": @[ @{ @\"dateStart\": @\"2019-08-24\", @\"dateEnd\": @\"2019-08-24\", @\"nameFullLocal\": @\"string\", @\"nameGivenLocal\": @\"string\", @\"nameFamilyLocal\": @\"string\", @\"nameFullLatin\": @\"string\", @\"nameGivenLatin\": @\"string\", @\"nameFamilyLatin\": @\"string\" } ],\n                              @\"representing\": @\"AUSTRALIA\",\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"status\": \"ACTIVE\",\n    \"gender\": \"MALE\",\n    \"nameFullLocal\": \"John Smith\",\n    \"nameAbbreviated\": \"Pat\",\n    \"languageLocal\": \"en\",\n    \"nameGivenLocal\": \"John\",\n    \"nameFamilyLocal\": \"Smith\",\n    \"nameFullLatin\": \"John Smith\",\n    \"nameGivenLatin\": \"John\",\n    \"nameFamilyLatin\": \"Smith\",\n    \"dob\": \"1978-08-24\",\n    \"nationality\": \"AUS\",\n    \"deceased\": \"2016-09-08\",\n    \"additionalNames\": {\n        \"property1\": \"default\",\n        \"property2\": \"default\"\n    },\n    \"additionalDetails\": {\n        \"height\": 0,\n        \"heightImperial\": \"string\",\n        \"weight\": 0,\n        \"weightImperial\": 0,\n        \"dominantHand\": \"LEFT\",\n        \"dominantFoot\": \"LEFT\",\n        \"homeTown\": \"string\",\n        \"school\": \"string\",\n        \"schoolClass\": \"string\",\n        \"college\": \"string\",\n        \"collegeClass\": \"string\",\n        \"representation\": \"string\",\n        \"juniorAssociationLeague\": \"string\"\n    },\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"historicalNames\": [\n        {\n            \"dateStart\": \"2019-08-24\",\n            \"dateEnd\": \"2019-08-24\",\n            \"nameFullLocal\": \"string\",\n            \"nameGivenLocal\": \"string\",\n            \"nameFamilyLocal\": \"string\",\n            \"nameFullLatin\": \"string\",\n            \"nameGivenLatin\": \"string\",\n            \"nameFamilyLatin\": \"string\"\n        }\n    ],\n    \"representing\": \"AUSTRALIA\",\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"status\":\"ACTIVE\",\"gender\":\"MALE\",\"nameFullLocal\":\"John Smith\",\"nameAbbreviated\":\"Pat\",\"languageLocal\":\"en\",\"nameGivenLocal\":\"John\",\"nameFamilyLocal\":\"Smith\",\"nameFullLatin\":\"John Smith\",\"nameGivenLatin\":\"John\",\"nameFamilyLatin\":\"Smith\",\"dob\":\"1978-08-24\",\"nationality\":\"AUS\",\"deceased\":\"2016-09-08\",\"additionalNames\":{\"property1\":\"default\",\"property2\":\"default\"},\"additionalDetails\":{\"height\":0,\"heightImperial\":\"string\",\"weight\":0,\"weightImperial\":0,\"dominantHand\":\"LEFT\",\"dominantFoot\":\"LEFT\",\"homeTown\":\"string\",\"school\":\"string\",\"schoolClass\":\"string\",\"college\":\"string\",\"collegeClass\":\"string\",\"representation\":\"string\",\"juniorAssociationLeague\":\"string\"},\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"historicalNames\":[{\"dateStart\":\"2019-08-24\",\"dateEnd\":\"2019-08-24\",\"nameFullLocal\":\"string\",\"nameGivenLocal\":\"string\",\"nameFamilyLocal\":\"string\",\"nameFullLatin\":\"string\",\"nameGivenLatin\":\"string\",\"nameFamilyLatin\":\"string\"}],\"representing\":\"AUSTRALIA\",\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"status\": \"ACTIVE\",\n  \"gender\": \"MALE\",\n  \"nameFullLocal\": \"John Smith\",\n  \"nameAbbreviated\": \"Pat\",\n  \"languageLocal\": \"en\",\n  \"nameGivenLocal\": \"John\",\n  \"nameFamilyLocal\": \"Smith\",\n  \"nameFullLatin\": \"John Smith\",\n  \"nameGivenLatin\": \"John\",\n  \"nameFamilyLatin\": \"Smith\",\n  \"dob\": \"1978-08-24\",\n  \"nationality\": \"AUS\",\n  \"deceased\": \"2016-09-08\",\n  \"additionalNames\": [\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  ],\n  \"additionalDetails\": [\n    \"height\": 0,\n    \"heightImperial\": \"string\",\n    \"weight\": 0,\n    \"weightImperial\": 0,\n    \"dominantHand\": \"LEFT\",\n    \"dominantFoot\": \"LEFT\",\n    \"homeTown\": \"string\",\n    \"school\": \"string\",\n    \"schoolClass\": \"string\",\n    \"college\": \"string\",\n    \"collegeClass\": \"string\",\n    \"representation\": \"string\",\n    \"juniorAssociationLeague\": \"string\"\n  ],\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"historicalNames\": [\n    [\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameGivenLocal\": \"string\",\n      \"nameFamilyLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameGivenLatin\": \"string\",\n      \"nameFamilyLatin\": \"string\"\n    ]\n  ],\n  \"representing\": \"AUSTRALIA\",\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/persons/{personId}":{"get":{"tags":["Persons"],"summary":"Get a person","description":"Return detailed information about a specific person","operationId":"person_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Persons 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/PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Persons"],"summary":"Update a person","description":"Change the information of a specific person","operationId":"person_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Persons 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/PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"status":{"description":"Status\n>- `ACTIVE` Active\n>- `DECEASED` Deceased\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n>- `UNREGISTERED` UnRegistered\n","type":"string","enum":["ACTIVE","UNREGISTERED","PENDING","DECEASED","INACTIVE"],"maxLength":30,"default":"ACTIVE","example":"ACTIVE"},"gender":{"description":"The gender of the person\n>- `FEMALE` Female\n>- `MALE` Male\n>- `UNKNOWN` Unknown\n","type":"string","enum":["MALE","FEMALE","UNKNOWN"],"example":"MALE"},"nameFullLocal":{"description":"The full name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":200,"example":"John Smith"},"nameAbbreviated":{"description":"An abbreviated name for a person","type":"string","maxLength":100,"nullable":true,"example":"Pat"},"languageLocal":{"description":"The language code of the full name in [local](#section/Introduction/Character-Sets-and-Names) language. This code is a two letter (lower-case) ISO 639-1 language code.","type":"string","maxLength":2,"nullable":true,"example":"en"},"nameGivenLocal":{"description":"Given name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":200,"nullable":true,"example":"John"},"nameFamilyLocal":{"description":"Family name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":200,"nullable":true,"example":"Smith"},"nameFullLatin":{"description":"The full name of the person in [latin](##section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":200,"nullable":true,"example":"John Smith"},"nameGivenLatin":{"description":"Given name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":200,"nullable":true,"example":"John"},"nameFamilyLatin":{"description":"Family name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":200,"nullable":true,"example":"Smith"},"dob":{"description":"Date of Birth","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"nationality":{"description":"A 3 letter nationality code. We recommend you use ISO-3166 where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"AUS"},"deceased":{"description":"Date deceased","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"additionalNames":{"type":"object","nullable":true,"description":"Additional names for the person. They are broken down by language, so you can have a different set of names per language","additionalProperties":{"type":"object","example":"default","description":"The *property name* here can either be `default` (for a non-language specific name) or a two letter (lower-case) ISO 639-1 language code. eg `fr`, `es`","additionalProperties":false,"properties":{"display":{"type":"string","nullable":true},"television":{"description":"The name to be used on television","type":"string","nullable":true},"scoreboard":{"description":"The name to be used on the scoreboard","type":"string","nullable":true},"pronunciation":{"description":"The description of how to pronounce the name","type":"string","nullable":true},"boxscore":{"type":"string","nullable":true},"jersey":{"type":"string","nullable":true},"abbreviated":{"type":"string","nullable":true},"given":{"type":"string","nullable":true},"family":{"type":"string","nullable":true},"full":{"type":"string","nullable":true},"knownAs":{"type":"string","nullable":true}}},"pattern":"^(default|[a-z]{2})$"},"additionalDetails":{"title":"Person additional details","description":"Additional person detail fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"height":{"description":"Height in cms","type":"number","nullable":true},"heightImperial":{"description":"Height in feet & inches","type":"string","nullable":true,"pattern":"^([4-7])'([0-9]|1[0-1])$"},"weight":{"description":"Weight in kgs","type":"number","nullable":true},"weightImperial":{"description":"Weight in pounds","type":"number","nullable":true},"dominantHand":{"description":"Dominant hand","type":"string","nullable":true,"enum":["LEFT","RIGHT"]},"dominantFoot":{"description":"Dominant foot","type":"string","nullable":true,"enum":["LEFT","RIGHT"]},"homeTown":{"description":"Hometown","type":"string","nullable":true},"school":{"description":"School","type":"string","nullable":true},"schoolClass":{"description":"School Class","type":"string","nullable":true},"college":{"description":"College","type":"string","nullable":true},"collegeClass":{"description":"College Class","type":"string","nullable":true},"representation":{"description":"Representation","type":"string","nullable":true},"juniorAssociationLeague":{"description":"Junior Association / League","type":"string","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"historicalNames":{"type":"array","nullable":true,"title":"Person historical names","description":"Array of person historical names","items":{"type":"object","title":"Person historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameFullLocal":{"description":"The full name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","nullable":true},"nameGivenLocal":{"description":"Given name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","nullable":true},"nameFamilyLocal":{"description":"Family name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","nullable":true},"nameFullLatin":{"description":"The full name of the person in [latin](##section/Introduction/Character-Sets-and-Names) characters","type":"string","nullable":true},"nameGivenLatin":{"description":"Given name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","nullable":true},"nameFamilyLatin":{"description":"Family name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","nullable":true}}}},"representing":{"description":"Who the person or team was representing","type":"string","maxLength":100,"nullable":true,"example":"AUSTRALIA"},"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,"example":"A123"}},"title":"person put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"status\": \"ACTIVE\",\n  \"gender\": \"MALE\",\n  \"nameFullLocal\": \"John Smith\",\n  \"nameAbbreviated\": \"Pat\",\n  \"languageLocal\": \"en\",\n  \"nameGivenLocal\": \"John\",\n  \"nameFamilyLocal\": \"Smith\",\n  \"nameFullLatin\": \"John Smith\",\n  \"nameGivenLatin\": \"John\",\n  \"nameFamilyLatin\": \"Smith\",\n  \"dob\": \"1978-08-24\",\n  \"nationality\": \"AUS\",\n  \"deceased\": \"2016-09-08\",\n  \"additionalNames\": {\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  },\n  \"additionalDetails\": {\n    \"height\": 0,\n    \"heightImperial\": \"string\",\n    \"weight\": 0,\n    \"weightImperial\": 0,\n    \"dominantHand\": \"LEFT\",\n    \"dominantFoot\": \"LEFT\",\n    \"homeTown\": \"string\",\n    \"school\": \"string\",\n    \"schoolClass\": \"string\",\n    \"college\": \"string\",\n    \"collegeClass\": \"string\",\n    \"representation\": \"string\",\n    \"juniorAssociationLeague\": \"string\"\n  },\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"historicalNames\": [\n    {\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameGivenLocal\": \"string\",\n      \"nameFamilyLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameGivenLatin\": \"string\",\n      \"nameFamilyLatin\": \"string\"\n    }\n  ],\n  \"representing\": \"AUSTRALIA\",\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  status: 'ACTIVE',\n  gender: 'MALE',\n  nameFullLocal: 'John Smith',\n  nameAbbreviated: 'Pat',\n  languageLocal: 'en',\n  nameGivenLocal: 'John',\n  nameFamilyLocal: 'Smith',\n  nameFullLatin: 'John Smith',\n  nameGivenLatin: 'John',\n  nameFamilyLatin: 'Smith',\n  dob: '1978-08-24',\n  nationality: 'AUS',\n  deceased: '2016-09-08',\n  additionalNames: {property1: 'default', property2: 'default'},\n  additionalDetails: {\n    height: 0,\n    heightImperial: 'string',\n    weight: 0,\n    weightImperial: 0,\n    dominantHand: 'LEFT',\n    dominantFoot: 'LEFT',\n    homeTown: 'string',\n    school: 'string',\n    schoolClass: 'string',\n    college: 'string',\n    collegeClass: 'string',\n    representation: 'string',\n    juniorAssociationLeague: 'string'\n  },\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  historicalNames: [\n    {\n      dateStart: '2019-08-24',\n      dateEnd: '2019-08-24',\n      nameFullLocal: 'string',\n      nameGivenLocal: 'string',\n      nameFamilyLocal: 'string',\n      nameFullLatin: 'string',\n      nameGivenLatin: 'string',\n      nameFamilyLatin: 'string'\n    }\n  ],\n  representing: 'AUSTRALIA',\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"status\": @\"ACTIVE\",\n                              @\"gender\": @\"MALE\",\n                              @\"nameFullLocal\": @\"John Smith\",\n                              @\"nameAbbreviated\": @\"Pat\",\n                              @\"languageLocal\": @\"en\",\n                              @\"nameGivenLocal\": @\"John\",\n                              @\"nameFamilyLocal\": @\"Smith\",\n                              @\"nameFullLatin\": @\"John Smith\",\n                              @\"nameGivenLatin\": @\"John\",\n                              @\"nameFamilyLatin\": @\"Smith\",\n                              @\"dob\": @\"1978-08-24\",\n                              @\"nationality\": @\"AUS\",\n                              @\"deceased\": @\"2016-09-08\",\n                              @\"additionalNames\": @{ @\"property1\": @\"default\", @\"property2\": @\"default\" },\n                              @\"additionalDetails\": @{ @\"height\": @0, @\"heightImperial\": @\"string\", @\"weight\": @0, @\"weightImperial\": @0, @\"dominantHand\": @\"LEFT\", @\"dominantFoot\": @\"LEFT\", @\"homeTown\": @\"string\", @\"school\": @\"string\", @\"schoolClass\": @\"string\", @\"college\": @\"string\", @\"collegeClass\": @\"string\", @\"representation\": @\"string\", @\"juniorAssociationLeague\": @\"string\" },\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"historicalNames\": @[ @{ @\"dateStart\": @\"2019-08-24\", @\"dateEnd\": @\"2019-08-24\", @\"nameFullLocal\": @\"string\", @\"nameGivenLocal\": @\"string\", @\"nameFamilyLocal\": @\"string\", @\"nameFullLatin\": @\"string\", @\"nameGivenLatin\": @\"string\", @\"nameFamilyLatin\": @\"string\" } ],\n                              @\"representing\": @\"AUSTRALIA\",\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"status\": \"ACTIVE\",\n    \"gender\": \"MALE\",\n    \"nameFullLocal\": \"John Smith\",\n    \"nameAbbreviated\": \"Pat\",\n    \"languageLocal\": \"en\",\n    \"nameGivenLocal\": \"John\",\n    \"nameFamilyLocal\": \"Smith\",\n    \"nameFullLatin\": \"John Smith\",\n    \"nameGivenLatin\": \"John\",\n    \"nameFamilyLatin\": \"Smith\",\n    \"dob\": \"1978-08-24\",\n    \"nationality\": \"AUS\",\n    \"deceased\": \"2016-09-08\",\n    \"additionalNames\": {\n        \"property1\": \"default\",\n        \"property2\": \"default\"\n    },\n    \"additionalDetails\": {\n        \"height\": 0,\n        \"heightImperial\": \"string\",\n        \"weight\": 0,\n        \"weightImperial\": 0,\n        \"dominantHand\": \"LEFT\",\n        \"dominantFoot\": \"LEFT\",\n        \"homeTown\": \"string\",\n        \"school\": \"string\",\n        \"schoolClass\": \"string\",\n        \"college\": \"string\",\n        \"collegeClass\": \"string\",\n        \"representation\": \"string\",\n        \"juniorAssociationLeague\": \"string\"\n    },\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"historicalNames\": [\n        {\n            \"dateStart\": \"2019-08-24\",\n            \"dateEnd\": \"2019-08-24\",\n            \"nameFullLocal\": \"string\",\n            \"nameGivenLocal\": \"string\",\n            \"nameFamilyLocal\": \"string\",\n            \"nameFullLatin\": \"string\",\n            \"nameGivenLatin\": \"string\",\n            \"nameFamilyLatin\": \"string\"\n        }\n    ],\n    \"representing\": \"AUSTRALIA\",\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"status\":\"ACTIVE\",\"gender\":\"MALE\",\"nameFullLocal\":\"John Smith\",\"nameAbbreviated\":\"Pat\",\"languageLocal\":\"en\",\"nameGivenLocal\":\"John\",\"nameFamilyLocal\":\"Smith\",\"nameFullLatin\":\"John Smith\",\"nameGivenLatin\":\"John\",\"nameFamilyLatin\":\"Smith\",\"dob\":\"1978-08-24\",\"nationality\":\"AUS\",\"deceased\":\"2016-09-08\",\"additionalNames\":{\"property1\":\"default\",\"property2\":\"default\"},\"additionalDetails\":{\"height\":0,\"heightImperial\":\"string\",\"weight\":0,\"weightImperial\":0,\"dominantHand\":\"LEFT\",\"dominantFoot\":\"LEFT\",\"homeTown\":\"string\",\"school\":\"string\",\"schoolClass\":\"string\",\"college\":\"string\",\"collegeClass\":\"string\",\"representation\":\"string\",\"juniorAssociationLeague\":\"string\"},\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"historicalNames\":[{\"dateStart\":\"2019-08-24\",\"dateEnd\":\"2019-08-24\",\"nameFullLocal\":\"string\",\"nameGivenLocal\":\"string\",\"nameFamilyLocal\":\"string\",\"nameFullLatin\":\"string\",\"nameGivenLatin\":\"string\",\"nameFamilyLatin\":\"string\"}],\"representing\":\"AUSTRALIA\",\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"status\": \"ACTIVE\",\n  \"gender\": \"MALE\",\n  \"nameFullLocal\": \"John Smith\",\n  \"nameAbbreviated\": \"Pat\",\n  \"languageLocal\": \"en\",\n  \"nameGivenLocal\": \"John\",\n  \"nameFamilyLocal\": \"Smith\",\n  \"nameFullLatin\": \"John Smith\",\n  \"nameGivenLatin\": \"John\",\n  \"nameFamilyLatin\": \"Smith\",\n  \"dob\": \"1978-08-24\",\n  \"nationality\": \"AUS\",\n  \"deceased\": \"2016-09-08\",\n  \"additionalNames\": [\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  ],\n  \"additionalDetails\": [\n    \"height\": 0,\n    \"heightImperial\": \"string\",\n    \"weight\": 0,\n    \"weightImperial\": 0,\n    \"dominantHand\": \"LEFT\",\n    \"dominantFoot\": \"LEFT\",\n    \"homeTown\": \"string\",\n    \"school\": \"string\",\n    \"schoolClass\": \"string\",\n    \"college\": \"string\",\n    \"collegeClass\": \"string\",\n    \"representation\": \"string\",\n    \"juniorAssociationLeague\": \"string\"\n  ],\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"historicalNames\": [\n    [\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameGivenLocal\": \"string\",\n      \"nameFamilyLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameGivenLatin\": \"string\",\n      \"nameFamilyLatin\": \"string\"\n    ]\n  ],\n  \"representing\": \"AUSTRALIA\",\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Persons"],"summary":"Delete a person","description":"Delete a specific person","operationId":"person_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Persons 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/PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/persons/force":{"post":{"tags":["Persons"],"summary":"Create/Update a person","description":"Depending on data, Add a new person or update an existing one","operationId":"person_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Persons 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/PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"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","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `DECEASED` Deceased\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n>- `UNREGISTERED` UnRegistered\n","type":"string","enum":["ACTIVE","UNREGISTERED","PENDING","DECEASED","INACTIVE"],"maxLength":30,"default":"ACTIVE","example":"ACTIVE"},"gender":{"description":"The gender of the person\n>- `FEMALE` Female\n>- `MALE` Male\n>- `UNKNOWN` Unknown\n","type":"string","enum":["MALE","FEMALE","UNKNOWN"],"example":"MALE"},"nameFullLocal":{"description":"The full name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":200,"example":"John Smith"},"nameAbbreviated":{"description":"An abbreviated name for a person","type":"string","maxLength":100,"nullable":true,"example":"Pat"},"languageLocal":{"description":"The language code of the full name in [local](#section/Introduction/Character-Sets-and-Names) language. This code is a two letter (lower-case) ISO 639-1 language code.","type":"string","maxLength":2,"nullable":true,"example":"en"},"nameGivenLocal":{"description":"Given name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":200,"nullable":true,"example":"John"},"nameFamilyLocal":{"description":"Family name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":200,"nullable":true,"example":"Smith"},"nameFullLatin":{"description":"The full name of the person in [latin](##section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":200,"nullable":true,"example":"John Smith"},"nameGivenLatin":{"description":"Given name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":200,"nullable":true,"example":"John"},"nameFamilyLatin":{"description":"Family name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":200,"nullable":true,"example":"Smith"},"dob":{"description":"Date of Birth","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"nationality":{"description":"A 3 letter nationality code. We recommend you use ISO-3166 where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"AUS"},"deceased":{"description":"Date deceased","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"additionalNames":{"type":"object","nullable":true,"description":"Additional names for the person. They are broken down by language, so you can have a different set of names per language","additionalProperties":{"type":"object","example":"default","description":"The *property name* here can either be `default` (for a non-language specific name) or a two letter (lower-case) ISO 639-1 language code. eg `fr`, `es`","additionalProperties":false,"properties":{"display":{"type":"string","nullable":true},"television":{"description":"The name to be used on television","type":"string","nullable":true},"scoreboard":{"description":"The name to be used on the scoreboard","type":"string","nullable":true},"pronunciation":{"description":"The description of how to pronounce the name","type":"string","nullable":true},"boxscore":{"type":"string","nullable":true},"jersey":{"type":"string","nullable":true},"abbreviated":{"type":"string","nullable":true},"given":{"type":"string","nullable":true},"family":{"type":"string","nullable":true},"full":{"type":"string","nullable":true},"knownAs":{"type":"string","nullable":true}}},"pattern":"^(default|[a-z]{2})$"},"additionalDetails":{"title":"Person additional details","description":"Additional person detail fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"height":{"description":"Height in cms","type":"number","nullable":true},"heightImperial":{"description":"Height in feet & inches","type":"string","nullable":true,"pattern":"^([4-7])'([0-9]|1[0-1])$"},"weight":{"description":"Weight in kgs","type":"number","nullable":true},"weightImperial":{"description":"Weight in pounds","type":"number","nullable":true},"dominantHand":{"description":"Dominant hand","type":"string","nullable":true,"enum":["LEFT","RIGHT"]},"dominantFoot":{"description":"Dominant foot","type":"string","nullable":true,"enum":["LEFT","RIGHT"]},"homeTown":{"description":"Hometown","type":"string","nullable":true},"school":{"description":"School","type":"string","nullable":true},"schoolClass":{"description":"School Class","type":"string","nullable":true},"college":{"description":"College","type":"string","nullable":true},"collegeClass":{"description":"College Class","type":"string","nullable":true},"representation":{"description":"Representation","type":"string","nullable":true},"juniorAssociationLeague":{"description":"Junior Association / League","type":"string","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"historicalNames":{"type":"array","nullable":true,"title":"Person historical names","description":"Array of person historical names","items":{"type":"object","title":"Person historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameFullLocal":{"description":"The full name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","nullable":true},"nameGivenLocal":{"description":"Given name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","nullable":true},"nameFamilyLocal":{"description":"Family name of the person in [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","nullable":true},"nameFullLatin":{"description":"The full name of the person in [latin](##section/Introduction/Character-Sets-and-Names) characters","type":"string","nullable":true},"nameGivenLatin":{"description":"Given name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","nullable":true},"nameFamilyLatin":{"description":"Family name of the person in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","nullable":true}}}},"representing":{"description":"Who the person or team was representing","type":"string","maxLength":100,"nullable":true,"example":"AUSTRALIA"},"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,"example":"A123"}},"title":"person post body","required":["status","gender","nameFullLocal"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"status\": \"ACTIVE\",\n  \"gender\": \"MALE\",\n  \"nameFullLocal\": \"John Smith\",\n  \"nameAbbreviated\": \"Pat\",\n  \"languageLocal\": \"en\",\n  \"nameGivenLocal\": \"John\",\n  \"nameFamilyLocal\": \"Smith\",\n  \"nameFullLatin\": \"John Smith\",\n  \"nameGivenLatin\": \"John\",\n  \"nameFamilyLatin\": \"Smith\",\n  \"dob\": \"1978-08-24\",\n  \"nationality\": \"AUS\",\n  \"deceased\": \"2016-09-08\",\n  \"additionalNames\": {\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  },\n  \"additionalDetails\": {\n    \"height\": 0,\n    \"heightImperial\": \"string\",\n    \"weight\": 0,\n    \"weightImperial\": 0,\n    \"dominantHand\": \"LEFT\",\n    \"dominantFoot\": \"LEFT\",\n    \"homeTown\": \"string\",\n    \"school\": \"string\",\n    \"schoolClass\": \"string\",\n    \"college\": \"string\",\n    \"collegeClass\": \"string\",\n    \"representation\": \"string\",\n    \"juniorAssociationLeague\": \"string\"\n  },\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"historicalNames\": [\n    {\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameGivenLocal\": \"string\",\n      \"nameFamilyLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameGivenLatin\": \"string\",\n      \"nameFamilyLatin\": \"string\"\n    }\n  ],\n  \"representing\": \"AUSTRALIA\",\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  status: 'ACTIVE',\n  gender: 'MALE',\n  nameFullLocal: 'John Smith',\n  nameAbbreviated: 'Pat',\n  languageLocal: 'en',\n  nameGivenLocal: 'John',\n  nameFamilyLocal: 'Smith',\n  nameFullLatin: 'John Smith',\n  nameGivenLatin: 'John',\n  nameFamilyLatin: 'Smith',\n  dob: '1978-08-24',\n  nationality: 'AUS',\n  deceased: '2016-09-08',\n  additionalNames: {property1: 'default', property2: 'default'},\n  additionalDetails: {\n    height: 0,\n    heightImperial: 'string',\n    weight: 0,\n    weightImperial: 0,\n    dominantHand: 'LEFT',\n    dominantFoot: 'LEFT',\n    homeTown: 'string',\n    school: 'string',\n    schoolClass: 'string',\n    college: 'string',\n    collegeClass: 'string',\n    representation: 'string',\n    juniorAssociationLeague: 'string'\n  },\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  historicalNames: [\n    {\n      dateStart: '2019-08-24',\n      dateEnd: '2019-08-24',\n      nameFullLocal: 'string',\n      nameGivenLocal: 'string',\n      nameFamilyLocal: 'string',\n      nameFullLatin: 'string',\n      nameGivenLatin: 'string',\n      nameFamilyLatin: 'string'\n    }\n  ],\n  representing: 'AUSTRALIA',\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"gender\": @\"MALE\",\n                              @\"nameFullLocal\": @\"John Smith\",\n                              @\"nameAbbreviated\": @\"Pat\",\n                              @\"languageLocal\": @\"en\",\n                              @\"nameGivenLocal\": @\"John\",\n                              @\"nameFamilyLocal\": @\"Smith\",\n                              @\"nameFullLatin\": @\"John Smith\",\n                              @\"nameGivenLatin\": @\"John\",\n                              @\"nameFamilyLatin\": @\"Smith\",\n                              @\"dob\": @\"1978-08-24\",\n                              @\"nationality\": @\"AUS\",\n                              @\"deceased\": @\"2016-09-08\",\n                              @\"additionalNames\": @{ @\"property1\": @\"default\", @\"property2\": @\"default\" },\n                              @\"additionalDetails\": @{ @\"height\": @0, @\"heightImperial\": @\"string\", @\"weight\": @0, @\"weightImperial\": @0, @\"dominantHand\": @\"LEFT\", @\"dominantFoot\": @\"LEFT\", @\"homeTown\": @\"string\", @\"school\": @\"string\", @\"schoolClass\": @\"string\", @\"college\": @\"string\", @\"collegeClass\": @\"string\", @\"representation\": @\"string\", @\"juniorAssociationLeague\": @\"string\" },\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"historicalNames\": @[ @{ @\"dateStart\": @\"2019-08-24\", @\"dateEnd\": @\"2019-08-24\", @\"nameFullLocal\": @\"string\", @\"nameGivenLocal\": @\"string\", @\"nameFamilyLocal\": @\"string\", @\"nameFullLatin\": @\"string\", @\"nameGivenLatin\": @\"string\", @\"nameFamilyLatin\": @\"string\" } ],\n                              @\"representing\": @\"AUSTRALIA\",\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/force\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"status\": \"ACTIVE\",\n    \"gender\": \"MALE\",\n    \"nameFullLocal\": \"John Smith\",\n    \"nameAbbreviated\": \"Pat\",\n    \"languageLocal\": \"en\",\n    \"nameGivenLocal\": \"John\",\n    \"nameFamilyLocal\": \"Smith\",\n    \"nameFullLatin\": \"John Smith\",\n    \"nameGivenLatin\": \"John\",\n    \"nameFamilyLatin\": \"Smith\",\n    \"dob\": \"1978-08-24\",\n    \"nationality\": \"AUS\",\n    \"deceased\": \"2016-09-08\",\n    \"additionalNames\": {\n        \"property1\": \"default\",\n        \"property2\": \"default\"\n    },\n    \"additionalDetails\": {\n        \"height\": 0,\n        \"heightImperial\": \"string\",\n        \"weight\": 0,\n        \"weightImperial\": 0,\n        \"dominantHand\": \"LEFT\",\n        \"dominantFoot\": \"LEFT\",\n        \"homeTown\": \"string\",\n        \"school\": \"string\",\n        \"schoolClass\": \"string\",\n        \"college\": \"string\",\n        \"collegeClass\": \"string\",\n        \"representation\": \"string\",\n        \"juniorAssociationLeague\": \"string\"\n    },\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"historicalNames\": [\n        {\n            \"dateStart\": \"2019-08-24\",\n            \"dateEnd\": \"2019-08-24\",\n            \"nameFullLocal\": \"string\",\n            \"nameGivenLocal\": \"string\",\n            \"nameFamilyLocal\": \"string\",\n            \"nameFullLatin\": \"string\",\n            \"nameGivenLatin\": \"string\",\n            \"nameFamilyLatin\": \"string\"\n        }\n    ],\n    \"representing\": \"AUSTRALIA\",\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"gender\\\":\\\"MALE\\\",\\\"nameFullLocal\\\":\\\"John Smith\\\",\\\"nameAbbreviated\\\":\\\"Pat\\\",\\\"languageLocal\\\":\\\"en\\\",\\\"nameGivenLocal\\\":\\\"John\\\",\\\"nameFamilyLocal\\\":\\\"Smith\\\",\\\"nameFullLatin\\\":\\\"John Smith\\\",\\\"nameGivenLatin\\\":\\\"John\\\",\\\"nameFamilyLatin\\\":\\\"Smith\\\",\\\"dob\\\":\\\"1978-08-24\\\",\\\"nationality\\\":\\\"AUS\\\",\\\"deceased\\\":\\\"2016-09-08\\\",\\\"additionalNames\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"additionalDetails\\\":{\\\"height\\\":0,\\\"heightImperial\\\":\\\"string\\\",\\\"weight\\\":0,\\\"weightImperial\\\":0,\\\"dominantHand\\\":\\\"LEFT\\\",\\\"dominantFoot\\\":\\\"LEFT\\\",\\\"homeTown\\\":\\\"string\\\",\\\"school\\\":\\\"string\\\",\\\"schoolClass\\\":\\\"string\\\",\\\"college\\\":\\\"string\\\",\\\"collegeClass\\\":\\\"string\\\",\\\"representation\\\":\\\"string\\\",\\\"juniorAssociationLeague\\\":\\\"string\\\"},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameGivenLocal\\\":\\\"string\\\",\\\"nameFamilyLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameGivenLatin\\\":\\\"string\\\",\\\"nameFamilyLatin\\\":\\\"string\\\"}],\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"status\":\"ACTIVE\",\"gender\":\"MALE\",\"nameFullLocal\":\"John Smith\",\"nameAbbreviated\":\"Pat\",\"languageLocal\":\"en\",\"nameGivenLocal\":\"John\",\"nameFamilyLocal\":\"Smith\",\"nameFullLatin\":\"John Smith\",\"nameGivenLatin\":\"John\",\"nameFamilyLatin\":\"Smith\",\"dob\":\"1978-08-24\",\"nationality\":\"AUS\",\"deceased\":\"2016-09-08\",\"additionalNames\":{\"property1\":\"default\",\"property2\":\"default\"},\"additionalDetails\":{\"height\":0,\"heightImperial\":\"string\",\"weight\":0,\"weightImperial\":0,\"dominantHand\":\"LEFT\",\"dominantFoot\":\"LEFT\",\"homeTown\":\"string\",\"school\":\"string\",\"schoolClass\":\"string\",\"college\":\"string\",\"collegeClass\":\"string\",\"representation\":\"string\",\"juniorAssociationLeague\":\"string\"},\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"historicalNames\":[{\"dateStart\":\"2019-08-24\",\"dateEnd\":\"2019-08-24\",\"nameFullLocal\":\"string\",\"nameGivenLocal\":\"string\",\"nameFamilyLocal\":\"string\",\"nameFullLatin\":\"string\",\"nameGivenLatin\":\"string\",\"nameFamilyLatin\":\"string\"}],\"representing\":\"AUSTRALIA\",\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"status\": \"ACTIVE\",\n  \"gender\": \"MALE\",\n  \"nameFullLocal\": \"John Smith\",\n  \"nameAbbreviated\": \"Pat\",\n  \"languageLocal\": \"en\",\n  \"nameGivenLocal\": \"John\",\n  \"nameFamilyLocal\": \"Smith\",\n  \"nameFullLatin\": \"John Smith\",\n  \"nameGivenLatin\": \"John\",\n  \"nameFamilyLatin\": \"Smith\",\n  \"dob\": \"1978-08-24\",\n  \"nationality\": \"AUS\",\n  \"deceased\": \"2016-09-08\",\n  \"additionalNames\": [\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  ],\n  \"additionalDetails\": [\n    \"height\": 0,\n    \"heightImperial\": \"string\",\n    \"weight\": 0,\n    \"weightImperial\": 0,\n    \"dominantHand\": \"LEFT\",\n    \"dominantFoot\": \"LEFT\",\n    \"homeTown\": \"string\",\n    \"school\": \"string\",\n    \"schoolClass\": \"string\",\n    \"college\": \"string\",\n    \"collegeClass\": \"string\",\n    \"representation\": \"string\",\n    \"juniorAssociationLeague\": \"string\"\n  ],\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"historicalNames\": [\n    [\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameGivenLocal\": \"string\",\n      \"nameFamilyLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameGivenLatin\": \"string\",\n      \"nameFamilyLatin\": \"string\"\n    ]\n  ],\n  \"representing\": \"AUSTRALIA\",\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/competitions":{"get":{"tags":["Competitions"],"summary":"Get a list of competitions","description":"Return a list of available competitions","operationId":"competition_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competitions 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/CompetitionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/ageGroup"},{"name":"competitionId","description":"The unique identifier of the competition. Can specify multiple, delimited by comma.","schema":{"type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatin"},{"$ref":"#/components/parameters/nameLatinContains"},{"$ref":"#/components/parameters/nameLocal"},{"$ref":"#/components/parameters/nameLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"search","description":"Searches the provided text in the fields abbreviationLocal, nameLocal, abbreviationLatin, and nameLatin","schema":{"type":"string","example":"bob"},"required":false,"in":"query"},{"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":"^(\\-?nameLocal|\\-?nameLatin|,)*$","example":"-nameLocal,nameLatin"},"required":false,"in":"query"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"ageGroup\":\"SENIOR\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatin\":\"SOME_STRING_VALUE\",\"nameLatinContains\":\"Dav and nameLatin='David Johnson'\",\"nameLocal\":\"SOME_STRING_VALUE\",\"nameLocalContains\":\"Dav and nameLocal='David Johnson'\",\"offset\":\"10\",\"search\":\"bob\",\"sortBy\":\"-nameLocal,nameLatin\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'\\''David%20Johnson'\\''&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'\\''David%20Johnson'\\''&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&search=bob&sortBy=-nameLocal,nameLatin&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Competitions"],"summary":"Create a competition","description":"Insert a new competition","operationId":"competition_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competitions 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/CompetitionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"leagueId":{"description":"The unique identifier of the league","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"internationalReference":{"description":"The international reference for this competition given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the competition in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"eventType":{"description":"Primary Type of Matches\n>- `FIXTURE` Fixture\n>- `PRACTICE` Practice\n","type":"string","enum":["FIXTURE","PRACTICE"],"maxLength":30,"default":"FIXTURE","example":"FIXTURE"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the competition in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"},"historicalNames":{"type":"array","nullable":true,"title":"Competition historical names","description":"Array of competition historical names","items":{"type":"object","title":"Competition historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"abbreviationLocal":{"description":"Abbreviation in local lanuage","type":"string","nullable":true},"abbreviationLatin":{"description":"Abbreviation in latin characters","type":"string","nullable":true}}}},"ageGroup":{"description":"The age group of the competition\n>- None None\n>- `JUNIOR` Junior\n>- `MASTERS` Masters\n>- `SENIOR` Senior\n>- `UNDER_15` Under 15\n>- `UNDER_16` Under 16\n>- `UNDER_17` Under 17\n>- `UNDER_18` Under 18\n>- `UNDER_19` Under 19\n>- `UNDER_20` Under 20\n>- `UNDER_21` Under 21\n>- `UNDER_22` Under 22\n>- `UNDER_23` Under 23\n>- `YOUTH` Youth\n","type":"string","enum":["JUNIOR","YOUTH","UNDER_15","UNDER_16","UNDER_17","UNDER_18","UNDER_19","UNDER_20","UNDER_21","UNDER_22","UNDER_23","SENIOR","MASTERS",null],"maxLength":50,"nullable":true,"example":"SENIOR"}},"title":"competition post body","required":["nameLocal"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"leagueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"eventType\": \"FIXTURE\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"externalId\": \"A123\",\n  \"historicalNames\": [\n    {\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameLocal\": \"string\",\n      \"nameLatin\": \"string\",\n      \"abbreviationLocal\": \"string\",\n      \"abbreviationLatin\": \"string\"\n    }\n  ],\n  \"ageGroup\": \"SENIOR\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  competitionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  leagueId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  internationalReference: 'CA3243-3',\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  eventType: 'FIXTURE',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  externalId: 'A123',\n  historicalNames: [\n    {\n      dateStart: '2019-08-24',\n      dateEnd: '2019-08-24',\n      nameLocal: 'string',\n      nameLatin: 'string',\n      abbreviationLocal: 'string',\n      abbreviationLatin: 'string'\n    }\n  ],\n  ageGroup: 'SENIOR'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"competitionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"leagueId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"internationalReference\": @\"CA3243-3\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"eventType\": @\"FIXTURE\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"externalId\": @\"A123\",\n                              @\"historicalNames\": @[ @{ @\"dateStart\": @\"2019-08-24\", @\"dateEnd\": @\"2019-08-24\", @\"nameLocal\": @\"string\", @\"nameLatin\": @\"string\", @\"abbreviationLocal\": @\"string\", @\"abbreviationLatin\": @\"string\" } ],\n                              @\"ageGroup\": @\"SENIOR\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"leagueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"internationalReference\": \"CA3243-3\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"eventType\": \"FIXTURE\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"externalId\": \"A123\",\n    \"historicalNames\": [\n        {\n            \"dateStart\": \"2019-08-24\",\n            \"dateEnd\": \"2019-08-24\",\n            \"nameLocal\": \"string\",\n            \"nameLatin\": \"string\",\n            \"abbreviationLocal\": \"string\",\n            \"abbreviationLatin\": \"string\"\n        }\n    ],\n    \"ageGroup\": \"SENIOR\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"leagueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"internationalReference\":\"CA3243-3\",\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"eventType\":\"FIXTURE\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"externalId\":\"A123\",\"historicalNames\":[{\"dateStart\":\"2019-08-24\",\"dateEnd\":\"2019-08-24\",\"nameLocal\":\"string\",\"nameLatin\":\"string\",\"abbreviationLocal\":\"string\",\"abbreviationLatin\":\"string\"}],\"ageGroup\":\"SENIOR\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"leagueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"eventType\": \"FIXTURE\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"externalId\": \"A123\",\n  \"historicalNames\": [\n    [\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameLocal\": \"string\",\n      \"nameLatin\": \"string\",\n      \"abbreviationLocal\": \"string\",\n      \"abbreviationLatin\": \"string\"\n    ]\n  ],\n  \"ageGroup\": \"SENIOR\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/competitions/seasonStatus":{"get":{"tags":["Competitions"],"summary":"Get a list of competitions that have active seasons","description":"Return a list of available competitions that have active seasons","operationId":"competition_list_season_status","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competitions_Season_Status 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/Competitions_Season_StatusModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/ageGroup"},{"$ref":"#/components/parameters/compSeasonUpdated"},{"name":"competitionId","description":"The unique identifier of the competition. Can specify multiple, delimited by comma.","schema":{"type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/seasonStatus"},{"$ref":"#/components/parameters/seasonUpdated"},{"$ref":"#/components/parameters/seasonVideoProduction"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/seasonStatus\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"ageGroup\":\"SENIOR\",\"compSeasonUpdated\":\"2018-08-16T02:11:48\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"seasonStatus\":\"ACTIVE\",\"seasonUpdated\":\"2018-08-16T02:11:48\",\"seasonVideoProduction\":\"NONE,AUTOMATED\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/seasonStatus?added=2018-08-16T02:10:48&ageGroup=SENIOR&compSeasonUpdated=2018-08-16T02:11:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonStatus=ACTIVE&seasonUpdated=2018-08-16T02:11:48&seasonVideoProduction=NONE,AUTOMATED&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/leagues/{leagueId}/competitions":{"get":{"tags":["Competitions"],"summary":"Get a list of competitions by for a league","description":"Return a list of available competitions for a specific league","operationId":"competition_list_by_leagueId","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competitions 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/CompetitionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/ageGroup"},{"name":"competitionId","description":"The unique identifier of the competition. Can specify multiple, delimited by comma.","schema":{"type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"leagueId","description":"The unique identifier of the league","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"search","description":"Searches the provided text in the fields abbreviationLocal, nameLocal, abbreviationLatin, and nameLatin","schema":{"type":"string","example":"bob"},"required":false,"in":"query"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"ageGroup\":\"SENIOR\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"search\":\"bob\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}/competitions?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&search=bob&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/competitions/{competitionId}":{"get":{"tags":["Competitions"],"summary":"Get a competition","description":"Return detailed information about a competition","operationId":"competition_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competitions 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/CompetitionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Competitions"],"summary":"Update a competition","description":"Change the information of a specific competition","operationId":"competition_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competitions 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/CompetitionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"leagueId":{"description":"The unique identifier of the league","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"internationalReference":{"description":"The international reference for this competition given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the competition in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"eventType":{"description":"Primary Type of Matches\n>- `FIXTURE` Fixture\n>- `PRACTICE` Practice\n","type":"string","enum":["FIXTURE","PRACTICE"],"maxLength":30,"default":"FIXTURE","example":"FIXTURE"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the competition in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"},"historicalNames":{"type":"array","nullable":true,"title":"Competition historical names","description":"Array of competition historical names","items":{"type":"object","title":"Competition historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"abbreviationLocal":{"description":"Abbreviation in local lanuage","type":"string","nullable":true},"abbreviationLatin":{"description":"Abbreviation in latin characters","type":"string","nullable":true}}}},"ageGroup":{"description":"The age group of the competition\n>- None None\n>- `JUNIOR` Junior\n>- `MASTERS` Masters\n>- `SENIOR` Senior\n>- `UNDER_15` Under 15\n>- `UNDER_16` Under 16\n>- `UNDER_17` Under 17\n>- `UNDER_18` Under 18\n>- `UNDER_19` Under 19\n>- `UNDER_20` Under 20\n>- `UNDER_21` Under 21\n>- `UNDER_22` Under 22\n>- `UNDER_23` Under 23\n>- `YOUTH` Youth\n","type":"string","enum":["JUNIOR","YOUTH","UNDER_15","UNDER_16","UNDER_17","UNDER_18","UNDER_19","UNDER_20","UNDER_21","UNDER_22","UNDER_23","SENIOR","MASTERS",null],"maxLength":50,"nullable":true,"example":"SENIOR"}},"title":"competition put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"leagueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"eventType\": \"FIXTURE\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"externalId\": \"A123\",\n  \"historicalNames\": [\n    {\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameLocal\": \"string\",\n      \"nameLatin\": \"string\",\n      \"abbreviationLocal\": \"string\",\n      \"abbreviationLatin\": \"string\"\n    }\n  ],\n  \"ageGroup\": \"SENIOR\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  leagueId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  internationalReference: 'CA3243-3',\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  eventType: 'FIXTURE',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  externalId: 'A123',\n  historicalNames: [\n    {\n      dateStart: '2019-08-24',\n      dateEnd: '2019-08-24',\n      nameLocal: 'string',\n      nameLatin: 'string',\n      abbreviationLocal: 'string',\n      abbreviationLatin: 'string'\n    }\n  ],\n  ageGroup: 'SENIOR'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"leagueId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"internationalReference\": @\"CA3243-3\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"eventType\": @\"FIXTURE\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"externalId\": @\"A123\",\n                              @\"historicalNames\": @[ @{ @\"dateStart\": @\"2019-08-24\", @\"dateEnd\": @\"2019-08-24\", @\"nameLocal\": @\"string\", @\"nameLatin\": @\"string\", @\"abbreviationLocal\": @\"string\", @\"abbreviationLatin\": @\"string\" } ],\n                              @\"ageGroup\": @\"SENIOR\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"leagueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"internationalReference\": \"CA3243-3\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"eventType\": \"FIXTURE\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"externalId\": \"A123\",\n    \"historicalNames\": [\n        {\n            \"dateStart\": \"2019-08-24\",\n            \"dateEnd\": \"2019-08-24\",\n            \"nameLocal\": \"string\",\n            \"nameLatin\": \"string\",\n            \"abbreviationLocal\": \"string\",\n            \"abbreviationLatin\": \"string\"\n        }\n    ],\n    \"ageGroup\": \"SENIOR\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\",\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"ageGroup\\\":\\\"SENIOR\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"leagueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"internationalReference\":\"CA3243-3\",\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"eventType\":\"FIXTURE\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"externalId\":\"A123\",\"historicalNames\":[{\"dateStart\":\"2019-08-24\",\"dateEnd\":\"2019-08-24\",\"nameLocal\":\"string\",\"nameLatin\":\"string\",\"abbreviationLocal\":\"string\",\"abbreviationLatin\":\"string\"}],\"ageGroup\":\"SENIOR\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"leagueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"eventType\": \"FIXTURE\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"externalId\": \"A123\",\n  \"historicalNames\": [\n    [\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameLocal\": \"string\",\n      \"nameLatin\": \"string\",\n      \"abbreviationLocal\": \"string\",\n      \"abbreviationLatin\": \"string\"\n    ]\n  ],\n  \"ageGroup\": \"SENIOR\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Competitions"],"summary":"Delete a competition","description":"Delete a specific competition","operationId":"competition_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competitions 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/CompetitionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/orgGroup/{organizationGroupCode}/competitions":{"get":{"tags":["Competitions"],"summary":"Get a list of competitions for the organization group","description":"Return a list of competitions for the organization group","operationId":"orggroup_competition_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competitions 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/CompetitionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationGroupCode","description":"The unique identifier of the organization group","schema":{"type":"string","minLength":3,"maxLength":150,"example":"aubb"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/competitions\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/competitions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/entities":{"get":{"tags":["Teams"],"summary":"Get a list of teams","description":"Return a list of available teams","operationId":"entity_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Entities 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/EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/ageGroup"},{"$ref":"#/components/parameters/discipline"},{"name":"entityId","description":"The unique identifier of the entity. Can specify multiple, delimited by comma.","schema":{"type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/gender"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/representing"},{"$ref":"#/components/parameters/representingCountry"},{"name":"search","description":"Searches the provided text in the fields nameFullLocal, nameShortLocal, namePlaceLocal, nameFullLatin, nameShortLatin, namePlaceLatin","schema":{"type":"string","example":"bob"},"required":false,"in":"query"},{"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":"^(\\-?nameFullLocal|\\-?nameFullLatin|,)*$","example":"-nameFullLocal,nameFullLatin"},"required":false,"in":"query"},{"$ref":"#/components/parameters/entityStandard"},{"$ref":"#/components/parameters/status"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"ageGroup\":\"SENIOR\",\"discipline\":\"INDOOR\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"gender\":\"MALE\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameFullLatin\":\"SOME_STRING_VALUE\",\"nameFullLatinContains\":\"Dav and nameFullLatin='David Johnson'\",\"nameFullLocal\":\"SOME_STRING_VALUE\",\"nameFullLocalContains\":\"Dav and nameFullLocal='David Johnson'\",\"offset\":\"10\",\"representing\":\"AUSTRALIA\",\"representingCountry\":\"SOME_STRING_VALUE\",\"search\":\"bob\",\"sortBy\":\"-nameFullLocal,nameFullLatin\",\"standard\":\"ELITE\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'\\''David%20Johnson'\\''&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'\\''David%20Johnson'\\''&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&search=bob&sortBy=-nameFullLocal,nameFullLatin&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Teams"],"summary":"Create a team","description":"Add a new team","operationId":"entity_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Entities 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/EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"internationalReference":{"description":"The international reference for this team given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"nameFullLocal":{"description":"The full name of the team in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Los Angeles Armadillos"},"additionalNames":{"type":"object","properties":{"nameShortLocal":{"description":"The short name of the team in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"Armadillos"},"namePlaceLocal":{"description":"The name of the place associated with the team in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles"},"nameShortLatin":{"description":"The short name of the team using [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"Armadillos"},"namePlaceLatin":{"description":"The name of the place associated with the team using [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles"}}},"nameFullLatin":{"description":"The full name of the team in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles Armadillos"},"codeLocal":{"description":"The code of the team in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":5,"nullable":true,"example":"TEST"},"codeLatin":{"description":"The code of the team in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":5,"nullable":true,"example":"TEST"},"address":{"title":"Team address","description":"Street Address for the team","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"},"tiktok":{"type":"string","nullable":true,"example":"example"},"ticketing":{"type":"string","nullable":true,"example":"https://www.tickets.com/example"}}},"contacts":{"title":"Contact details","description":"Public contact fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"fax":{"type":"string","nullable":true,"description":"Fax number"},"phone":{"type":"string","nullable":true,"description":"Primary phone number"},"phoneSecondary":{"type":"string","nullable":true,"description":"Secondary phone number"},"email":{"type":"string","nullable":true,"description":"Primary email address"}}},"details":{"title":"Entity additional details","description":"Additional detail fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"founded":{"description":"Year Founded","type":"number","nullable":true},"squadValue":{"description":"Value of Squad","type":"number","nullable":true}}},"colors":{"type":"object","properties":{"primary":{"description":"Primary color of the team.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"secondary":{"description":"Secondary color of the team.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"tertiary":{"description":"Tertiary color of the team.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"}}},"historicalNames":{"type":"array","nullable":true,"title":"Team historical names","description":"Array of team historical names","items":{"type":"object","title":"Team historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameFullLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameFullLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"nameShortLocal":{"description":"Short name in local language","type":"string","nullable":true},"nameShortLatin":{"description":"Short name in latin characters","type":"string","nullable":true},"namePlaceLocal":{"description":"Place name in latin characters","type":"string","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,"example":"A123"},"ageGroup":{"description":"The age group of the team\n>- None None\n>- `JUNIOR` Junior\n>- `MASTERS` Masters\n>- `SENIOR` Senior\n>- `UNDER_10` Under 10\n>- `UNDER_11` Under 11\n>- `UNDER_12` Under 12\n>- `UNDER_13` Under 13\n>- `UNDER_14` Under 14\n>- `UNDER_15` Under 15\n>- `UNDER_16` Under 16\n>- `UNDER_17` Under 17\n>- `UNDER_18` Under 18\n>- `UNDER_19` Under 19\n>- `UNDER_20` Under 20\n>- `UNDER_21` Under 21\n>- `UNDER_22` Under 22\n>- `UNDER_23` Under 23\n>- `YOUTH` Youth\n","type":"string","enum":["JUNIOR","YOUTH","UNDER_10","UNDER_11","UNDER_12","UNDER_13","UNDER_14","UNDER_15","UNDER_16","UNDER_17","UNDER_18","UNDER_19","UNDER_20","UNDER_21","UNDER_22","UNDER_23","SENIOR","MASTERS",null],"maxLength":50,"nullable":true,"example":"SENIOR"},"gender":{"description":"The gender of the participants in the team\n>- None None\n>- `FEMALE` Female\n>- `MALE` Male\n>- `MIXED` Mixed\n>- `UNKNOWN` Unknown\n","type":"string","enum":["FEMALE","MALE","MIXED","UNKNOWN",null],"maxLength":20,"nullable":true,"example":"MALE"},"standard":{"description":"The playing standard of the team\n>- None None\n>- `ELITE` Professional/elite organisation\n>- `FRIENDLY` International Friendly\n>- `GRASS_ROOT` Normal\n>- `INTERNATIONAL` International\n>- `NONCONTINENTAL_CHAMPIONSHIP` Non-continental Championship\n>- `OLYMPIC` Olympics\n>- `REGION` Regional\n>- `TIER2` lesser standard than elite\n>- `TIER3` lesser standard than tier 2\n>- `WORLD_CHAMPIONSHIP` World Championship\n>- `ZONE_CHAMPIONSHIP` International Zone Championship\n","type":"string","enum":["ELITE","FRIENDLY","GRASS_ROOT","INTERNATIONAL","NONCONTINENTAL_CHAMPIONSHIP","OLYMPIC","REGION","TIER2","TIER3","WORLD_CHAMPIONSHIP","ZONE_CHAMPIONSHIP",null],"maxLength":50,"nullable":true,"example":"ELITE"},"grade":{"description":"The playing grade of the matches for this team","type":"string","maxLength":50,"nullable":true,"example":"A"},"representing":{"description":"Who the team was representing","type":"string","maxLength":100,"nullable":true,"example":"AUSTRALIA"},"discipline":{"description":"Discipline' the team participates in\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"defaultVenueId":{"description":"The unique identifier of the default venue","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"alternateVenueIds":{"type":"array","items":{"type":"string","format":"uuid"}}},"title":"team post body","required":["status","nameFullLocal"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"ACTIVE\",\n  \"nameFullLocal\": \"Los Angeles Armadillos\",\n  \"additionalNames\": {\n    \"nameShortLocal\": \"Armadillos\",\n    \"namePlaceLocal\": \"Los Angeles\",\n    \"nameShortLatin\": \"Armadillos\",\n    \"namePlaceLatin\": \"Los Angeles\"\n  },\n  \"nameFullLatin\": \"Los Angeles Armadillos\",\n  \"codeLocal\": \"TEST\",\n  \"codeLatin\": \"TEST\",\n  \"address\": {\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  },\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\",\n    \"tiktok\": \"example\",\n    \"ticketing\": \"https://www.tickets.com/example\"\n  },\n  \"contacts\": {\n    \"fax\": \"string\",\n    \"phone\": \"string\",\n    \"phoneSecondary\": \"string\",\n    \"email\": \"string\"\n  },\n  \"details\": {\n    \"founded\": 0,\n    \"squadValue\": 0\n  },\n  \"colors\": {\n    \"primary\": \"FFF111\",\n    \"secondary\": \"FFF111\",\n    \"tertiary\": \"FFF111\"\n  },\n  \"historicalNames\": [\n    {\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameShortLocal\": \"string\",\n      \"nameShortLatin\": \"string\",\n      \"namePlaceLocal\": \"string\"\n    }\n  ],\n  \"externalId\": \"A123\",\n  \"ageGroup\": \"SENIOR\",\n  \"gender\": \"MALE\",\n  \"standard\": \"ELITE\",\n  \"grade\": \"A\",\n  \"representing\": \"AUSTRALIA\",\n  \"discipline\": \"INDOOR\",\n  \"defaultVenueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"alternateVenueIds\": [\n    \"497f6eca-6276-4993-bfeb-53cbbbba6f08\"\n  ]\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityGroupId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  internationalReference: 'CA3243-3',\n  status: 'ACTIVE',\n  nameFullLocal: 'Los Angeles Armadillos',\n  additionalNames: {\n    nameShortLocal: 'Armadillos',\n    namePlaceLocal: 'Los Angeles',\n    nameShortLatin: 'Armadillos',\n    namePlaceLatin: 'Los Angeles'\n  },\n  nameFullLatin: 'Los Angeles Armadillos',\n  codeLocal: 'TEST',\n  codeLatin: 'TEST',\n  address: {\n    address1: 'string',\n    address2: 'string',\n    address3: 'string',\n    city: 'string',\n    state: 'string',\n    postalCode: 'string',\n    countryCode: 'str',\n    longitude: 0,\n    latitude: 0\n  },\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example',\n    tiktok: 'example',\n    ticketing: 'https://www.tickets.com/example'\n  },\n  contacts: {fax: 'string', phone: 'string', phoneSecondary: 'string', email: 'string'},\n  details: {founded: 0, squadValue: 0},\n  colors: {primary: 'FFF111', secondary: 'FFF111', tertiary: 'FFF111'},\n  historicalNames: [\n    {\n      dateStart: '2019-08-24',\n      dateEnd: '2019-08-24',\n      nameFullLocal: 'string',\n      nameFullLatin: 'string',\n      nameShortLocal: 'string',\n      nameShortLatin: 'string',\n      namePlaceLocal: 'string'\n    }\n  ],\n  externalId: 'A123',\n  ageGroup: 'SENIOR',\n  gender: 'MALE',\n  standard: 'ELITE',\n  grade: 'A',\n  representing: 'AUSTRALIA',\n  discipline: 'INDOOR',\n  defaultVenueId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  alternateVenueIds: ['497f6eca-6276-4993-bfeb-53cbbbba6f08']\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityGroupId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"internationalReference\": @\"CA3243-3\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"nameFullLocal\": @\"Los Angeles Armadillos\",\n                              @\"additionalNames\": @{ @\"nameShortLocal\": @\"Armadillos\", @\"namePlaceLocal\": @\"Los Angeles\", @\"nameShortLatin\": @\"Armadillos\", @\"namePlaceLatin\": @\"Los Angeles\" },\n                              @\"nameFullLatin\": @\"Los Angeles Armadillos\",\n                              @\"codeLocal\": @\"TEST\",\n                              @\"codeLatin\": @\"TEST\",\n                              @\"address\": @{ @\"address1\": @\"string\", @\"address2\": @\"string\", @\"address3\": @\"string\", @\"city\": @\"string\", @\"state\": @\"string\", @\"postalCode\": @\"string\", @\"countryCode\": @\"str\", @\"longitude\": @0, @\"latitude\": @0 },\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\", @\"tiktok\": @\"example\", @\"ticketing\": @\"https://www.tickets.com/example\" },\n                              @\"contacts\": @{ @\"fax\": @\"string\", @\"phone\": @\"string\", @\"phoneSecondary\": @\"string\", @\"email\": @\"string\" },\n                              @\"details\": @{ @\"founded\": @0, @\"squadValue\": @0 },\n                              @\"colors\": @{ @\"primary\": @\"FFF111\", @\"secondary\": @\"FFF111\", @\"tertiary\": @\"FFF111\" },\n                              @\"historicalNames\": @[ @{ @\"dateStart\": @\"2019-08-24\", @\"dateEnd\": @\"2019-08-24\", @\"nameFullLocal\": @\"string\", @\"nameFullLatin\": @\"string\", @\"nameShortLocal\": @\"string\", @\"nameShortLatin\": @\"string\", @\"namePlaceLocal\": @\"string\" } ],\n                              @\"externalId\": @\"A123\",\n                              @\"ageGroup\": @\"SENIOR\",\n                              @\"gender\": @\"MALE\",\n                              @\"standard\": @\"ELITE\",\n                              @\"grade\": @\"A\",\n                              @\"representing\": @\"AUSTRALIA\",\n                              @\"discipline\": @\"INDOOR\",\n                              @\"defaultVenueId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"alternateVenueIds\": @[ @\"497f6eca-6276-4993-bfeb-53cbbbba6f08\" ] };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"internationalReference\": \"CA3243-3\",\n    \"status\": \"ACTIVE\",\n    \"nameFullLocal\": \"Los Angeles Armadillos\",\n    \"additionalNames\": {\n        \"nameShortLocal\": \"Armadillos\",\n        \"namePlaceLocal\": \"Los Angeles\",\n        \"nameShortLatin\": \"Armadillos\",\n        \"namePlaceLatin\": \"Los Angeles\"\n    },\n    \"nameFullLatin\": \"Los Angeles Armadillos\",\n    \"codeLocal\": \"TEST\",\n    \"codeLatin\": \"TEST\",\n    \"address\": {\n        \"address1\": \"string\",\n        \"address2\": \"string\",\n        \"address3\": \"string\",\n        \"city\": \"string\",\n        \"state\": \"string\",\n        \"postalCode\": \"string\",\n        \"countryCode\": \"str\",\n        \"longitude\": 0,\n        \"latitude\": 0\n    },\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\",\n        \"tiktok\": \"example\",\n        \"ticketing\": \"https://www.tickets.com/example\"\n    },\n    \"contacts\": {\n        \"fax\": \"string\",\n        \"phone\": \"string\",\n        \"phoneSecondary\": \"string\",\n        \"email\": \"string\"\n    },\n    \"details\": {\n        \"founded\": 0,\n        \"squadValue\": 0\n    },\n    \"colors\": {\n        \"primary\": \"FFF111\",\n        \"secondary\": \"FFF111\",\n        \"tertiary\": \"FFF111\"\n    },\n    \"historicalNames\": [\n        {\n            \"dateStart\": \"2019-08-24\",\n            \"dateEnd\": \"2019-08-24\",\n            \"nameFullLocal\": \"string\",\n            \"nameFullLatin\": \"string\",\n            \"nameShortLocal\": \"string\",\n            \"nameShortLatin\": \"string\",\n            \"namePlaceLocal\": \"string\"\n        }\n    ],\n    \"externalId\": \"A123\",\n    \"ageGroup\": \"SENIOR\",\n    \"gender\": \"MALE\",\n    \"standard\": \"ELITE\",\n    \"grade\": \"A\",\n    \"representing\": \"AUSTRALIA\",\n    \"discipline\": \"INDOOR\",\n    \"defaultVenueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"alternateVenueIds\": [\"497f6eca-6276-4993-bfeb-53cbbbba6f08\"]\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityGroupId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"internationalReference\":\"CA3243-3\",\"status\":\"ACTIVE\",\"nameFullLocal\":\"Los Angeles Armadillos\",\"additionalNames\":{\"nameShortLocal\":\"Armadillos\",\"namePlaceLocal\":\"Los Angeles\",\"nameShortLatin\":\"Armadillos\",\"namePlaceLatin\":\"Los Angeles\"},\"nameFullLatin\":\"Los Angeles Armadillos\",\"codeLocal\":\"TEST\",\"codeLatin\":\"TEST\",\"address\":{\"address1\":\"string\",\"address2\":\"string\",\"address3\":\"string\",\"city\":\"string\",\"state\":\"string\",\"postalCode\":\"string\",\"countryCode\":\"str\",\"longitude\":0,\"latitude\":0},\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\",\"tiktok\":\"example\",\"ticketing\":\"https://www.tickets.com/example\"},\"contacts\":{\"fax\":\"string\",\"phone\":\"string\",\"phoneSecondary\":\"string\",\"email\":\"string\"},\"details\":{\"founded\":0,\"squadValue\":0},\"colors\":{\"primary\":\"FFF111\",\"secondary\":\"FFF111\",\"tertiary\":\"FFF111\"},\"historicalNames\":[{\"dateStart\":\"2019-08-24\",\"dateEnd\":\"2019-08-24\",\"nameFullLocal\":\"string\",\"nameFullLatin\":\"string\",\"nameShortLocal\":\"string\",\"nameShortLatin\":\"string\",\"namePlaceLocal\":\"string\"}],\"externalId\":\"A123\",\"ageGroup\":\"SENIOR\",\"gender\":\"MALE\",\"standard\":\"ELITE\",\"grade\":\"A\",\"representing\":\"AUSTRALIA\",\"discipline\":\"INDOOR\",\"defaultVenueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"alternateVenueIds\":[\"497f6eca-6276-4993-bfeb-53cbbbba6f08\"]}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"ACTIVE\",\n  \"nameFullLocal\": \"Los Angeles Armadillos\",\n  \"additionalNames\": [\n    \"nameShortLocal\": \"Armadillos\",\n    \"namePlaceLocal\": \"Los Angeles\",\n    \"nameShortLatin\": \"Armadillos\",\n    \"namePlaceLatin\": \"Los Angeles\"\n  ],\n  \"nameFullLatin\": \"Los Angeles Armadillos\",\n  \"codeLocal\": \"TEST\",\n  \"codeLatin\": \"TEST\",\n  \"address\": [\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  ],\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\",\n    \"tiktok\": \"example\",\n    \"ticketing\": \"https://www.tickets.com/example\"\n  ],\n  \"contacts\": [\n    \"fax\": \"string\",\n    \"phone\": \"string\",\n    \"phoneSecondary\": \"string\",\n    \"email\": \"string\"\n  ],\n  \"details\": [\n    \"founded\": 0,\n    \"squadValue\": 0\n  ],\n  \"colors\": [\n    \"primary\": \"FFF111\",\n    \"secondary\": \"FFF111\",\n    \"tertiary\": \"FFF111\"\n  ],\n  \"historicalNames\": [\n    [\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameShortLocal\": \"string\",\n      \"nameShortLatin\": \"string\",\n      \"namePlaceLocal\": \"string\"\n    ]\n  ],\n  \"externalId\": \"A123\",\n  \"ageGroup\": \"SENIOR\",\n  \"gender\": \"MALE\",\n  \"standard\": \"ELITE\",\n  \"grade\": \"A\",\n  \"representing\": \"AUSTRALIA\",\n  \"discipline\": \"INDOOR\",\n  \"defaultVenueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"alternateVenueIds\": [\"497f6eca-6276-4993-bfeb-53cbbbba6f08\"]\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities":{"get":{"tags":["Teams"],"summary":"Get a list of teams for a club","description":"Return a list of available teams linked to a specific club","operationId":"entity_list_by_entity_group","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Entities 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/EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/ageGroup"},{"$ref":"#/components/parameters/discipline"},{"name":"entityGroupId","description":"The unique identifier of the entity group","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"entityId","description":"The unique identifier of the entity. Can specify multiple, delimited by comma.","schema":{"type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/gender"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameFullLatin"},{"$ref":"#/components/parameters/nameFullLocal"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"search","description":"Searches the provided text in the fields nameFullLocal, nameShortLocal, namePlaceLocal, nameFullLatin, nameShortLatin, namePlaceLatin","schema":{"type":"string","example":"bob"},"required":false,"in":"query"},{"$ref":"#/components/parameters/entityStandard"},{"$ref":"#/components/parameters/status"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"ageGroup\":\"SENIOR\",\"discipline\":\"INDOOR\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"gender\":\"MALE\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameFullLatin\":\"SOME_STRING_VALUE\",\"nameFullLocal\":\"SOME_STRING_VALUE\",\"offset\":\"10\",\"search\":\"bob\",\"standard\":\"ELITE\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}/entities?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLocal=SOME_STRING_VALUE&offset=10&search=bob&standard=ELITE&status=ACTIVE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/entities/{entityId}":{"get":{"tags":["Teams"],"summary":"Get a team","description":"Return detailed information about a specific team","operationId":"entity_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Entities 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/EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Teams"],"summary":"Update a team","description":"Change the information of a specific team","operationId":"entity_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Entities 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/EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"internationalReference":{"description":"The international reference for this team given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"nameFullLocal":{"description":"The full name of the team in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Los Angeles Armadillos"},"additionalNames":{"type":"object","properties":{"nameShortLocal":{"description":"The short name of the team in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"Armadillos"},"namePlaceLocal":{"description":"The name of the place associated with the team in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles"},"nameShortLatin":{"description":"The short name of the team using [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"Armadillos"},"namePlaceLatin":{"description":"The name of the place associated with the team using [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles"}}},"nameFullLatin":{"description":"The full name of the team in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles Armadillos"},"codeLocal":{"description":"The code of the team in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":5,"nullable":true,"example":"TEST"},"codeLatin":{"description":"The code of the team in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":5,"nullable":true,"example":"TEST"},"address":{"title":"Team address","description":"Street Address for the team","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"},"tiktok":{"type":"string","nullable":true,"example":"example"},"ticketing":{"type":"string","nullable":true,"example":"https://www.tickets.com/example"}}},"contacts":{"title":"Contact details","description":"Public contact fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"fax":{"type":"string","nullable":true,"description":"Fax number"},"phone":{"type":"string","nullable":true,"description":"Primary phone number"},"phoneSecondary":{"type":"string","nullable":true,"description":"Secondary phone number"},"email":{"type":"string","nullable":true,"description":"Primary email address"}}},"details":{"title":"Entity additional details","description":"Additional detail fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"founded":{"description":"Year Founded","type":"number","nullable":true},"squadValue":{"description":"Value of Squad","type":"number","nullable":true}}},"colors":{"type":"object","properties":{"primary":{"description":"Primary color of the team.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"secondary":{"description":"Secondary color of the team.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"tertiary":{"description":"Tertiary color of the team.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"}}},"historicalNames":{"type":"array","nullable":true,"title":"Team historical names","description":"Array of team historical names","items":{"type":"object","title":"Team historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameFullLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameFullLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"nameShortLocal":{"description":"Short name in local language","type":"string","nullable":true},"nameShortLatin":{"description":"Short name in latin characters","type":"string","nullable":true},"namePlaceLocal":{"description":"Place name in latin characters","type":"string","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,"example":"A123"},"ageGroup":{"description":"The age group of the team\n>- None None\n>- `JUNIOR` Junior\n>- `MASTERS` Masters\n>- `SENIOR` Senior\n>- `UNDER_10` Under 10\n>- `UNDER_11` Under 11\n>- `UNDER_12` Under 12\n>- `UNDER_13` Under 13\n>- `UNDER_14` Under 14\n>- `UNDER_15` Under 15\n>- `UNDER_16` Under 16\n>- `UNDER_17` Under 17\n>- `UNDER_18` Under 18\n>- `UNDER_19` Under 19\n>- `UNDER_20` Under 20\n>- `UNDER_21` Under 21\n>- `UNDER_22` Under 22\n>- `UNDER_23` Under 23\n>- `YOUTH` Youth\n","type":"string","enum":["JUNIOR","YOUTH","UNDER_10","UNDER_11","UNDER_12","UNDER_13","UNDER_14","UNDER_15","UNDER_16","UNDER_17","UNDER_18","UNDER_19","UNDER_20","UNDER_21","UNDER_22","UNDER_23","SENIOR","MASTERS",null],"maxLength":50,"nullable":true,"example":"SENIOR"},"gender":{"description":"The gender of the participants in the team\n>- None None\n>- `FEMALE` Female\n>- `MALE` Male\n>- `MIXED` Mixed\n>- `UNKNOWN` Unknown\n","type":"string","enum":["FEMALE","MALE","MIXED","UNKNOWN",null],"maxLength":20,"nullable":true,"example":"MALE"},"standard":{"description":"The playing standard of the team\n>- None None\n>- `ELITE` Professional/elite organisation\n>- `FRIENDLY` International Friendly\n>- `GRASS_ROOT` Normal\n>- `INTERNATIONAL` International\n>- `NONCONTINENTAL_CHAMPIONSHIP` Non-continental Championship\n>- `OLYMPIC` Olympics\n>- `REGION` Regional\n>- `TIER2` lesser standard than elite\n>- `TIER3` lesser standard than tier 2\n>- `WORLD_CHAMPIONSHIP` World Championship\n>- `ZONE_CHAMPIONSHIP` International Zone Championship\n","type":"string","enum":["ELITE","FRIENDLY","GRASS_ROOT","INTERNATIONAL","NONCONTINENTAL_CHAMPIONSHIP","OLYMPIC","REGION","TIER2","TIER3","WORLD_CHAMPIONSHIP","ZONE_CHAMPIONSHIP",null],"maxLength":50,"nullable":true,"example":"ELITE"},"grade":{"description":"The playing grade of the matches for this team","type":"string","maxLength":50,"nullable":true,"example":"A"},"representing":{"description":"Who the team was representing","type":"string","maxLength":100,"nullable":true,"example":"AUSTRALIA"},"discipline":{"description":"Discipline' the team participates in\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"defaultVenueId":{"description":"The unique identifier of the default venue","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"alternateVenueIds":{"type":"array","items":{"type":"string","format":"uuid"}}},"title":"team put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"ACTIVE\",\n  \"nameFullLocal\": \"Los Angeles Armadillos\",\n  \"additionalNames\": {\n    \"nameShortLocal\": \"Armadillos\",\n    \"namePlaceLocal\": \"Los Angeles\",\n    \"nameShortLatin\": \"Armadillos\",\n    \"namePlaceLatin\": \"Los Angeles\"\n  },\n  \"nameFullLatin\": \"Los Angeles Armadillos\",\n  \"codeLocal\": \"TEST\",\n  \"codeLatin\": \"TEST\",\n  \"address\": {\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  },\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\",\n    \"tiktok\": \"example\",\n    \"ticketing\": \"https://www.tickets.com/example\"\n  },\n  \"contacts\": {\n    \"fax\": \"string\",\n    \"phone\": \"string\",\n    \"phoneSecondary\": \"string\",\n    \"email\": \"string\"\n  },\n  \"details\": {\n    \"founded\": 0,\n    \"squadValue\": 0\n  },\n  \"colors\": {\n    \"primary\": \"FFF111\",\n    \"secondary\": \"FFF111\",\n    \"tertiary\": \"FFF111\"\n  },\n  \"historicalNames\": [\n    {\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameShortLocal\": \"string\",\n      \"nameShortLatin\": \"string\",\n      \"namePlaceLocal\": \"string\"\n    }\n  ],\n  \"externalId\": \"A123\",\n  \"ageGroup\": \"SENIOR\",\n  \"gender\": \"MALE\",\n  \"standard\": \"ELITE\",\n  \"grade\": \"A\",\n  \"representing\": \"AUSTRALIA\",\n  \"discipline\": \"INDOOR\",\n  \"defaultVenueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"alternateVenueIds\": [\n    \"497f6eca-6276-4993-bfeb-53cbbbba6f08\"\n  ]\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  entityGroupId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  internationalReference: 'CA3243-3',\n  status: 'ACTIVE',\n  nameFullLocal: 'Los Angeles Armadillos',\n  additionalNames: {\n    nameShortLocal: 'Armadillos',\n    namePlaceLocal: 'Los Angeles',\n    nameShortLatin: 'Armadillos',\n    namePlaceLatin: 'Los Angeles'\n  },\n  nameFullLatin: 'Los Angeles Armadillos',\n  codeLocal: 'TEST',\n  codeLatin: 'TEST',\n  address: {\n    address1: 'string',\n    address2: 'string',\n    address3: 'string',\n    city: 'string',\n    state: 'string',\n    postalCode: 'string',\n    countryCode: 'str',\n    longitude: 0,\n    latitude: 0\n  },\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example',\n    tiktok: 'example',\n    ticketing: 'https://www.tickets.com/example'\n  },\n  contacts: {fax: 'string', phone: 'string', phoneSecondary: 'string', email: 'string'},\n  details: {founded: 0, squadValue: 0},\n  colors: {primary: 'FFF111', secondary: 'FFF111', tertiary: 'FFF111'},\n  historicalNames: [\n    {\n      dateStart: '2019-08-24',\n      dateEnd: '2019-08-24',\n      nameFullLocal: 'string',\n      nameFullLatin: 'string',\n      nameShortLocal: 'string',\n      nameShortLatin: 'string',\n      namePlaceLocal: 'string'\n    }\n  ],\n  externalId: 'A123',\n  ageGroup: 'SENIOR',\n  gender: 'MALE',\n  standard: 'ELITE',\n  grade: 'A',\n  representing: 'AUSTRALIA',\n  discipline: 'INDOOR',\n  defaultVenueId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  alternateVenueIds: ['497f6eca-6276-4993-bfeb-53cbbbba6f08']\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"entityGroupId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"internationalReference\": @\"CA3243-3\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"nameFullLocal\": @\"Los Angeles Armadillos\",\n                              @\"additionalNames\": @{ @\"nameShortLocal\": @\"Armadillos\", @\"namePlaceLocal\": @\"Los Angeles\", @\"nameShortLatin\": @\"Armadillos\", @\"namePlaceLatin\": @\"Los Angeles\" },\n                              @\"nameFullLatin\": @\"Los Angeles Armadillos\",\n                              @\"codeLocal\": @\"TEST\",\n                              @\"codeLatin\": @\"TEST\",\n                              @\"address\": @{ @\"address1\": @\"string\", @\"address2\": @\"string\", @\"address3\": @\"string\", @\"city\": @\"string\", @\"state\": @\"string\", @\"postalCode\": @\"string\", @\"countryCode\": @\"str\", @\"longitude\": @0, @\"latitude\": @0 },\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\", @\"tiktok\": @\"example\", @\"ticketing\": @\"https://www.tickets.com/example\" },\n                              @\"contacts\": @{ @\"fax\": @\"string\", @\"phone\": @\"string\", @\"phoneSecondary\": @\"string\", @\"email\": @\"string\" },\n                              @\"details\": @{ @\"founded\": @0, @\"squadValue\": @0 },\n                              @\"colors\": @{ @\"primary\": @\"FFF111\", @\"secondary\": @\"FFF111\", @\"tertiary\": @\"FFF111\" },\n                              @\"historicalNames\": @[ @{ @\"dateStart\": @\"2019-08-24\", @\"dateEnd\": @\"2019-08-24\", @\"nameFullLocal\": @\"string\", @\"nameFullLatin\": @\"string\", @\"nameShortLocal\": @\"string\", @\"nameShortLatin\": @\"string\", @\"namePlaceLocal\": @\"string\" } ],\n                              @\"externalId\": @\"A123\",\n                              @\"ageGroup\": @\"SENIOR\",\n                              @\"gender\": @\"MALE\",\n                              @\"standard\": @\"ELITE\",\n                              @\"grade\": @\"A\",\n                              @\"representing\": @\"AUSTRALIA\",\n                              @\"discipline\": @\"INDOOR\",\n                              @\"defaultVenueId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"alternateVenueIds\": @[ @\"497f6eca-6276-4993-bfeb-53cbbbba6f08\" ] };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"internationalReference\": \"CA3243-3\",\n    \"status\": \"ACTIVE\",\n    \"nameFullLocal\": \"Los Angeles Armadillos\",\n    \"additionalNames\": {\n        \"nameShortLocal\": \"Armadillos\",\n        \"namePlaceLocal\": \"Los Angeles\",\n        \"nameShortLatin\": \"Armadillos\",\n        \"namePlaceLatin\": \"Los Angeles\"\n    },\n    \"nameFullLatin\": \"Los Angeles Armadillos\",\n    \"codeLocal\": \"TEST\",\n    \"codeLatin\": \"TEST\",\n    \"address\": {\n        \"address1\": \"string\",\n        \"address2\": \"string\",\n        \"address3\": \"string\",\n        \"city\": \"string\",\n        \"state\": \"string\",\n        \"postalCode\": \"string\",\n        \"countryCode\": \"str\",\n        \"longitude\": 0,\n        \"latitude\": 0\n    },\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\",\n        \"tiktok\": \"example\",\n        \"ticketing\": \"https://www.tickets.com/example\"\n    },\n    \"contacts\": {\n        \"fax\": \"string\",\n        \"phone\": \"string\",\n        \"phoneSecondary\": \"string\",\n        \"email\": \"string\"\n    },\n    \"details\": {\n        \"founded\": 0,\n        \"squadValue\": 0\n    },\n    \"colors\": {\n        \"primary\": \"FFF111\",\n        \"secondary\": \"FFF111\",\n        \"tertiary\": \"FFF111\"\n    },\n    \"historicalNames\": [\n        {\n            \"dateStart\": \"2019-08-24\",\n            \"dateEnd\": \"2019-08-24\",\n            \"nameFullLocal\": \"string\",\n            \"nameFullLatin\": \"string\",\n            \"nameShortLocal\": \"string\",\n            \"nameShortLatin\": \"string\",\n            \"namePlaceLocal\": \"string\"\n        }\n    ],\n    \"externalId\": \"A123\",\n    \"ageGroup\": \"SENIOR\",\n    \"gender\": \"MALE\",\n    \"standard\": \"ELITE\",\n    \"grade\": \"A\",\n    \"representing\": \"AUSTRALIA\",\n    \"discipline\": \"INDOOR\",\n    \"defaultVenueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"alternateVenueIds\": [\"497f6eca-6276-4993-bfeb-53cbbbba6f08\"]\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\",\\\"tiktok\\\":\\\"example\\\",\\\"ticketing\\\":\\\"https://www.tickets.com/example\\\"},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"gender\\\":\\\"MALE\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"grade\\\":\\\"A\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"discipline\\\":\\\"INDOOR\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"entityGroupId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"internationalReference\":\"CA3243-3\",\"status\":\"ACTIVE\",\"nameFullLocal\":\"Los Angeles Armadillos\",\"additionalNames\":{\"nameShortLocal\":\"Armadillos\",\"namePlaceLocal\":\"Los Angeles\",\"nameShortLatin\":\"Armadillos\",\"namePlaceLatin\":\"Los Angeles\"},\"nameFullLatin\":\"Los Angeles Armadillos\",\"codeLocal\":\"TEST\",\"codeLatin\":\"TEST\",\"address\":{\"address1\":\"string\",\"address2\":\"string\",\"address3\":\"string\",\"city\":\"string\",\"state\":\"string\",\"postalCode\":\"string\",\"countryCode\":\"str\",\"longitude\":0,\"latitude\":0},\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\",\"tiktok\":\"example\",\"ticketing\":\"https://www.tickets.com/example\"},\"contacts\":{\"fax\":\"string\",\"phone\":\"string\",\"phoneSecondary\":\"string\",\"email\":\"string\"},\"details\":{\"founded\":0,\"squadValue\":0},\"colors\":{\"primary\":\"FFF111\",\"secondary\":\"FFF111\",\"tertiary\":\"FFF111\"},\"historicalNames\":[{\"dateStart\":\"2019-08-24\",\"dateEnd\":\"2019-08-24\",\"nameFullLocal\":\"string\",\"nameFullLatin\":\"string\",\"nameShortLocal\":\"string\",\"nameShortLatin\":\"string\",\"namePlaceLocal\":\"string\"}],\"externalId\":\"A123\",\"ageGroup\":\"SENIOR\",\"gender\":\"MALE\",\"standard\":\"ELITE\",\"grade\":\"A\",\"representing\":\"AUSTRALIA\",\"discipline\":\"INDOOR\",\"defaultVenueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"alternateVenueIds\":[\"497f6eca-6276-4993-bfeb-53cbbbba6f08\"]}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"ACTIVE\",\n  \"nameFullLocal\": \"Los Angeles Armadillos\",\n  \"additionalNames\": [\n    \"nameShortLocal\": \"Armadillos\",\n    \"namePlaceLocal\": \"Los Angeles\",\n    \"nameShortLatin\": \"Armadillos\",\n    \"namePlaceLatin\": \"Los Angeles\"\n  ],\n  \"nameFullLatin\": \"Los Angeles Armadillos\",\n  \"codeLocal\": \"TEST\",\n  \"codeLatin\": \"TEST\",\n  \"address\": [\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  ],\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\",\n    \"tiktok\": \"example\",\n    \"ticketing\": \"https://www.tickets.com/example\"\n  ],\n  \"contacts\": [\n    \"fax\": \"string\",\n    \"phone\": \"string\",\n    \"phoneSecondary\": \"string\",\n    \"email\": \"string\"\n  ],\n  \"details\": [\n    \"founded\": 0,\n    \"squadValue\": 0\n  ],\n  \"colors\": [\n    \"primary\": \"FFF111\",\n    \"secondary\": \"FFF111\",\n    \"tertiary\": \"FFF111\"\n  ],\n  \"historicalNames\": [\n    [\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameShortLocal\": \"string\",\n      \"nameShortLatin\": \"string\",\n      \"namePlaceLocal\": \"string\"\n    ]\n  ],\n  \"externalId\": \"A123\",\n  \"ageGroup\": \"SENIOR\",\n  \"gender\": \"MALE\",\n  \"standard\": \"ELITE\",\n  \"grade\": \"A\",\n  \"representing\": \"AUSTRALIA\",\n  \"discipline\": \"INDOOR\",\n  \"defaultVenueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"alternateVenueIds\": [\"497f6eca-6276-4993-bfeb-53cbbbba6f08\"]\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Teams"],"summary":"Delete a team","description":"Delete a specific team","operationId":"entity_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Entities 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/EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/entityGroups":{"get":{"tags":["Clubs"],"summary":"Get a list of clubs","description":"Return a list of available clubs","operationId":"entity_group_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Entity_Groups 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/Entity_GroupsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"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":"^(\\-?nameFullLocal|\\-?nameFullLatin|,)*$","example":"-nameFullLocal,nameFullLatin"},"required":false,"in":"query"},{"$ref":"#/components/parameters/status"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameFullLatin\":\"SOME_STRING_VALUE\",\"nameFullLatinContains\":\"Dav and nameFullLatin='David Johnson'\",\"nameFullLocal\":\"SOME_STRING_VALUE\",\"nameFullLocalContains\":\"Dav and nameFullLocal='David Johnson'\",\"offset\":\"10\",\"sortBy\":\"-nameFullLocal,nameFullLatin\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'\\''David%20Johnson'\\''&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'\\''David%20Johnson'\\''&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&sortBy=-nameFullLocal,nameFullLatin&status=ACTIVE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Clubs"],"summary":"Create a club","description":"Create a new club","operationId":"entity_group_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Entity_Groups 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/Entity_GroupsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"entityGroupId":{"description":"The unique identifier of the club","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"internationalReference":{"description":"The international reference for this club given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"nameFullLocal":{"description":"The full name of the club in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Los Angeles Armadillos"},"additionalNames":{"type":"object","properties":{"nameShortLocal":{"description":"The short name of the club in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"Armadillos"},"namePlaceLocal":{"description":"The name of the place associated with the club in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles"},"nameShortLatin":{"description":"The short name of the club using [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"Armadillos"},"namePlaceLatin":{"description":"The name of the place associated with the club using [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles"}}},"nameFullLatin":{"description":"The full name of the club in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles Armadillos"},"codeLocal":{"description":"The code of the club in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":5,"nullable":true,"example":"TEST"},"codeLatin":{"description":"The code of the club in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":5,"nullable":true,"example":"TEST"},"address":{"title":"Club address","description":"Street Address for the club","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"details":{"title":"Entity additional details","description":"Additional detail fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"founded":{"description":"Year Founded","type":"number","nullable":true},"squadValue":{"description":"Value of Squad","type":"number","nullable":true}}},"contacts":{"title":"Contact details","description":"Public contact fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"fax":{"type":"string","nullable":true,"description":"Fax number"},"phone":{"type":"string","nullable":true,"description":"Primary phone number"},"phoneSecondary":{"type":"string","nullable":true,"description":"Secondary phone number"},"email":{"type":"string","nullable":true,"description":"Primary email address"}}},"colors":{"type":"object","properties":{"primary":{"description":"Primary color of the club.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"secondary":{"description":"Secondary color of the club.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"tertiary":{"description":"Tertiary color of the club.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"}}},"historicalNames":{"type":"array","nullable":true,"title":"Club historical names","description":"Array of club historical names","items":{"type":"object","title":"Club historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameFullLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameFullLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"nameShortLocal":{"description":"Short name in local language","type":"string","nullable":true},"nameShortLatin":{"description":"Short name in latin characters","type":"string","nullable":true},"namePlaceLocal":{"description":"Place name in latin characters","type":"string","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,"example":"A123"},"defaultVenueId":{"description":"The unique identifier of the default venue","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"alternateVenueIds":{"type":"array","items":{"type":"string","format":"uuid"}}},"title":"club post body","required":["status","nameFullLocal"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"ACTIVE\",\n  \"nameFullLocal\": \"Los Angeles Armadillos\",\n  \"additionalNames\": {\n    \"nameShortLocal\": \"Armadillos\",\n    \"namePlaceLocal\": \"Los Angeles\",\n    \"nameShortLatin\": \"Armadillos\",\n    \"namePlaceLatin\": \"Los Angeles\"\n  },\n  \"nameFullLatin\": \"Los Angeles Armadillos\",\n  \"codeLocal\": \"TEST\",\n  \"codeLatin\": \"TEST\",\n  \"address\": {\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  },\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"details\": {\n    \"founded\": 0,\n    \"squadValue\": 0\n  },\n  \"contacts\": {\n    \"fax\": \"string\",\n    \"phone\": \"string\",\n    \"phoneSecondary\": \"string\",\n    \"email\": \"string\"\n  },\n  \"colors\": {\n    \"primary\": \"FFF111\",\n    \"secondary\": \"FFF111\",\n    \"tertiary\": \"FFF111\"\n  },\n  \"historicalNames\": [\n    {\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameShortLocal\": \"string\",\n      \"nameShortLatin\": \"string\",\n      \"namePlaceLocal\": \"string\"\n    }\n  ],\n  \"externalId\": \"A123\",\n  \"defaultVenueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"alternateVenueIds\": [\n    \"497f6eca-6276-4993-bfeb-53cbbbba6f08\"\n  ]\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  entityGroupId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  internationalReference: 'CA3243-3',\n  status: 'ACTIVE',\n  nameFullLocal: 'Los Angeles Armadillos',\n  additionalNames: {\n    nameShortLocal: 'Armadillos',\n    namePlaceLocal: 'Los Angeles',\n    nameShortLatin: 'Armadillos',\n    namePlaceLatin: 'Los Angeles'\n  },\n  nameFullLatin: 'Los Angeles Armadillos',\n  codeLocal: 'TEST',\n  codeLatin: 'TEST',\n  address: {\n    address1: 'string',\n    address2: 'string',\n    address3: 'string',\n    city: 'string',\n    state: 'string',\n    postalCode: 'string',\n    countryCode: 'str',\n    longitude: 0,\n    latitude: 0\n  },\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  details: {founded: 0, squadValue: 0},\n  contacts: {fax: 'string', phone: 'string', phoneSecondary: 'string', email: 'string'},\n  colors: {primary: 'FFF111', secondary: 'FFF111', tertiary: 'FFF111'},\n  historicalNames: [\n    {\n      dateStart: '2019-08-24',\n      dateEnd: '2019-08-24',\n      nameFullLocal: 'string',\n      nameFullLatin: 'string',\n      nameShortLocal: 'string',\n      nameShortLatin: 'string',\n      namePlaceLocal: 'string'\n    }\n  ],\n  externalId: 'A123',\n  defaultVenueId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  alternateVenueIds: ['497f6eca-6276-4993-bfeb-53cbbbba6f08']\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"entityGroupId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"internationalReference\": @\"CA3243-3\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"nameFullLocal\": @\"Los Angeles Armadillos\",\n                              @\"additionalNames\": @{ @\"nameShortLocal\": @\"Armadillos\", @\"namePlaceLocal\": @\"Los Angeles\", @\"nameShortLatin\": @\"Armadillos\", @\"namePlaceLatin\": @\"Los Angeles\" },\n                              @\"nameFullLatin\": @\"Los Angeles Armadillos\",\n                              @\"codeLocal\": @\"TEST\",\n                              @\"codeLatin\": @\"TEST\",\n                              @\"address\": @{ @\"address1\": @\"string\", @\"address2\": @\"string\", @\"address3\": @\"string\", @\"city\": @\"string\", @\"state\": @\"string\", @\"postalCode\": @\"string\", @\"countryCode\": @\"str\", @\"longitude\": @0, @\"latitude\": @0 },\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"details\": @{ @\"founded\": @0, @\"squadValue\": @0 },\n                              @\"contacts\": @{ @\"fax\": @\"string\", @\"phone\": @\"string\", @\"phoneSecondary\": @\"string\", @\"email\": @\"string\" },\n                              @\"colors\": @{ @\"primary\": @\"FFF111\", @\"secondary\": @\"FFF111\", @\"tertiary\": @\"FFF111\" },\n                              @\"historicalNames\": @[ @{ @\"dateStart\": @\"2019-08-24\", @\"dateEnd\": @\"2019-08-24\", @\"nameFullLocal\": @\"string\", @\"nameFullLatin\": @\"string\", @\"nameShortLocal\": @\"string\", @\"nameShortLatin\": @\"string\", @\"namePlaceLocal\": @\"string\" } ],\n                              @\"externalId\": @\"A123\",\n                              @\"defaultVenueId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"alternateVenueIds\": @[ @\"497f6eca-6276-4993-bfeb-53cbbbba6f08\" ] };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"internationalReference\": \"CA3243-3\",\n    \"status\": \"ACTIVE\",\n    \"nameFullLocal\": \"Los Angeles Armadillos\",\n    \"additionalNames\": {\n        \"nameShortLocal\": \"Armadillos\",\n        \"namePlaceLocal\": \"Los Angeles\",\n        \"nameShortLatin\": \"Armadillos\",\n        \"namePlaceLatin\": \"Los Angeles\"\n    },\n    \"nameFullLatin\": \"Los Angeles Armadillos\",\n    \"codeLocal\": \"TEST\",\n    \"codeLatin\": \"TEST\",\n    \"address\": {\n        \"address1\": \"string\",\n        \"address2\": \"string\",\n        \"address3\": \"string\",\n        \"city\": \"string\",\n        \"state\": \"string\",\n        \"postalCode\": \"string\",\n        \"countryCode\": \"str\",\n        \"longitude\": 0,\n        \"latitude\": 0\n    },\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"details\": {\n        \"founded\": 0,\n        \"squadValue\": 0\n    },\n    \"contacts\": {\n        \"fax\": \"string\",\n        \"phone\": \"string\",\n        \"phoneSecondary\": \"string\",\n        \"email\": \"string\"\n    },\n    \"colors\": {\n        \"primary\": \"FFF111\",\n        \"secondary\": \"FFF111\",\n        \"tertiary\": \"FFF111\"\n    },\n    \"historicalNames\": [\n        {\n            \"dateStart\": \"2019-08-24\",\n            \"dateEnd\": \"2019-08-24\",\n            \"nameFullLocal\": \"string\",\n            \"nameFullLatin\": \"string\",\n            \"nameShortLocal\": \"string\",\n            \"nameShortLatin\": \"string\",\n            \"namePlaceLocal\": \"string\"\n        }\n    ],\n    \"externalId\": \"A123\",\n    \"defaultVenueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"alternateVenueIds\": [\"497f6eca-6276-4993-bfeb-53cbbbba6f08\"]\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"entityGroupId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"internationalReference\":\"CA3243-3\",\"status\":\"ACTIVE\",\"nameFullLocal\":\"Los Angeles Armadillos\",\"additionalNames\":{\"nameShortLocal\":\"Armadillos\",\"namePlaceLocal\":\"Los Angeles\",\"nameShortLatin\":\"Armadillos\",\"namePlaceLatin\":\"Los Angeles\"},\"nameFullLatin\":\"Los Angeles Armadillos\",\"codeLocal\":\"TEST\",\"codeLatin\":\"TEST\",\"address\":{\"address1\":\"string\",\"address2\":\"string\",\"address3\":\"string\",\"city\":\"string\",\"state\":\"string\",\"postalCode\":\"string\",\"countryCode\":\"str\",\"longitude\":0,\"latitude\":0},\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"details\":{\"founded\":0,\"squadValue\":0},\"contacts\":{\"fax\":\"string\",\"phone\":\"string\",\"phoneSecondary\":\"string\",\"email\":\"string\"},\"colors\":{\"primary\":\"FFF111\",\"secondary\":\"FFF111\",\"tertiary\":\"FFF111\"},\"historicalNames\":[{\"dateStart\":\"2019-08-24\",\"dateEnd\":\"2019-08-24\",\"nameFullLocal\":\"string\",\"nameFullLatin\":\"string\",\"nameShortLocal\":\"string\",\"nameShortLatin\":\"string\",\"namePlaceLocal\":\"string\"}],\"externalId\":\"A123\",\"defaultVenueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"alternateVenueIds\":[\"497f6eca-6276-4993-bfeb-53cbbbba6f08\"]}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"ACTIVE\",\n  \"nameFullLocal\": \"Los Angeles Armadillos\",\n  \"additionalNames\": [\n    \"nameShortLocal\": \"Armadillos\",\n    \"namePlaceLocal\": \"Los Angeles\",\n    \"nameShortLatin\": \"Armadillos\",\n    \"namePlaceLatin\": \"Los Angeles\"\n  ],\n  \"nameFullLatin\": \"Los Angeles Armadillos\",\n  \"codeLocal\": \"TEST\",\n  \"codeLatin\": \"TEST\",\n  \"address\": [\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  ],\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"details\": [\n    \"founded\": 0,\n    \"squadValue\": 0\n  ],\n  \"contacts\": [\n    \"fax\": \"string\",\n    \"phone\": \"string\",\n    \"phoneSecondary\": \"string\",\n    \"email\": \"string\"\n  ],\n  \"colors\": [\n    \"primary\": \"FFF111\",\n    \"secondary\": \"FFF111\",\n    \"tertiary\": \"FFF111\"\n  ],\n  \"historicalNames\": [\n    [\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameShortLocal\": \"string\",\n      \"nameShortLatin\": \"string\",\n      \"namePlaceLocal\": \"string\"\n    ]\n  ],\n  \"externalId\": \"A123\",\n  \"defaultVenueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"alternateVenueIds\": [\"497f6eca-6276-4993-bfeb-53cbbbba6f08\"]\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/entityGroups/{entityGroupId}":{"get":{"tags":["Clubs"],"summary":"Get a club","description":"Return detailed information about a specific club","operationId":"entity_group_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Entity_Groups 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/Entity_GroupsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"entityGroupId","description":"The unique identifier of the entity group","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Clubs"],"summary":"Update a club","description":"Change the information of a specific club","operationId":"entity_group_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Entity_Groups 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/Entity_GroupsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"entityGroupId","description":"The unique identifier of the entity group","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"internationalReference":{"description":"The international reference for this club given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"nameFullLocal":{"description":"The full name of the club in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Los Angeles Armadillos"},"additionalNames":{"type":"object","properties":{"nameShortLocal":{"description":"The short name of the club in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"Armadillos"},"namePlaceLocal":{"description":"The name of the place associated with the club in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles"},"nameShortLatin":{"description":"The short name of the club using [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"Armadillos"},"namePlaceLatin":{"description":"The name of the place associated with the club using [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles"}}},"nameFullLatin":{"description":"The full name of the club in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Los Angeles Armadillos"},"codeLocal":{"description":"The code of the club in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":5,"nullable":true,"example":"TEST"},"codeLatin":{"description":"The code of the club in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":5,"nullable":true,"example":"TEST"},"address":{"title":"Club address","description":"Street Address for the club","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"details":{"title":"Entity additional details","description":"Additional detail fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"founded":{"description":"Year Founded","type":"number","nullable":true},"squadValue":{"description":"Value of Squad","type":"number","nullable":true}}},"contacts":{"title":"Contact details","description":"Public contact fields","type":"object","nullable":true,"additionalProperties":false,"properties":{"fax":{"type":"string","nullable":true,"description":"Fax number"},"phone":{"type":"string","nullable":true,"description":"Primary phone number"},"phoneSecondary":{"type":"string","nullable":true,"description":"Secondary phone number"},"email":{"type":"string","nullable":true,"description":"Primary email address"}}},"colors":{"type":"object","properties":{"primary":{"description":"Primary color of the club.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"secondary":{"description":"Secondary color of the club.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"},"tertiary":{"description":"Tertiary color of the club.  Colors are a hexadecimal string `RRGGBB` with `RR`(red), `GG`(green) and `BB`(blue) representing the components of the colour. ","type":"string","minLength":6,"maxLength":6,"nullable":true,"example":"FFF111"}}},"historicalNames":{"type":"array","nullable":true,"title":"Club historical names","description":"Array of club historical names","items":{"type":"object","title":"Club historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameFullLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameFullLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"nameShortLocal":{"description":"Short name in local language","type":"string","nullable":true},"nameShortLatin":{"description":"Short name in latin characters","type":"string","nullable":true},"namePlaceLocal":{"description":"Place name in latin characters","type":"string","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,"example":"A123"},"defaultVenueId":{"description":"The unique identifier of the default venue","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"alternateVenueIds":{"type":"array","items":{"type":"string","format":"uuid"}}},"title":"club put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"ACTIVE\",\n  \"nameFullLocal\": \"Los Angeles Armadillos\",\n  \"additionalNames\": {\n    \"nameShortLocal\": \"Armadillos\",\n    \"namePlaceLocal\": \"Los Angeles\",\n    \"nameShortLatin\": \"Armadillos\",\n    \"namePlaceLatin\": \"Los Angeles\"\n  },\n  \"nameFullLatin\": \"Los Angeles Armadillos\",\n  \"codeLocal\": \"TEST\",\n  \"codeLatin\": \"TEST\",\n  \"address\": {\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  },\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"details\": {\n    \"founded\": 0,\n    \"squadValue\": 0\n  },\n  \"contacts\": {\n    \"fax\": \"string\",\n    \"phone\": \"string\",\n    \"phoneSecondary\": \"string\",\n    \"email\": \"string\"\n  },\n  \"colors\": {\n    \"primary\": \"FFF111\",\n    \"secondary\": \"FFF111\",\n    \"tertiary\": \"FFF111\"\n  },\n  \"historicalNames\": [\n    {\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameShortLocal\": \"string\",\n      \"nameShortLatin\": \"string\",\n      \"namePlaceLocal\": \"string\"\n    }\n  ],\n  \"externalId\": \"A123\",\n  \"defaultVenueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"alternateVenueIds\": [\n    \"497f6eca-6276-4993-bfeb-53cbbbba6f08\"\n  ]\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  internationalReference: 'CA3243-3',\n  status: 'ACTIVE',\n  nameFullLocal: 'Los Angeles Armadillos',\n  additionalNames: {\n    nameShortLocal: 'Armadillos',\n    namePlaceLocal: 'Los Angeles',\n    nameShortLatin: 'Armadillos',\n    namePlaceLatin: 'Los Angeles'\n  },\n  nameFullLatin: 'Los Angeles Armadillos',\n  codeLocal: 'TEST',\n  codeLatin: 'TEST',\n  address: {\n    address1: 'string',\n    address2: 'string',\n    address3: 'string',\n    city: 'string',\n    state: 'string',\n    postalCode: 'string',\n    countryCode: 'str',\n    longitude: 0,\n    latitude: 0\n  },\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  details: {founded: 0, squadValue: 0},\n  contacts: {fax: 'string', phone: 'string', phoneSecondary: 'string', email: 'string'},\n  colors: {primary: 'FFF111', secondary: 'FFF111', tertiary: 'FFF111'},\n  historicalNames: [\n    {\n      dateStart: '2019-08-24',\n      dateEnd: '2019-08-24',\n      nameFullLocal: 'string',\n      nameFullLatin: 'string',\n      nameShortLocal: 'string',\n      nameShortLatin: 'string',\n      namePlaceLocal: 'string'\n    }\n  ],\n  externalId: 'A123',\n  defaultVenueId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  alternateVenueIds: ['497f6eca-6276-4993-bfeb-53cbbbba6f08']\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"internationalReference\": @\"CA3243-3\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"nameFullLocal\": @\"Los Angeles Armadillos\",\n                              @\"additionalNames\": @{ @\"nameShortLocal\": @\"Armadillos\", @\"namePlaceLocal\": @\"Los Angeles\", @\"nameShortLatin\": @\"Armadillos\", @\"namePlaceLatin\": @\"Los Angeles\" },\n                              @\"nameFullLatin\": @\"Los Angeles Armadillos\",\n                              @\"codeLocal\": @\"TEST\",\n                              @\"codeLatin\": @\"TEST\",\n                              @\"address\": @{ @\"address1\": @\"string\", @\"address2\": @\"string\", @\"address3\": @\"string\", @\"city\": @\"string\", @\"state\": @\"string\", @\"postalCode\": @\"string\", @\"countryCode\": @\"str\", @\"longitude\": @0, @\"latitude\": @0 },\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"details\": @{ @\"founded\": @0, @\"squadValue\": @0 },\n                              @\"contacts\": @{ @\"fax\": @\"string\", @\"phone\": @\"string\", @\"phoneSecondary\": @\"string\", @\"email\": @\"string\" },\n                              @\"colors\": @{ @\"primary\": @\"FFF111\", @\"secondary\": @\"FFF111\", @\"tertiary\": @\"FFF111\" },\n                              @\"historicalNames\": @[ @{ @\"dateStart\": @\"2019-08-24\", @\"dateEnd\": @\"2019-08-24\", @\"nameFullLocal\": @\"string\", @\"nameFullLatin\": @\"string\", @\"nameShortLocal\": @\"string\", @\"nameShortLatin\": @\"string\", @\"namePlaceLocal\": @\"string\" } ],\n                              @\"externalId\": @\"A123\",\n                              @\"defaultVenueId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"alternateVenueIds\": @[ @\"497f6eca-6276-4993-bfeb-53cbbbba6f08\" ] };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"internationalReference\": \"CA3243-3\",\n    \"status\": \"ACTIVE\",\n    \"nameFullLocal\": \"Los Angeles Armadillos\",\n    \"additionalNames\": {\n        \"nameShortLocal\": \"Armadillos\",\n        \"namePlaceLocal\": \"Los Angeles\",\n        \"nameShortLatin\": \"Armadillos\",\n        \"namePlaceLatin\": \"Los Angeles\"\n    },\n    \"nameFullLatin\": \"Los Angeles Armadillos\",\n    \"codeLocal\": \"TEST\",\n    \"codeLatin\": \"TEST\",\n    \"address\": {\n        \"address1\": \"string\",\n        \"address2\": \"string\",\n        \"address3\": \"string\",\n        \"city\": \"string\",\n        \"state\": \"string\",\n        \"postalCode\": \"string\",\n        \"countryCode\": \"str\",\n        \"longitude\": 0,\n        \"latitude\": 0\n    },\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"details\": {\n        \"founded\": 0,\n        \"squadValue\": 0\n    },\n    \"contacts\": {\n        \"fax\": \"string\",\n        \"phone\": \"string\",\n        \"phoneSecondary\": \"string\",\n        \"email\": \"string\"\n    },\n    \"colors\": {\n        \"primary\": \"FFF111\",\n        \"secondary\": \"FFF111\",\n        \"tertiary\": \"FFF111\"\n    },\n    \"historicalNames\": [\n        {\n            \"dateStart\": \"2019-08-24\",\n            \"dateEnd\": \"2019-08-24\",\n            \"nameFullLocal\": \"string\",\n            \"nameFullLatin\": \"string\",\n            \"nameShortLocal\": \"string\",\n            \"nameShortLatin\": \"string\",\n            \"namePlaceLocal\": \"string\"\n        }\n    ],\n    \"externalId\": \"A123\",\n    \"defaultVenueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"alternateVenueIds\": [\"497f6eca-6276-4993-bfeb-53cbbbba6f08\"]\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"nameFullLocal\\\":\\\"Los Angeles Armadillos\\\",\\\"additionalNames\\\":{\\\"nameShortLocal\\\":\\\"Armadillos\\\",\\\"namePlaceLocal\\\":\\\"Los Angeles\\\",\\\"nameShortLatin\\\":\\\"Armadillos\\\",\\\"namePlaceLatin\\\":\\\"Los Angeles\\\"},\\\"nameFullLatin\\\":\\\"Los Angeles Armadillos\\\",\\\"codeLocal\\\":\\\"TEST\\\",\\\"codeLatin\\\":\\\"TEST\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"details\\\":{\\\"founded\\\":0,\\\"squadValue\\\":0},\\\"contacts\\\":{\\\"fax\\\":\\\"string\\\",\\\"phone\\\":\\\"string\\\",\\\"phoneSecondary\\\":\\\"string\\\",\\\"email\\\":\\\"string\\\"},\\\"colors\\\":{\\\"primary\\\":\\\"FFF111\\\",\\\"secondary\\\":\\\"FFF111\\\",\\\"tertiary\\\":\\\"FFF111\\\"},\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameFullLocal\\\":\\\"string\\\",\\\"nameFullLatin\\\":\\\"string\\\",\\\"nameShortLocal\\\":\\\"string\\\",\\\"nameShortLatin\\\":\\\"string\\\",\\\"namePlaceLocal\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\",\\\"defaultVenueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"alternateVenueIds\\\":[\\\"497f6eca-6276-4993-bfeb-53cbbbba6f08\\\"]}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"internationalReference\":\"CA3243-3\",\"status\":\"ACTIVE\",\"nameFullLocal\":\"Los Angeles Armadillos\",\"additionalNames\":{\"nameShortLocal\":\"Armadillos\",\"namePlaceLocal\":\"Los Angeles\",\"nameShortLatin\":\"Armadillos\",\"namePlaceLatin\":\"Los Angeles\"},\"nameFullLatin\":\"Los Angeles Armadillos\",\"codeLocal\":\"TEST\",\"codeLatin\":\"TEST\",\"address\":{\"address1\":\"string\",\"address2\":\"string\",\"address3\":\"string\",\"city\":\"string\",\"state\":\"string\",\"postalCode\":\"string\",\"countryCode\":\"str\",\"longitude\":0,\"latitude\":0},\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"details\":{\"founded\":0,\"squadValue\":0},\"contacts\":{\"fax\":\"string\",\"phone\":\"string\",\"phoneSecondary\":\"string\",\"email\":\"string\"},\"colors\":{\"primary\":\"FFF111\",\"secondary\":\"FFF111\",\"tertiary\":\"FFF111\"},\"historicalNames\":[{\"dateStart\":\"2019-08-24\",\"dateEnd\":\"2019-08-24\",\"nameFullLocal\":\"string\",\"nameFullLatin\":\"string\",\"nameShortLocal\":\"string\",\"nameShortLatin\":\"string\",\"namePlaceLocal\":\"string\"}],\"externalId\":\"A123\",\"defaultVenueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"alternateVenueIds\":[\"497f6eca-6276-4993-bfeb-53cbbbba6f08\"]}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"ACTIVE\",\n  \"nameFullLocal\": \"Los Angeles Armadillos\",\n  \"additionalNames\": [\n    \"nameShortLocal\": \"Armadillos\",\n    \"namePlaceLocal\": \"Los Angeles\",\n    \"nameShortLatin\": \"Armadillos\",\n    \"namePlaceLatin\": \"Los Angeles\"\n  ],\n  \"nameFullLatin\": \"Los Angeles Armadillos\",\n  \"codeLocal\": \"TEST\",\n  \"codeLatin\": \"TEST\",\n  \"address\": [\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  ],\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"details\": [\n    \"founded\": 0,\n    \"squadValue\": 0\n  ],\n  \"contacts\": [\n    \"fax\": \"string\",\n    \"phone\": \"string\",\n    \"phoneSecondary\": \"string\",\n    \"email\": \"string\"\n  ],\n  \"colors\": [\n    \"primary\": \"FFF111\",\n    \"secondary\": \"FFF111\",\n    \"tertiary\": \"FFF111\"\n  ],\n  \"historicalNames\": [\n    [\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameFullLocal\": \"string\",\n      \"nameFullLatin\": \"string\",\n      \"nameShortLocal\": \"string\",\n      \"nameShortLatin\": \"string\",\n      \"namePlaceLocal\": \"string\"\n    ]\n  ],\n  \"externalId\": \"A123\",\n  \"defaultVenueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"alternateVenueIds\": [\"497f6eca-6276-4993-bfeb-53cbbbba6f08\"]\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Clubs"],"summary":"Delete a club","description":"Delete a specific club","operationId":"entity_group_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Entity_Groups 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/Entity_GroupsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"entityGroupId","description":"The unique identifier of the entity group","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entityGroups/{entityGroupId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions":{"get":{"tags":["Match Progressions"],"summary":"Get a list of match progressions","description":"Return a list of match progressions","operationId":"fixture_progressions_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Progressions 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/Fixture_ProgressionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureId"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/toFixtureId"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"toFixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&toFixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Match Progressions"],"summary":"Create a match progression","description":"Add a new match progression","operationId":"fixture_progressions_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Progressions 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/Fixture_ProgressionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"Source fixtureId","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"toFixtureId":{"description":"Destination fixtureId","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"placingAfter":{"description":"Place after source match completion","type":"integer","format":"int32","example":1},"isHome":{"description":"Will this competitor be the 'home' team in the target match?","type":"boolean","example":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,"example":"A123"}},"title":"~fixture_progression~ post body","required":["fixtureId","toFixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"placingAfter\\\":1,\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"placingAfter\\\":1,\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"placingAfter\\\":1,\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"placingAfter\\\":1,\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"toFixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"placingAfter\": 1,\n  \"isHome\": true,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  toFixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  placingAfter: 1,\n  isHome: true,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"toFixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"placingAfter\": @1,\n                              @\"isHome\": @YES,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"placingAfter\\\":1,\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"placingAfter\\\":1,\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"placingAfter\\\":1,\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"toFixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"placingAfter\": 1,\n    \"isHome\": True,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"placingAfter\\\":1,\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"toFixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"placingAfter\":1,\"isHome\":true,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"toFixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"placingAfter\": 1,\n  \"isHome\": true,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/progressions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression":{"get":{"tags":["Match Progressions"],"summary":"Get a match progression","description":"Return detailed information about a specific match progression","operationId":"fixture_progressions_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Progressions 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/Fixture_ProgressionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"placingAfter","description":"Competitor placing in a fixture","schema":{"type":"integer","format":"int32"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Match Progressions"],"summary":"Update a match progression","description":"Change the information of a specific match progression","operationId":"fixture_progressions_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Progressions 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/Fixture_ProgressionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"placingAfter","description":"Competitor placing in a fixture","schema":{"type":"integer","format":"int32"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"toFixtureId":{"description":"Destination fixtureId","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"isHome":{"description":"Will this competitor be the 'home' team in the target match?","type":"boolean","example":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,"example":"A123"}},"title":"~fixture_progression~ put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"toFixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"isHome\": true,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  toFixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  isHome: true,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"toFixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"isHome\": @YES,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"toFixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"isHome\": True,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"toFixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"toFixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"isHome\":true,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"toFixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"isHome\": true,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Match Progressions"],"summary":"Delete a match progression","description":"Delete a specific match progression","operationId":"fixture_progressions_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Progressions 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/Fixture_ProgressionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"placingAfter","description":"Competitor placing in a fixture","schema":{"type":"integer","format":"int32"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/{fixtureId}/placing/{placingAfter}/progression?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities":{"get":{"tags":["Match Teams"],"summary":"Get a list of teams in the match","description":"Return a list of teams for a match","operationId":"fixture_entities_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entities 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/Fixture_EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Match Teams"],"summary":"Add or Update a team in a match","description":"Depending on primary keys, Add a team or update an existing entitiy in a match","operationId":"fixture_entities_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entities 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/Fixture_EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"includeInConferenceStatistics":{"description":"Include the statistics for this competitors in the conference statistics?","type":"boolean","example":true},"isHome":{"description":"Is competitor the home team ?","type":"boolean","example":true},"draw":{"description":"Result for this competitor was a draw ?","type":"boolean","example":true},"resultStatus":{"description":"Result status\n>- `CONFIRMED` Confirmed\n>- `DID_NOT_FINISH` Did Not Finish\n>- `DID_NOT_START` Did Not Start\n>- `DISQUALIFIED` Disqualified\n>- `FORFEITED` Forfeited\n>- `IN_PROGRESS` In Progress\n>- `SCHEDULED` Scheduled\n>- `WITHDRAWN` Withdrawn\n>- `WON_BY_FORFEIT` Won By Forfeit\n","type":"string","enum":["SCHEDULED","IN_PROGRESS","CONFIRMED","DISQUALIFIED","FORFEITED","WON_BY_FORFEIT","DID_NOT_FINISH","WITHDRAWN","DID_NOT_START"],"maxLength":100,"example":"CONFIRMED"},"resultPlace":{"description":"Result placing (1=Won, 2=Lost)","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"resultSecondaryScorePlace":{"description":"Result placing (1=Won, 2=Lost) of the Shoot Out","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"startingNumber":{"description":"Starting number","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"score":{"description":"Score for competitor in match","type":"string","maxLength":100,"nullable":true,"example":"98"},"secondaryScore":{"description":"Secondary score (used for shoot-outs)","type":"string","maxLength":100,"nullable":true,"example":"3v3"},"shootOutAttempts":{"description":"Result of shoot-out attempts (1 or 0 per attempt).","type":"string","maxLength":200,"nullable":true,"example":"11011"},"isNeutralVenue":{"description":"Competitor is playing at a neutral venue ?","type":"boolean","example":true},"includeInRepresentation":{"description":"Include this match in represented statistics?","type":"boolean","default":true,"example":true},"rosterStatus":{"description":"The status of the TEAM match teams\n>- `APPROVED` Approved\n>- `PENDING` Pending\n>- `REJECTED` Rejected\n>- `SUBMITTED` Submitted\n>- `UNKNOWN` Unknown\n","type":"string","enum":["UNKNOWN","SUBMITTED","PENDING","APPROVED","REJECTED"],"maxLength":100,"default":"UNKNOWN","example":"APPROVED"},"uniformId":{"description":"The unique identifier of the uniform","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"A123"}},"title":"match teams post body","required":["fixtureId","resultStatus"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"shootOutAttempts\\\":\\\"11011\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"shootOutAttempts\\\":\\\"11011\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"shootOutAttempts\\\":\\\"11011\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"shootOutAttempts\\\":\\\"11011\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"includeInConferenceStatistics\": true,\n  \"isHome\": true,\n  \"draw\": true,\n  \"resultStatus\": \"CONFIRMED\",\n  \"resultPlace\": 1,\n  \"resultSecondaryScorePlace\": 1,\n  \"startingNumber\": 1,\n  \"score\": \"98\",\n  \"secondaryScore\": \"3v3\",\n  \"shootOutAttempts\": \"11011\",\n  \"isNeutralVenue\": true,\n  \"includeInRepresentation\": true,\n  \"rosterStatus\": \"APPROVED\",\n  \"uniformId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  conferenceId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  divisionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  includeInConferenceStatistics: true,\n  isHome: true,\n  draw: true,\n  resultStatus: 'CONFIRMED',\n  resultPlace: 1,\n  resultSecondaryScorePlace: 1,\n  startingNumber: 1,\n  score: '98',\n  secondaryScore: '3v3',\n  shootOutAttempts: '11011',\n  isNeutralVenue: true,\n  includeInRepresentation: true,\n  rosterStatus: 'APPROVED',\n  uniformId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"conferenceId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"divisionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"includeInConferenceStatistics\": @YES,\n                              @\"isHome\": @YES,\n                              @\"draw\": @YES,\n                              @\"resultStatus\": @\"CONFIRMED\",\n                              @\"resultPlace\": @1,\n                              @\"resultSecondaryScorePlace\": @1,\n                              @\"startingNumber\": @1,\n                              @\"score\": @\"98\",\n                              @\"secondaryScore\": @\"3v3\",\n                              @\"shootOutAttempts\": @\"11011\",\n                              @\"isNeutralVenue\": @YES,\n                              @\"includeInRepresentation\": @YES,\n                              @\"rosterStatus\": @\"APPROVED\",\n                              @\"uniformId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"shootOutAttempts\\\":\\\"11011\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"shootOutAttempts\\\":\\\"11011\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"shootOutAttempts\\\":\\\"11011\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"includeInConferenceStatistics\": True,\n    \"isHome\": True,\n    \"draw\": True,\n    \"resultStatus\": \"CONFIRMED\",\n    \"resultPlace\": 1,\n    \"resultSecondaryScorePlace\": 1,\n    \"startingNumber\": 1,\n    \"score\": \"98\",\n    \"secondaryScore\": \"3v3\",\n    \"shootOutAttempts\": \"11011\",\n    \"isNeutralVenue\": True,\n    \"includeInRepresentation\": True,\n    \"rosterStatus\": \"APPROVED\",\n    \"uniformId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"shootOutAttempts\\\":\\\"11011\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"divisionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"includeInConferenceStatistics\":true,\"isHome\":true,\"draw\":true,\"resultStatus\":\"CONFIRMED\",\"resultPlace\":1,\"resultSecondaryScorePlace\":1,\"startingNumber\":1,\"score\":\"98\",\"secondaryScore\":\"3v3\",\"shootOutAttempts\":\"11011\",\"isNeutralVenue\":true,\"includeInRepresentation\":true,\"rosterStatus\":\"APPROVED\",\"uniformId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"includeInConferenceStatistics\": true,\n  \"isHome\": true,\n  \"draw\": true,\n  \"resultStatus\": \"CONFIRMED\",\n  \"resultPlace\": 1,\n  \"resultSecondaryScorePlace\": 1,\n  \"startingNumber\": 1,\n  \"score\": \"98\",\n  \"secondaryScore\": \"3v3\",\n  \"shootOutAttempts\": \"11011\",\n  \"isNeutralVenue\": true,\n  \"includeInRepresentation\": true,\n  \"rosterStatus\": \"APPROVED\",\n  \"uniformId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}":{"get":{"tags":["Match Teams"],"summary":"Get a team in a match","description":"Return the detail of a specific team in a match","operationId":"fixture_entities_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entities 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/Fixture_EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Match Teams"],"summary":"Delete a team from a match","description":"Delete a specific team from a match","operationId":"fixture_entity_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entities 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/Fixture_EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons":{"get":{"tags":["Match Persons"],"summary":"Get a list of persons in the match","description":"Return a list of persons for a match","operationId":"fixture_persons_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Persons 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/Fixture_PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Match Persons"],"summary":"Add or Update a person in a match","description":"Depending on primary keys, Add a person or update an existing person in a match","operationId":"fixture_persons_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Persons 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/Fixture_PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"isHome":{"description":"Is competitor the home person ?","type":"boolean","example":true},"draw":{"description":"Result for this competitor was a draw ?","type":"boolean","example":true},"resultStatus":{"description":"Result status\n>- `CONFIRMED` Confirmed\n>- `DID_NOT_FINISH` Did Not Finish\n>- `DID_NOT_START` Did Not Start\n>- `DISQUALIFIED` Disqualified\n>- `FORFEITED` Forfeited\n>- `IN_PROGRESS` In Progress\n>- `SCHEDULED` Scheduled\n>- `WITHDRAWN` Withdrawn\n>- `WON_BY_FORFEIT` Won By Forfeit\n","type":"string","enum":["SCHEDULED","IN_PROGRESS","CONFIRMED","DISQUALIFIED","FORFEITED","WON_BY_FORFEIT","DID_NOT_FINISH","WITHDRAWN","DID_NOT_START"],"maxLength":100,"example":"CONFIRMED"},"resultPlace":{"description":"Result placing (1=Won, 2=Lost)","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"resultSecondaryScorePlace":{"description":"Result placing (1=Won, 2=Lost) of the Shoot Out","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"startingNumber":{"description":"Starting number","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"score":{"description":"Score for competitor in match","type":"string","maxLength":100,"nullable":true,"example":"98"},"secondaryScore":{"description":"Secondary score","type":"string","maxLength":100,"nullable":true,"example":"3v3"},"isNeutralVenue":{"description":"Competitor is playing at a neutral venue ?","type":"boolean","example":true},"includeInRepresentation":{"description":"Include this match in represented statistics?","type":"boolean","default":true,"example":true},"uniformId":{"description":"The unique identifier of the uniform","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"A123"}},"title":"match persons post body","required":["fixtureId","personId","resultStatus"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"isHome\": true,\n  \"draw\": true,\n  \"resultStatus\": \"CONFIRMED\",\n  \"resultPlace\": 1,\n  \"resultSecondaryScorePlace\": 1,\n  \"startingNumber\": 1,\n  \"score\": \"98\",\n  \"secondaryScore\": \"3v3\",\n  \"isNeutralVenue\": true,\n  \"includeInRepresentation\": true,\n  \"uniformId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityGroupId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  isHome: true,\n  draw: true,\n  resultStatus: 'CONFIRMED',\n  resultPlace: 1,\n  resultSecondaryScorePlace: 1,\n  startingNumber: 1,\n  score: '98',\n  secondaryScore: '3v3',\n  isNeutralVenue: true,\n  includeInRepresentation: true,\n  uniformId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityGroupId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"isHome\": @YES,\n                              @\"draw\": @YES,\n                              @\"resultStatus\": @\"CONFIRMED\",\n                              @\"resultPlace\": @1,\n                              @\"resultSecondaryScorePlace\": @1,\n                              @\"startingNumber\": @1,\n                              @\"score\": @\"98\",\n                              @\"secondaryScore\": @\"3v3\",\n                              @\"isNeutralVenue\": @YES,\n                              @\"includeInRepresentation\": @YES,\n                              @\"uniformId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"isHome\": True,\n    \"draw\": True,\n    \"resultStatus\": \"CONFIRMED\",\n    \"resultPlace\": 1,\n    \"resultSecondaryScorePlace\": 1,\n    \"startingNumber\": 1,\n    \"score\": \"98\",\n    \"secondaryScore\": \"3v3\",\n    \"isNeutralVenue\": True,\n    \"includeInRepresentation\": True,\n    \"uniformId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"isHome\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"CONFIRMED\\\",\\\"resultPlace\\\":1,\\\"resultSecondaryScorePlace\\\":1,\\\"startingNumber\\\":1,\\\"score\\\":\\\"98\\\",\\\"secondaryScore\\\":\\\"3v3\\\",\\\"isNeutralVenue\\\":true,\\\"includeInRepresentation\\\":true,\\\"uniformId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityGroupId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"isHome\":true,\"draw\":true,\"resultStatus\":\"CONFIRMED\",\"resultPlace\":1,\"resultSecondaryScorePlace\":1,\"startingNumber\":1,\"score\":\"98\",\"secondaryScore\":\"3v3\",\"isNeutralVenue\":true,\"includeInRepresentation\":true,\"uniformId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"isHome\": true,\n  \"draw\": true,\n  \"resultStatus\": \"CONFIRMED\",\n  \"resultPlace\": 1,\n  \"resultSecondaryScorePlace\": 1,\n  \"startingNumber\": 1,\n  \"score\": \"98\",\n  \"secondaryScore\": \"3v3\",\n  \"isNeutralVenue\": true,\n  \"includeInRepresentation\": true,\n  \"uniformId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}":{"get":{"tags":["Match Persons"],"summary":"Get a person in a match","description":"Return the detail of a specific person in a match","operationId":"fixture_persons_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Persons 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/Fixture_PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Match Persons"],"summary":"Delete a person from a match","description":"Delete a specific person from a match","operationId":"fixture_person_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Persons 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/Fixture_PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster":{"get":{"tags":["Match Roster"],"summary":"Get the roster for a match","description":"Return a list of persons in the roster for a match","operationId":"fixture_roster_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Roster 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/Fixture_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Match Roster"],"summary":"Create/Update a match roster","description":"Depending on the data, Add a new match roster entry or update an existing one","operationId":"fixture_roster_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Roster 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/Fixture_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":100,"nullable":true,"example":"34"},"position":{"description":"Playing position","type":"string","maxLength":100,"nullable":true,"example":"GOALKEEPER"},"starter":{"description":"Did person start the match on the court","type":"boolean","example":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,"example":"A123"}},"title":"match roster post body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"bib\": \"34\",\n  \"position\": \"GOALKEEPER\",\n  \"starter\": true,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  bib: '34',\n  position: 'GOALKEEPER',\n  starter: true,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"bib\": @\"34\",\n                              @\"position\": @\"GOALKEEPER\",\n                              @\"starter\": @YES,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"bib\": \"34\",\n    \"position\": \"GOALKEEPER\",\n    \"starter\": True,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"bib\":\"34\",\"position\":\"GOALKEEPER\",\"starter\":true,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"bib\": \"34\",\n  \"position\": \"GOALKEEPER\",\n  \"starter\": true,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster":{"get":{"tags":["Match Roster"],"summary":"Get the roster for a team in a match","description":"Return a list of persons in the roster for a team in a match","operationId":"fixture_roster_list_by_entity","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Roster 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/Fixture_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster":{"get":{"tags":["Match Roster"],"summary":"Get the roster information for a person in a match","description":"Return the detailed roster information for a person in a match","operationId":"fixture_roster_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Roster 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/Fixture_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Match Roster"],"summary":"Delete a match roster entry","description":"Delete a specific match roster","operationId":"fixture_roster_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Roster 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/Fixture_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/roster":{"post":{"tags":["Match Roster"],"summary":"Create/Update a match roster base route","description":"Depending on the data, Add a new match roster entry or update an existing one, with fixtureId in the payload","operationId":"fixture_roster_insert_update_base_route","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Roster 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/Fixture_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":100,"nullable":true,"example":"34"},"position":{"description":"Playing position","type":"string","maxLength":100,"nullable":true,"example":"GOALKEEPER"},"starter":{"description":"Did person start the match on the court","type":"boolean","example":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,"example":"A123"}},"title":"match roster post body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"bib\": \"34\",\n  \"position\": \"GOALKEEPER\",\n  \"starter\": true,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  bib: '34',\n  position: 'GOALKEEPER',\n  starter: true,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"bib\": @\"34\",\n                              @\"position\": @\"GOALKEEPER\",\n                              @\"starter\": @YES,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/roster\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"bib\": \"34\",\n    \"position\": \"GOALKEEPER\",\n    \"starter\": True,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"starter\\\":true,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"bib\":\"34\",\"position\":\"GOALKEEPER\",\"starter\":true,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"bib\": \"34\",\n  \"position\": \"GOALKEEPER\",\n  \"starter\": true,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster":{"delete":{"tags":["Match Roster"],"summary":"Delete entire match roster","description":"Delete entire match roster","operationId":"fixture_roster_delete_all","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Roster 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/Fixture_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools":{"get":{"tags":["Matches"],"summary":"Get a list of stages and pools used by matches in the season","description":"Return a list of stages and pools used by matches for a season","operationId":"season_fixture_stages_pools_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Fixture_Stages_Pools_List 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/Season_Fixture_Stages_Pools_ListModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/stageCode"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"stageCode\":\"ST1\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures":{"get":{"tags":["Matches"],"summary":"Get a list of matches","description":"Return a list of matches for the season","operationId":"fixture_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixtures 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/FixturesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitorType"},{"$ref":"#/components/parameters/discipline"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/featureMatch"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/fromTimeLocal"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/liveDataAvailable"},{"$ref":"#/components/parameters/liveVideoAvailable"},{"$ref":"#/components/parameters/locked"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/seriesCode"},{"$ref":"#/components/parameters/seriesFixtureNumber"},{"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":"^(\\-?startTimeUTC|\\-?fixtureNumber|\\-?startTimeLocal|,)*$","example":"-startTimeUTC,fixtureNumber"},"required":false,"in":"query"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/fixtureStatus"},{"$ref":"#/components/parameters/fixtureStatusNot"},{"$ref":"#/components/parameters/timesUnconfirmed"},{"$ref":"#/components/parameters/toTimeLocal"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/venueId"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"competitorType\":\"PERSON\",\"discipline\":\"INDOOR\",\"external\":\"entityId,personId\",\"featureMatch\":\"true\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"fromTimeLocal\":\"2018-08-16T18:00:00\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"liveDataAvailable\":\"true\",\"liveVideoAvailable\":\"true\",\"locked\":\"true\",\"offset\":\"10\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":\"1\",\"seriesCode\":\"WC1\",\"seriesFixtureNumber\":\"1\",\"sortBy\":\"-startTimeUTC,fixtureNumber\",\"stageCode\":\"ST1\",\"status\":\"SCHEDULED\",\"statusNot\":\"SCHEDULED\",\"timesUnconfirmed\":\"true\",\"toTimeLocal\":\"2018-08-16T18:00:00\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"updated\":\"2018-08-16T02:11:48\",\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Matches"],"summary":"Create a match","description":"Add a new match","operationId":"fixture_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixtures 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/FixturesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"practiceDrillType":{"description":"Practice types\n>- None None\n>- `DRILL` Drill\n>- `FITNESS` Fitness\n>- `GAME` Practice Game\n>- `OTHER` Other\n","type":"string","enum":["DRILL","GAME","FITNESS","OTHER",null],"maxLength":100,"nullable":true,"example":"DRILL"},"internationalReference":{"description":"The international reference for this match given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"status":{"description":"Match status\n>- `ABANDONED` Abandoned - Match began but had to be stopped\n>- `ABOUT_TO_START` About to Start - Match is about to start\n>- `BYE` Bye - Team has 'rest'\n>- `CANCELLED` Cancelled - Cancelled - will not be played\n>- `CONFIRMED` Confirmed - Match officially completed\n>- `DRAFT` Draft - Not fully scheduled\n>- `FINISHED` Finished - Match finished by not yet 'official'\n>- `IF_NEEDED` If Needed - Only played if needed\n>- `IN_PROGRESS` In Progress - Currently in play\n>- `ON_PITCH` On Pitch - Players appered on the playing field\n>- `PENDING` Pending - Ready to start\n>- `POSTPONED` Postponed - Will be played at a future time\n>- `SCHEDULED` Scheduled - Yet to be played\n>- `WARM_UP` Warm Up - Players have begun to warm up\n","type":"string","enum":["IF_NEEDED","SCHEDULED","BYE","PENDING","IN_PROGRESS","FINISHED","CONFIRMED","POSTPONED","CANCELLED","ABANDONED","WARM_UP","DRAFT","ON_PITCH","ABOUT_TO_START"],"maxLength":100,"default":"SCHEDULED","example":"SCHEDULED"},"fixtureNumber":{"description":"Match number (range of -2147483648 to 2147483647)","type":"integer","format":"int32","nullable":true,"example":123},"nameLocal":{"description":"The name of the match in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Grand Final"},"nameLatin":{"description":"The name of the match in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Grand Final"},"startTimeLocal":{"description":"Local start time","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T18:00:00"},"startTimeActualUTC":{"description":"Actual start time (UTC)","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T02:02:23"},"endTimeActualUTC":{"description":"Actual end time (UTC)","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T04:02:23"},"timesUnconfirmed":{"description":"Is the match time yet to be confirmed ?","type":"boolean","example":true},"locked":{"description":"Is the match locked (to prevent editing)?","type":"boolean","example":true},"placingIfWon":{"description":"Place if Won?","type":"integer","format":"int32","nullable":true,"example":1},"placingIfLost":{"description":"Place if Lost?","type":"integer","format":"int32","nullable":true,"example":1},"attendance":{"description":"Crowd attendance","type":"integer","format":"int32","maximum":999999,"nullable":true,"example":1123},"sellout":{"description":"Was the match a sellout?","type":"boolean","example":true},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"environmental":{"title":"Environmental details","description":"Details about the environment during the fixture","type":"object","nullable":true,"additionalProperties":false,"properties":{"surfaceCondition":{"description":"Condition of surface","type":"string"}}},"duration":{"description":"Length, in minutes, of the match","type":"integer","format":"int32","nullable":true,"example":48},"durationFull":{"description":"Full duration including breaks","type":"integer","format":"int32","nullable":true,"example":180},"ticketURL":{"description":"Ticket URL","type":"string","maxLength":200,"nullable":true},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"seriesCode":{"description":"A unique code for the season series. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"RN1"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"liveDataAvailable":{"description":"Is live data available?","type":"boolean","example":true},"liveVideoAvailable":{"description":"Is live video available ?","type":"boolean","example":true},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"maximumPeriodTypeUsed":{"description":"Maximum Period Type Used\n>- None None\n>- `EXTRA_TIME` Extra Time\n>- `OVERTIME` Overtime\n>- `REGULAR` Regular\n>- `SHOOTOUT` Shoot-Out\n","type":"string","enum":["REGULAR","EXTRA_TIME","OVERTIME","SHOOTOUT",null],"maxLength":50,"nullable":true,"example":"REGULAR"},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50,"example":"ENTITY"},"competitors":{"type":"array","nullable":true,"title":"Match competitors","description":"Array of match competitors","items":{"type":"object","title":"Match competitor","additionalProperties":false,"required":["entityId"],"properties":{"entityId":{"description":"The uuid of the entity","type":"string"},"conferenceId":{"description":"The uuid of the conference","type":"string"},"divisionId":{"description":"The uuid of the division","type":"string"},"includeInConferenceStatistics":{"description":"Include the statistics for this competitors in the conference statistics?","type":"boolean"},"isHome":{"description":"Is competitor the home team ?","type":"boolean"},"includeInRepresentation":{"description":"Include participant in representation count","type":"boolean"},"draw":{"description":"Result for this competitor was a draw ?","type":"boolean"},"resultStatus":{"description":"Result status","type":"string","enum":["SCHEDULED","IN_PROGRESS","CONFIRMED","DISQUALIFIED","FORFEITED","WON_BY_FORFEIT","DID_NOT_FINISH","WITHDRAWN","DID_NOT_START"]},"resultPlace":{"description":"Result placing (1=Won, 2=Lost)","type":"number","nullable":true},"resultSecondaryScorePlace":{"description":"Secondary Score Result placing (1=Won, 2=Lost)","type":"number","nullable":true},"startingNumber":{"description":"Starting number","type":"number","nullable":true},"score":{"description":"Score for competitor in match","type":"string","nullable":true},"secondaryScore":{"description":"Secondary score","type":"string","nullable":true},"shootOutAttempts":{"description":"shootOut Attempts","type":"string","nullable":true},"rosterStatus":{"description":"Roster status","type":"string","enum":["UNKNOWN","SUBMITTED","PENDING","APPROVED","REJECTED"]},"isNeutralVenue":{"description":"Competitor is playing at a neutral venue ?","type":"boolean"},"uniformId":{"description":"The uuid of the uniform","type":"string","nullable":true},"externalId":{"description":"externalId","type":"string"}}}},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"A123"},"profileId":{"description":"The profile that this match belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"includeInStandings":{"description":"Include the match in the standings calculation?","type":"boolean","default":true,"example":true},"featureMatch":{"description":"Is this match a featured match?","type":"boolean","example":true},"seriesFixtureNumber":{"description":"The number of the match in a series of matches","type":"integer","format":"int32","nullable":true,"example":1},"discipline":{"description":"match discipline\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"broadcasts":{"type":"array","items":{"type":"object","nullable":true,"title":"Broadcasts","additionalProperties":false,"properties":{"broadcastType":{"type":"string","description":"Broadcast Type","maxLength":30,"example":"TV","enum":["PAY_PER_VIEW","TV","RADIO","STREAMING_AUDIO","STREAMING_VIDEO"],"nullable":false},"broadcaster":{"description":"Broadcaster Name Local","maxLength":30,"nullable":false,"type":"string","example":"XYZ Network"},"broadcasterURL":{"description":"Broadcaster Home URL","maxLength":255,"type":"string","example":"www.XYZNetwork.com"},"broadcastURL":{"description":"Fixture Broadcast URL","maxLength":255,"type":"string","example":"www.XYZNetwork.com/fixture/123"},"broadcastTimezone":{"description":"Timezone of the broadcast","maxLength":50,"type":"string","example":"Australia/Sydney"},"locale":{"description":"Locale of the broadcast","maxLength":10,"type":"string","example":"en-EN"},"startTimeLocal":{"description":"Start Time of the broadcast","type":"string","pattern":"^([12][0-9]{3})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|\\+00:00)?$","example":"2023-01-01T12:34:56Z"}}}}},"title":"match post body","required":["seasonId","competitorType"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"practiceDrillType\": \"DRILL\",\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"SCHEDULED\",\n  \"fixtureNumber\": 123,\n  \"nameLocal\": \"Grand Final\",\n  \"nameLatin\": \"Grand Final\",\n  \"startTimeLocal\": \"2018-08-16T18:00:00\",\n  \"startTimeActualUTC\": \"2018-08-16T02:02:23\",\n  \"endTimeActualUTC\": \"2018-08-16T04:02:23\",\n  \"timesUnconfirmed\": true,\n  \"locked\": true,\n  \"placingIfWon\": 1,\n  \"placingIfLost\": 1,\n  \"attendance\": 1123,\n  \"sellout\": true,\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"environmental\": {\n    \"surfaceCondition\": \"string\"\n  },\n  \"duration\": 48,\n  \"durationFull\": 180,\n  \"ticketURL\": \"string\",\n  \"stageCode\": \"ST1\",\n  \"seriesCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"roundCode\": \"RN1\",\n  \"roundNumber\": 1,\n  \"liveDataAvailable\": true,\n  \"liveVideoAvailable\": true,\n  \"fixtureType\": \"REGULAR\",\n  \"maximumPeriodTypeUsed\": \"REGULAR\",\n  \"competitorType\": \"ENTITY\",\n  \"competitors\": [\n    {\n      \"entityId\": \"string\",\n      \"conferenceId\": \"string\",\n      \"divisionId\": \"string\",\n      \"includeInConferenceStatistics\": true,\n      \"isHome\": true,\n      \"includeInRepresentation\": true,\n      \"draw\": true,\n      \"resultStatus\": \"SCHEDULED\",\n      \"resultPlace\": 0,\n      \"resultSecondaryScorePlace\": 0,\n      \"startingNumber\": 0,\n      \"score\": \"string\",\n      \"secondaryScore\": \"string\",\n      \"shootOutAttempts\": \"string\",\n      \"rosterStatus\": \"UNKNOWN\",\n      \"isNeutralVenue\": true,\n      \"uniformId\": \"string\",\n      \"externalId\": \"string\"\n    }\n  ],\n  \"venueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"externalId\": \"A123\",\n  \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"includeInStandings\": true,\n  \"featureMatch\": true,\n  \"seriesFixtureNumber\": 1,\n  \"discipline\": \"INDOOR\",\n  \"broadcasts\": [\n    {\n      \"broadcastType\": \"TV\",\n      \"broadcaster\": \"XYZ Network\",\n      \"broadcasterURL\": \"www.XYZNetwork.com\",\n      \"broadcastURL\": \"www.XYZNetwork.com/fixture/123\",\n      \"broadcastTimezone\": \"Australia/Sydney\",\n      \"locale\": \"en-EN\",\n      \"startTimeLocal\": \"2023-01-01T12:34:56Z\"\n    }\n  ]\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  practiceDrillType: 'DRILL',\n  internationalReference: 'CA3243-3',\n  status: 'SCHEDULED',\n  fixtureNumber: 123,\n  nameLocal: 'Grand Final',\n  nameLatin: 'Grand Final',\n  startTimeLocal: '2018-08-16T18:00:00',\n  startTimeActualUTC: '2018-08-16T02:02:23',\n  endTimeActualUTC: '2018-08-16T04:02:23',\n  timesUnconfirmed: true,\n  locked: true,\n  placingIfWon: 1,\n  placingIfLost: 1,\n  attendance: 1123,\n  sellout: true,\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  environmental: {surfaceCondition: 'string'},\n  duration: 48,\n  durationFull: 180,\n  ticketURL: 'string',\n  stageCode: 'ST1',\n  seriesCode: 'ST1',\n  poolCode: 'P1',\n  roundCode: 'RN1',\n  roundNumber: 1,\n  liveDataAvailable: true,\n  liveVideoAvailable: true,\n  fixtureType: 'REGULAR',\n  maximumPeriodTypeUsed: 'REGULAR',\n  competitorType: 'ENTITY',\n  competitors: [\n    {\n      entityId: 'string',\n      conferenceId: 'string',\n      divisionId: 'string',\n      includeInConferenceStatistics: true,\n      isHome: true,\n      includeInRepresentation: true,\n      draw: true,\n      resultStatus: 'SCHEDULED',\n      resultPlace: 0,\n      resultSecondaryScorePlace: 0,\n      startingNumber: 0,\n      score: 'string',\n      secondaryScore: 'string',\n      shootOutAttempts: 'string',\n      rosterStatus: 'UNKNOWN',\n      isNeutralVenue: true,\n      uniformId: 'string',\n      externalId: 'string'\n    }\n  ],\n  venueId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  externalId: 'A123',\n  profileId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  includeInStandings: true,\n  featureMatch: true,\n  seriesFixtureNumber: 1,\n  discipline: 'INDOOR',\n  broadcasts: [\n    {\n      broadcastType: 'TV',\n      broadcaster: 'XYZ Network',\n      broadcasterURL: 'www.XYZNetwork.com',\n      broadcastURL: 'www.XYZNetwork.com/fixture/123',\n      broadcastTimezone: 'Australia/Sydney',\n      locale: 'en-EN',\n      startTimeLocal: '2023-01-01T12:34:56Z'\n    }\n  ]\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"practiceDrillType\": @\"DRILL\",\n                              @\"internationalReference\": @\"CA3243-3\",\n                              @\"status\": @\"SCHEDULED\",\n                              @\"fixtureNumber\": @123,\n                              @\"nameLocal\": @\"Grand Final\",\n                              @\"nameLatin\": @\"Grand Final\",\n                              @\"startTimeLocal\": @\"2018-08-16T18:00:00\",\n                              @\"startTimeActualUTC\": @\"2018-08-16T02:02:23\",\n                              @\"endTimeActualUTC\": @\"2018-08-16T04:02:23\",\n                              @\"timesUnconfirmed\": @YES,\n                              @\"locked\": @YES,\n                              @\"placingIfWon\": @1,\n                              @\"placingIfLost\": @1,\n                              @\"attendance\": @1123,\n                              @\"sellout\": @YES,\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"environmental\": @{ @\"surfaceCondition\": @\"string\" },\n                              @\"duration\": @48,\n                              @\"durationFull\": @180,\n                              @\"ticketURL\": @\"string\",\n                              @\"stageCode\": @\"ST1\",\n                              @\"seriesCode\": @\"ST1\",\n                              @\"poolCode\": @\"P1\",\n                              @\"roundCode\": @\"RN1\",\n                              @\"roundNumber\": @1,\n                              @\"liveDataAvailable\": @YES,\n                              @\"liveVideoAvailable\": @YES,\n                              @\"fixtureType\": @\"REGULAR\",\n                              @\"maximumPeriodTypeUsed\": @\"REGULAR\",\n                              @\"competitorType\": @\"ENTITY\",\n                              @\"competitors\": @[ @{ @\"entityId\": @\"string\", @\"conferenceId\": @\"string\", @\"divisionId\": @\"string\", @\"includeInConferenceStatistics\": @YES, @\"isHome\": @YES, @\"includeInRepresentation\": @YES, @\"draw\": @YES, @\"resultStatus\": @\"SCHEDULED\", @\"resultPlace\": @0, @\"resultSecondaryScorePlace\": @0, @\"startingNumber\": @0, @\"score\": @\"string\", @\"secondaryScore\": @\"string\", @\"shootOutAttempts\": @\"string\", @\"rosterStatus\": @\"UNKNOWN\", @\"isNeutralVenue\": @YES, @\"uniformId\": @\"string\", @\"externalId\": @\"string\" } ],\n                              @\"venueId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"externalId\": @\"A123\",\n                              @\"profileId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"includeInStandings\": @YES,\n                              @\"featureMatch\": @YES,\n                              @\"seriesFixtureNumber\": @1,\n                              @\"discipline\": @\"INDOOR\",\n                              @\"broadcasts\": @[ @{ @\"broadcastType\": @\"TV\", @\"broadcaster\": @\"XYZ Network\", @\"broadcasterURL\": @\"www.XYZNetwork.com\", @\"broadcastURL\": @\"www.XYZNetwork.com/fixture/123\", @\"broadcastTimezone\": @\"Australia/Sydney\", @\"locale\": @\"en-EN\", @\"startTimeLocal\": @\"2023-01-01T12:34:56Z\" } ] };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"practiceDrillType\": \"DRILL\",\n    \"internationalReference\": \"CA3243-3\",\n    \"status\": \"SCHEDULED\",\n    \"fixtureNumber\": 123,\n    \"nameLocal\": \"Grand Final\",\n    \"nameLatin\": \"Grand Final\",\n    \"startTimeLocal\": \"2018-08-16T18:00:00\",\n    \"startTimeActualUTC\": \"2018-08-16T02:02:23\",\n    \"endTimeActualUTC\": \"2018-08-16T04:02:23\",\n    \"timesUnconfirmed\": True,\n    \"locked\": True,\n    \"placingIfWon\": 1,\n    \"placingIfLost\": 1,\n    \"attendance\": 1123,\n    \"sellout\": True,\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"environmental\": {\"surfaceCondition\": \"string\"},\n    \"duration\": 48,\n    \"durationFull\": 180,\n    \"ticketURL\": \"string\",\n    \"stageCode\": \"ST1\",\n    \"seriesCode\": \"ST1\",\n    \"poolCode\": \"P1\",\n    \"roundCode\": \"RN1\",\n    \"roundNumber\": 1,\n    \"liveDataAvailable\": True,\n    \"liveVideoAvailable\": True,\n    \"fixtureType\": \"REGULAR\",\n    \"maximumPeriodTypeUsed\": \"REGULAR\",\n    \"competitorType\": \"ENTITY\",\n    \"competitors\": [\n        {\n            \"entityId\": \"string\",\n            \"conferenceId\": \"string\",\n            \"divisionId\": \"string\",\n            \"includeInConferenceStatistics\": True,\n            \"isHome\": True,\n            \"includeInRepresentation\": True,\n            \"draw\": True,\n            \"resultStatus\": \"SCHEDULED\",\n            \"resultPlace\": 0,\n            \"resultSecondaryScorePlace\": 0,\n            \"startingNumber\": 0,\n            \"score\": \"string\",\n            \"secondaryScore\": \"string\",\n            \"shootOutAttempts\": \"string\",\n            \"rosterStatus\": \"UNKNOWN\",\n            \"isNeutralVenue\": True,\n            \"uniformId\": \"string\",\n            \"externalId\": \"string\"\n        }\n    ],\n    \"venueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"externalId\": \"A123\",\n    \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"includeInStandings\": True,\n    \"featureMatch\": True,\n    \"seriesFixtureNumber\": 1,\n    \"discipline\": \"INDOOR\",\n    \"broadcasts\": [\n        {\n            \"broadcastType\": \"TV\",\n            \"broadcaster\": \"XYZ Network\",\n            \"broadcasterURL\": \"www.XYZNetwork.com\",\n            \"broadcastURL\": \"www.XYZNetwork.com/fixture/123\",\n            \"broadcastTimezone\": \"Australia/Sydney\",\n            \"locale\": \"en-EN\",\n            \"startTimeLocal\": \"2023-01-01T12:34:56Z\"\n        }\n    ]\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"practiceDrillType\":\"DRILL\",\"internationalReference\":\"CA3243-3\",\"status\":\"SCHEDULED\",\"fixtureNumber\":123,\"nameLocal\":\"Grand Final\",\"nameLatin\":\"Grand Final\",\"startTimeLocal\":\"2018-08-16T18:00:00\",\"startTimeActualUTC\":\"2018-08-16T02:02:23\",\"endTimeActualUTC\":\"2018-08-16T04:02:23\",\"timesUnconfirmed\":true,\"locked\":true,\"placingIfWon\":1,\"placingIfLost\":1,\"attendance\":1123,\"sellout\":true,\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"environmental\":{\"surfaceCondition\":\"string\"},\"duration\":48,\"durationFull\":180,\"ticketURL\":\"string\",\"stageCode\":\"ST1\",\"seriesCode\":\"ST1\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":1,\"liveDataAvailable\":true,\"liveVideoAvailable\":true,\"fixtureType\":\"REGULAR\",\"maximumPeriodTypeUsed\":\"REGULAR\",\"competitorType\":\"ENTITY\",\"competitors\":[{\"entityId\":\"string\",\"conferenceId\":\"string\",\"divisionId\":\"string\",\"includeInConferenceStatistics\":true,\"isHome\":true,\"includeInRepresentation\":true,\"draw\":true,\"resultStatus\":\"SCHEDULED\",\"resultPlace\":0,\"resultSecondaryScorePlace\":0,\"startingNumber\":0,\"score\":\"string\",\"secondaryScore\":\"string\",\"shootOutAttempts\":\"string\",\"rosterStatus\":\"UNKNOWN\",\"isNeutralVenue\":true,\"uniformId\":\"string\",\"externalId\":\"string\"}],\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"externalId\":\"A123\",\"profileId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"includeInStandings\":true,\"featureMatch\":true,\"seriesFixtureNumber\":1,\"discipline\":\"INDOOR\",\"broadcasts\":[{\"broadcastType\":\"TV\",\"broadcaster\":\"XYZ Network\",\"broadcasterURL\":\"www.XYZNetwork.com\",\"broadcastURL\":\"www.XYZNetwork.com/fixture/123\",\"broadcastTimezone\":\"Australia/Sydney\",\"locale\":\"en-EN\",\"startTimeLocal\":\"2023-01-01T12:34:56Z\"}]}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"practiceDrillType\": \"DRILL\",\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"SCHEDULED\",\n  \"fixtureNumber\": 123,\n  \"nameLocal\": \"Grand Final\",\n  \"nameLatin\": \"Grand Final\",\n  \"startTimeLocal\": \"2018-08-16T18:00:00\",\n  \"startTimeActualUTC\": \"2018-08-16T02:02:23\",\n  \"endTimeActualUTC\": \"2018-08-16T04:02:23\",\n  \"timesUnconfirmed\": true,\n  \"locked\": true,\n  \"placingIfWon\": 1,\n  \"placingIfLost\": 1,\n  \"attendance\": 1123,\n  \"sellout\": true,\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"environmental\": [\"surfaceCondition\": \"string\"],\n  \"duration\": 48,\n  \"durationFull\": 180,\n  \"ticketURL\": \"string\",\n  \"stageCode\": \"ST1\",\n  \"seriesCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"roundCode\": \"RN1\",\n  \"roundNumber\": 1,\n  \"liveDataAvailable\": true,\n  \"liveVideoAvailable\": true,\n  \"fixtureType\": \"REGULAR\",\n  \"maximumPeriodTypeUsed\": \"REGULAR\",\n  \"competitorType\": \"ENTITY\",\n  \"competitors\": [\n    [\n      \"entityId\": \"string\",\n      \"conferenceId\": \"string\",\n      \"divisionId\": \"string\",\n      \"includeInConferenceStatistics\": true,\n      \"isHome\": true,\n      \"includeInRepresentation\": true,\n      \"draw\": true,\n      \"resultStatus\": \"SCHEDULED\",\n      \"resultPlace\": 0,\n      \"resultSecondaryScorePlace\": 0,\n      \"startingNumber\": 0,\n      \"score\": \"string\",\n      \"secondaryScore\": \"string\",\n      \"shootOutAttempts\": \"string\",\n      \"rosterStatus\": \"UNKNOWN\",\n      \"isNeutralVenue\": true,\n      \"uniformId\": \"string\",\n      \"externalId\": \"string\"\n    ]\n  ],\n  \"venueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"externalId\": \"A123\",\n  \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"includeInStandings\": true,\n  \"featureMatch\": true,\n  \"seriesFixtureNumber\": 1,\n  \"discipline\": \"INDOOR\",\n  \"broadcasts\": [\n    [\n      \"broadcastType\": \"TV\",\n      \"broadcaster\": \"XYZ Network\",\n      \"broadcasterURL\": \"www.XYZNetwork.com\",\n      \"broadcastURL\": \"www.XYZNetwork.com/fixture/123\",\n      \"broadcastTimezone\": \"Australia/Sydney\",\n      \"locale\": \"en-EN\",\n      \"startTimeLocal\": \"2023-01-01T12:34:56Z\"\n    ]\n  ]\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures":{"get":{"tags":["Matches"],"summary":"Get a list of matches for the organization","description":"Return a list of matches for the organization","operationId":"organization_fixture_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixtures 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/FixturesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitorType"},{"$ref":"#/components/parameters/discipline"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/featureMatch"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureIds"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/fromTimeLocal"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/liveDataAvailable"},{"$ref":"#/components/parameters/liveVideoAvailable"},{"$ref":"#/components/parameters/locked"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/seasonIds"},{"$ref":"#/components/parameters/seriesCode"},{"$ref":"#/components/parameters/seriesFixtureNumber"},{"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":"^(\\-?startTimeUTC|\\-?fixtureNumber|\\-?startTimeLocal|,)*$","example":"-startTimeUTC,fixtureNumber"},"required":false,"in":"query"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/fixtureStatus"},{"$ref":"#/components/parameters/fixtureStatusNot"},{"$ref":"#/components/parameters/timesUnconfirmed"},{"$ref":"#/components/parameters/toTimeLocal"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/venueId"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"competitorType\":\"PERSON\",\"discipline\":\"INDOOR\",\"external\":\"entityId,personId\",\"featureMatch\":\"true\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureIds\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"fixtureType\":\"REGULAR\",\"fromTimeLocal\":\"2018-08-16T18:00:00\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"liveDataAvailable\":\"true\",\"liveVideoAvailable\":\"true\",\"locked\":\"true\",\"offset\":\"10\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":\"1\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonIds\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"seriesCode\":\"WC1\",\"seriesFixtureNumber\":\"1\",\"sortBy\":\"-startTimeUTC,fixtureNumber\",\"stageCode\":\"ST1\",\"status\":\"SCHEDULED\",\"statusNot\":\"SCHEDULED\",\"timesUnconfirmed\":\"true\",\"toTimeLocal\":\"2018-08-16T18:00:00\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"updated\":\"2018-08-16T02:11:48\",\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&featureMatch=true&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seriesCode=WC1&seriesFixtureNumber=1&sortBy=-startTimeUTC,fixtureNumber&stageCode=ST1&status=SCHEDULED&statusNot=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Matches"],"summary":"Create a match base route","description":"Add a new match, allowing seasonId to be in payload","operationId":"fixture_insert_base_route","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixtures 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/FixturesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"practiceDrillType":{"description":"Practice types\n>- None None\n>- `DRILL` Drill\n>- `FITNESS` Fitness\n>- `GAME` Practice Game\n>- `OTHER` Other\n","type":"string","enum":["DRILL","GAME","FITNESS","OTHER",null],"maxLength":100,"nullable":true,"example":"DRILL"},"internationalReference":{"description":"The international reference for this match given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"status":{"description":"Match status\n>- `ABANDONED` Abandoned - Match began but had to be stopped\n>- `ABOUT_TO_START` About to Start - Match is about to start\n>- `BYE` Bye - Team has 'rest'\n>- `CANCELLED` Cancelled - Cancelled - will not be played\n>- `CONFIRMED` Confirmed - Match officially completed\n>- `DRAFT` Draft - Not fully scheduled\n>- `FINISHED` Finished - Match finished by not yet 'official'\n>- `IF_NEEDED` If Needed - Only played if needed\n>- `IN_PROGRESS` In Progress - Currently in play\n>- `ON_PITCH` On Pitch - Players appered on the playing field\n>- `PENDING` Pending - Ready to start\n>- `POSTPONED` Postponed - Will be played at a future time\n>- `SCHEDULED` Scheduled - Yet to be played\n>- `WARM_UP` Warm Up - Players have begun to warm up\n","type":"string","enum":["IF_NEEDED","SCHEDULED","BYE","PENDING","IN_PROGRESS","FINISHED","CONFIRMED","POSTPONED","CANCELLED","ABANDONED","WARM_UP","DRAFT","ON_PITCH","ABOUT_TO_START"],"maxLength":100,"default":"SCHEDULED","example":"SCHEDULED"},"fixtureNumber":{"description":"Match number (range of -2147483648 to 2147483647)","type":"integer","format":"int32","nullable":true,"example":123},"nameLocal":{"description":"The name of the match in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Grand Final"},"nameLatin":{"description":"The name of the match in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Grand Final"},"startTimeLocal":{"description":"Local start time","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T18:00:00"},"startTimeActualUTC":{"description":"Actual start time (UTC)","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T02:02:23"},"endTimeActualUTC":{"description":"Actual end time (UTC)","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T04:02:23"},"timesUnconfirmed":{"description":"Is the match time yet to be confirmed ?","type":"boolean","example":true},"locked":{"description":"Is the match locked (to prevent editing)?","type":"boolean","example":true},"placingIfWon":{"description":"Place if Won?","type":"integer","format":"int32","nullable":true,"example":1},"placingIfLost":{"description":"Place if Lost?","type":"integer","format":"int32","nullable":true,"example":1},"attendance":{"description":"Crowd attendance","type":"integer","format":"int32","maximum":999999,"nullable":true,"example":1123},"sellout":{"description":"Was the match a sellout?","type":"boolean","example":true},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"environmental":{"title":"Environmental details","description":"Details about the environment during the fixture","type":"object","nullable":true,"additionalProperties":false,"properties":{"surfaceCondition":{"description":"Condition of surface","type":"string"}}},"duration":{"description":"Length, in minutes, of the match","type":"integer","format":"int32","nullable":true,"example":48},"durationFull":{"description":"Full duration including breaks","type":"integer","format":"int32","nullable":true,"example":180},"ticketURL":{"description":"Ticket URL","type":"string","maxLength":200,"nullable":true},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"seriesCode":{"description":"A unique code for the season series. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"RN1"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"liveDataAvailable":{"description":"Is live data available?","type":"boolean","example":true},"liveVideoAvailable":{"description":"Is live video available ?","type":"boolean","example":true},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"maximumPeriodTypeUsed":{"description":"Maximum Period Type Used\n>- None None\n>- `EXTRA_TIME` Extra Time\n>- `OVERTIME` Overtime\n>- `REGULAR` Regular\n>- `SHOOTOUT` Shoot-Out\n","type":"string","enum":["REGULAR","EXTRA_TIME","OVERTIME","SHOOTOUT",null],"maxLength":50,"nullable":true,"example":"REGULAR"},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50,"example":"ENTITY"},"competitors":{"type":"array","nullable":true,"title":"Match competitors","description":"Array of match competitors","items":{"type":"object","title":"Match competitor","additionalProperties":false,"required":["entityId"],"properties":{"entityId":{"description":"The uuid of the entity","type":"string"},"conferenceId":{"description":"The uuid of the conference","type":"string"},"divisionId":{"description":"The uuid of the division","type":"string"},"includeInConferenceStatistics":{"description":"Include the statistics for this competitors in the conference statistics?","type":"boolean"},"isHome":{"description":"Is competitor the home team ?","type":"boolean"},"includeInRepresentation":{"description":"Include participant in representation count","type":"boolean"},"draw":{"description":"Result for this competitor was a draw ?","type":"boolean"},"resultStatus":{"description":"Result status","type":"string","enum":["SCHEDULED","IN_PROGRESS","CONFIRMED","DISQUALIFIED","FORFEITED","WON_BY_FORFEIT","DID_NOT_FINISH","WITHDRAWN","DID_NOT_START"]},"resultPlace":{"description":"Result placing (1=Won, 2=Lost)","type":"number","nullable":true},"resultSecondaryScorePlace":{"description":"Secondary Score Result placing (1=Won, 2=Lost)","type":"number","nullable":true},"startingNumber":{"description":"Starting number","type":"number","nullable":true},"score":{"description":"Score for competitor in match","type":"string","nullable":true},"secondaryScore":{"description":"Secondary score","type":"string","nullable":true},"shootOutAttempts":{"description":"shootOut Attempts","type":"string","nullable":true},"rosterStatus":{"description":"Roster status","type":"string","enum":["UNKNOWN","SUBMITTED","PENDING","APPROVED","REJECTED"]},"isNeutralVenue":{"description":"Competitor is playing at a neutral venue ?","type":"boolean"},"uniformId":{"description":"The uuid of the uniform","type":"string","nullable":true},"externalId":{"description":"externalId","type":"string"}}}},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"A123"},"profileId":{"description":"The profile that this match belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"includeInStandings":{"description":"Include the match in the standings calculation?","type":"boolean","default":true,"example":true},"featureMatch":{"description":"Is this match a featured match?","type":"boolean","example":true},"seriesFixtureNumber":{"description":"The number of the match in a series of matches","type":"integer","format":"int32","nullable":true,"example":1},"discipline":{"description":"match discipline\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"broadcasts":{"type":"array","items":{"type":"object","nullable":true,"title":"Broadcasts","additionalProperties":false,"properties":{"broadcastType":{"type":"string","description":"Broadcast Type","maxLength":30,"example":"TV","enum":["PAY_PER_VIEW","TV","RADIO","STREAMING_AUDIO","STREAMING_VIDEO"],"nullable":false},"broadcaster":{"description":"Broadcaster Name Local","maxLength":30,"nullable":false,"type":"string","example":"XYZ Network"},"broadcasterURL":{"description":"Broadcaster Home URL","maxLength":255,"type":"string","example":"www.XYZNetwork.com"},"broadcastURL":{"description":"Fixture Broadcast URL","maxLength":255,"type":"string","example":"www.XYZNetwork.com/fixture/123"},"broadcastTimezone":{"description":"Timezone of the broadcast","maxLength":50,"type":"string","example":"Australia/Sydney"},"locale":{"description":"Locale of the broadcast","maxLength":10,"type":"string","example":"en-EN"},"startTimeLocal":{"description":"Start Time of the broadcast","type":"string","pattern":"^([12][0-9]{3})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|\\+00:00)?$","example":"2023-01-01T12:34:56Z"}}}}},"title":"match post body","required":["seasonId","competitorType"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"practiceDrillType\": \"DRILL\",\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"SCHEDULED\",\n  \"fixtureNumber\": 123,\n  \"nameLocal\": \"Grand Final\",\n  \"nameLatin\": \"Grand Final\",\n  \"startTimeLocal\": \"2018-08-16T18:00:00\",\n  \"startTimeActualUTC\": \"2018-08-16T02:02:23\",\n  \"endTimeActualUTC\": \"2018-08-16T04:02:23\",\n  \"timesUnconfirmed\": true,\n  \"locked\": true,\n  \"placingIfWon\": 1,\n  \"placingIfLost\": 1,\n  \"attendance\": 1123,\n  \"sellout\": true,\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"environmental\": {\n    \"surfaceCondition\": \"string\"\n  },\n  \"duration\": 48,\n  \"durationFull\": 180,\n  \"ticketURL\": \"string\",\n  \"stageCode\": \"ST1\",\n  \"seriesCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"roundCode\": \"RN1\",\n  \"roundNumber\": 1,\n  \"liveDataAvailable\": true,\n  \"liveVideoAvailable\": true,\n  \"fixtureType\": \"REGULAR\",\n  \"maximumPeriodTypeUsed\": \"REGULAR\",\n  \"competitorType\": \"ENTITY\",\n  \"competitors\": [\n    {\n      \"entityId\": \"string\",\n      \"conferenceId\": \"string\",\n      \"divisionId\": \"string\",\n      \"includeInConferenceStatistics\": true,\n      \"isHome\": true,\n      \"includeInRepresentation\": true,\n      \"draw\": true,\n      \"resultStatus\": \"SCHEDULED\",\n      \"resultPlace\": 0,\n      \"resultSecondaryScorePlace\": 0,\n      \"startingNumber\": 0,\n      \"score\": \"string\",\n      \"secondaryScore\": \"string\",\n      \"shootOutAttempts\": \"string\",\n      \"rosterStatus\": \"UNKNOWN\",\n      \"isNeutralVenue\": true,\n      \"uniformId\": \"string\",\n      \"externalId\": \"string\"\n    }\n  ],\n  \"venueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"externalId\": \"A123\",\n  \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"includeInStandings\": true,\n  \"featureMatch\": true,\n  \"seriesFixtureNumber\": 1,\n  \"discipline\": \"INDOOR\",\n  \"broadcasts\": [\n    {\n      \"broadcastType\": \"TV\",\n      \"broadcaster\": \"XYZ Network\",\n      \"broadcasterURL\": \"www.XYZNetwork.com\",\n      \"broadcastURL\": \"www.XYZNetwork.com/fixture/123\",\n      \"broadcastTimezone\": \"Australia/Sydney\",\n      \"locale\": \"en-EN\",\n      \"startTimeLocal\": \"2023-01-01T12:34:56Z\"\n    }\n  ]\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  practiceDrillType: 'DRILL',\n  internationalReference: 'CA3243-3',\n  status: 'SCHEDULED',\n  fixtureNumber: 123,\n  nameLocal: 'Grand Final',\n  nameLatin: 'Grand Final',\n  startTimeLocal: '2018-08-16T18:00:00',\n  startTimeActualUTC: '2018-08-16T02:02:23',\n  endTimeActualUTC: '2018-08-16T04:02:23',\n  timesUnconfirmed: true,\n  locked: true,\n  placingIfWon: 1,\n  placingIfLost: 1,\n  attendance: 1123,\n  sellout: true,\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  environmental: {surfaceCondition: 'string'},\n  duration: 48,\n  durationFull: 180,\n  ticketURL: 'string',\n  stageCode: 'ST1',\n  seriesCode: 'ST1',\n  poolCode: 'P1',\n  roundCode: 'RN1',\n  roundNumber: 1,\n  liveDataAvailable: true,\n  liveVideoAvailable: true,\n  fixtureType: 'REGULAR',\n  maximumPeriodTypeUsed: 'REGULAR',\n  competitorType: 'ENTITY',\n  competitors: [\n    {\n      entityId: 'string',\n      conferenceId: 'string',\n      divisionId: 'string',\n      includeInConferenceStatistics: true,\n      isHome: true,\n      includeInRepresentation: true,\n      draw: true,\n      resultStatus: 'SCHEDULED',\n      resultPlace: 0,\n      resultSecondaryScorePlace: 0,\n      startingNumber: 0,\n      score: 'string',\n      secondaryScore: 'string',\n      shootOutAttempts: 'string',\n      rosterStatus: 'UNKNOWN',\n      isNeutralVenue: true,\n      uniformId: 'string',\n      externalId: 'string'\n    }\n  ],\n  venueId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  externalId: 'A123',\n  profileId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  includeInStandings: true,\n  featureMatch: true,\n  seriesFixtureNumber: 1,\n  discipline: 'INDOOR',\n  broadcasts: [\n    {\n      broadcastType: 'TV',\n      broadcaster: 'XYZ Network',\n      broadcasterURL: 'www.XYZNetwork.com',\n      broadcastURL: 'www.XYZNetwork.com/fixture/123',\n      broadcastTimezone: 'Australia/Sydney',\n      locale: 'en-EN',\n      startTimeLocal: '2023-01-01T12:34:56Z'\n    }\n  ]\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"practiceDrillType\": @\"DRILL\",\n                              @\"internationalReference\": @\"CA3243-3\",\n                              @\"status\": @\"SCHEDULED\",\n                              @\"fixtureNumber\": @123,\n                              @\"nameLocal\": @\"Grand Final\",\n                              @\"nameLatin\": @\"Grand Final\",\n                              @\"startTimeLocal\": @\"2018-08-16T18:00:00\",\n                              @\"startTimeActualUTC\": @\"2018-08-16T02:02:23\",\n                              @\"endTimeActualUTC\": @\"2018-08-16T04:02:23\",\n                              @\"timesUnconfirmed\": @YES,\n                              @\"locked\": @YES,\n                              @\"placingIfWon\": @1,\n                              @\"placingIfLost\": @1,\n                              @\"attendance\": @1123,\n                              @\"sellout\": @YES,\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"environmental\": @{ @\"surfaceCondition\": @\"string\" },\n                              @\"duration\": @48,\n                              @\"durationFull\": @180,\n                              @\"ticketURL\": @\"string\",\n                              @\"stageCode\": @\"ST1\",\n                              @\"seriesCode\": @\"ST1\",\n                              @\"poolCode\": @\"P1\",\n                              @\"roundCode\": @\"RN1\",\n                              @\"roundNumber\": @1,\n                              @\"liveDataAvailable\": @YES,\n                              @\"liveVideoAvailable\": @YES,\n                              @\"fixtureType\": @\"REGULAR\",\n                              @\"maximumPeriodTypeUsed\": @\"REGULAR\",\n                              @\"competitorType\": @\"ENTITY\",\n                              @\"competitors\": @[ @{ @\"entityId\": @\"string\", @\"conferenceId\": @\"string\", @\"divisionId\": @\"string\", @\"includeInConferenceStatistics\": @YES, @\"isHome\": @YES, @\"includeInRepresentation\": @YES, @\"draw\": @YES, @\"resultStatus\": @\"SCHEDULED\", @\"resultPlace\": @0, @\"resultSecondaryScorePlace\": @0, @\"startingNumber\": @0, @\"score\": @\"string\", @\"secondaryScore\": @\"string\", @\"shootOutAttempts\": @\"string\", @\"rosterStatus\": @\"UNKNOWN\", @\"isNeutralVenue\": @YES, @\"uniformId\": @\"string\", @\"externalId\": @\"string\" } ],\n                              @\"venueId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"externalId\": @\"A123\",\n                              @\"profileId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"includeInStandings\": @YES,\n                              @\"featureMatch\": @YES,\n                              @\"seriesFixtureNumber\": @1,\n                              @\"discipline\": @\"INDOOR\",\n                              @\"broadcasts\": @[ @{ @\"broadcastType\": @\"TV\", @\"broadcaster\": @\"XYZ Network\", @\"broadcasterURL\": @\"www.XYZNetwork.com\", @\"broadcastURL\": @\"www.XYZNetwork.com/fixture/123\", @\"broadcastTimezone\": @\"Australia/Sydney\", @\"locale\": @\"en-EN\", @\"startTimeLocal\": @\"2023-01-01T12:34:56Z\" } ] };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"practiceDrillType\": \"DRILL\",\n    \"internationalReference\": \"CA3243-3\",\n    \"status\": \"SCHEDULED\",\n    \"fixtureNumber\": 123,\n    \"nameLocal\": \"Grand Final\",\n    \"nameLatin\": \"Grand Final\",\n    \"startTimeLocal\": \"2018-08-16T18:00:00\",\n    \"startTimeActualUTC\": \"2018-08-16T02:02:23\",\n    \"endTimeActualUTC\": \"2018-08-16T04:02:23\",\n    \"timesUnconfirmed\": True,\n    \"locked\": True,\n    \"placingIfWon\": 1,\n    \"placingIfLost\": 1,\n    \"attendance\": 1123,\n    \"sellout\": True,\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"environmental\": {\"surfaceCondition\": \"string\"},\n    \"duration\": 48,\n    \"durationFull\": 180,\n    \"ticketURL\": \"string\",\n    \"stageCode\": \"ST1\",\n    \"seriesCode\": \"ST1\",\n    \"poolCode\": \"P1\",\n    \"roundCode\": \"RN1\",\n    \"roundNumber\": 1,\n    \"liveDataAvailable\": True,\n    \"liveVideoAvailable\": True,\n    \"fixtureType\": \"REGULAR\",\n    \"maximumPeriodTypeUsed\": \"REGULAR\",\n    \"competitorType\": \"ENTITY\",\n    \"competitors\": [\n        {\n            \"entityId\": \"string\",\n            \"conferenceId\": \"string\",\n            \"divisionId\": \"string\",\n            \"includeInConferenceStatistics\": True,\n            \"isHome\": True,\n            \"includeInRepresentation\": True,\n            \"draw\": True,\n            \"resultStatus\": \"SCHEDULED\",\n            \"resultPlace\": 0,\n            \"resultSecondaryScorePlace\": 0,\n            \"startingNumber\": 0,\n            \"score\": \"string\",\n            \"secondaryScore\": \"string\",\n            \"shootOutAttempts\": \"string\",\n            \"rosterStatus\": \"UNKNOWN\",\n            \"isNeutralVenue\": True,\n            \"uniformId\": \"string\",\n            \"externalId\": \"string\"\n        }\n    ],\n    \"venueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"externalId\": \"A123\",\n    \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"includeInStandings\": True,\n    \"featureMatch\": True,\n    \"seriesFixtureNumber\": 1,\n    \"discipline\": \"INDOOR\",\n    \"broadcasts\": [\n        {\n            \"broadcastType\": \"TV\",\n            \"broadcaster\": \"XYZ Network\",\n            \"broadcasterURL\": \"www.XYZNetwork.com\",\n            \"broadcastURL\": \"www.XYZNetwork.com/fixture/123\",\n            \"broadcastTimezone\": \"Australia/Sydney\",\n            \"locale\": \"en-EN\",\n            \"startTimeLocal\": \"2023-01-01T12:34:56Z\"\n        }\n    ]\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"practiceDrillType\":\"DRILL\",\"internationalReference\":\"CA3243-3\",\"status\":\"SCHEDULED\",\"fixtureNumber\":123,\"nameLocal\":\"Grand Final\",\"nameLatin\":\"Grand Final\",\"startTimeLocal\":\"2018-08-16T18:00:00\",\"startTimeActualUTC\":\"2018-08-16T02:02:23\",\"endTimeActualUTC\":\"2018-08-16T04:02:23\",\"timesUnconfirmed\":true,\"locked\":true,\"placingIfWon\":1,\"placingIfLost\":1,\"attendance\":1123,\"sellout\":true,\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"environmental\":{\"surfaceCondition\":\"string\"},\"duration\":48,\"durationFull\":180,\"ticketURL\":\"string\",\"stageCode\":\"ST1\",\"seriesCode\":\"ST1\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":1,\"liveDataAvailable\":true,\"liveVideoAvailable\":true,\"fixtureType\":\"REGULAR\",\"maximumPeriodTypeUsed\":\"REGULAR\",\"competitorType\":\"ENTITY\",\"competitors\":[{\"entityId\":\"string\",\"conferenceId\":\"string\",\"divisionId\":\"string\",\"includeInConferenceStatistics\":true,\"isHome\":true,\"includeInRepresentation\":true,\"draw\":true,\"resultStatus\":\"SCHEDULED\",\"resultPlace\":0,\"resultSecondaryScorePlace\":0,\"startingNumber\":0,\"score\":\"string\",\"secondaryScore\":\"string\",\"shootOutAttempts\":\"string\",\"rosterStatus\":\"UNKNOWN\",\"isNeutralVenue\":true,\"uniformId\":\"string\",\"externalId\":\"string\"}],\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"externalId\":\"A123\",\"profileId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"includeInStandings\":true,\"featureMatch\":true,\"seriesFixtureNumber\":1,\"discipline\":\"INDOOR\",\"broadcasts\":[{\"broadcastType\":\"TV\",\"broadcaster\":\"XYZ Network\",\"broadcasterURL\":\"www.XYZNetwork.com\",\"broadcastURL\":\"www.XYZNetwork.com/fixture/123\",\"broadcastTimezone\":\"Australia/Sydney\",\"locale\":\"en-EN\",\"startTimeLocal\":\"2023-01-01T12:34:56Z\"}]}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"practiceDrillType\": \"DRILL\",\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"SCHEDULED\",\n  \"fixtureNumber\": 123,\n  \"nameLocal\": \"Grand Final\",\n  \"nameLatin\": \"Grand Final\",\n  \"startTimeLocal\": \"2018-08-16T18:00:00\",\n  \"startTimeActualUTC\": \"2018-08-16T02:02:23\",\n  \"endTimeActualUTC\": \"2018-08-16T04:02:23\",\n  \"timesUnconfirmed\": true,\n  \"locked\": true,\n  \"placingIfWon\": 1,\n  \"placingIfLost\": 1,\n  \"attendance\": 1123,\n  \"sellout\": true,\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"environmental\": [\"surfaceCondition\": \"string\"],\n  \"duration\": 48,\n  \"durationFull\": 180,\n  \"ticketURL\": \"string\",\n  \"stageCode\": \"ST1\",\n  \"seriesCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"roundCode\": \"RN1\",\n  \"roundNumber\": 1,\n  \"liveDataAvailable\": true,\n  \"liveVideoAvailable\": true,\n  \"fixtureType\": \"REGULAR\",\n  \"maximumPeriodTypeUsed\": \"REGULAR\",\n  \"competitorType\": \"ENTITY\",\n  \"competitors\": [\n    [\n      \"entityId\": \"string\",\n      \"conferenceId\": \"string\",\n      \"divisionId\": \"string\",\n      \"includeInConferenceStatistics\": true,\n      \"isHome\": true,\n      \"includeInRepresentation\": true,\n      \"draw\": true,\n      \"resultStatus\": \"SCHEDULED\",\n      \"resultPlace\": 0,\n      \"resultSecondaryScorePlace\": 0,\n      \"startingNumber\": 0,\n      \"score\": \"string\",\n      \"secondaryScore\": \"string\",\n      \"shootOutAttempts\": \"string\",\n      \"rosterStatus\": \"UNKNOWN\",\n      \"isNeutralVenue\": true,\n      \"uniformId\": \"string\",\n      \"externalId\": \"string\"\n    ]\n  ],\n  \"venueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"externalId\": \"A123\",\n  \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"includeInStandings\": true,\n  \"featureMatch\": true,\n  \"seriesFixtureNumber\": 1,\n  \"discipline\": \"INDOOR\",\n  \"broadcasts\": [\n    [\n      \"broadcastType\": \"TV\",\n      \"broadcaster\": \"XYZ Network\",\n      \"broadcasterURL\": \"www.XYZNetwork.com\",\n      \"broadcastURL\": \"www.XYZNetwork.com/fixture/123\",\n      \"broadcastTimezone\": \"Australia/Sydney\",\n      \"locale\": \"en-EN\",\n      \"startTimeLocal\": \"2023-01-01T12:34:56Z\"\n    ]\n  ]\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}":{"get":{"tags":["Matches"],"summary":"Get a match","description":"Return detailed information about a specific match","operationId":"fixture_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixtures 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/FixturesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Matches"],"summary":"Update a match","description":"Change the information of a specific match","operationId":"fixture_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixtures 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/FixturesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"practiceDrillType":{"description":"Practice types\n>- None None\n>- `DRILL` Drill\n>- `FITNESS` Fitness\n>- `GAME` Practice Game\n>- `OTHER` Other\n","type":"string","enum":["DRILL","GAME","FITNESS","OTHER",null],"maxLength":100,"nullable":true,"example":"DRILL"},"internationalReference":{"description":"The international reference for this match given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"status":{"description":"Match status\n>- `ABANDONED` Abandoned - Match began but had to be stopped\n>- `ABOUT_TO_START` About to Start - Match is about to start\n>- `BYE` Bye - Team has 'rest'\n>- `CANCELLED` Cancelled - Cancelled - will not be played\n>- `CONFIRMED` Confirmed - Match officially completed\n>- `DRAFT` Draft - Not fully scheduled\n>- `FINISHED` Finished - Match finished by not yet 'official'\n>- `IF_NEEDED` If Needed - Only played if needed\n>- `IN_PROGRESS` In Progress - Currently in play\n>- `ON_PITCH` On Pitch - Players appered on the playing field\n>- `PENDING` Pending - Ready to start\n>- `POSTPONED` Postponed - Will be played at a future time\n>- `SCHEDULED` Scheduled - Yet to be played\n>- `WARM_UP` Warm Up - Players have begun to warm up\n","type":"string","enum":["IF_NEEDED","SCHEDULED","BYE","PENDING","IN_PROGRESS","FINISHED","CONFIRMED","POSTPONED","CANCELLED","ABANDONED","WARM_UP","DRAFT","ON_PITCH","ABOUT_TO_START"],"maxLength":100,"default":"SCHEDULED","example":"SCHEDULED"},"fixtureNumber":{"description":"Match number (range of -2147483648 to 2147483647)","type":"integer","format":"int32","nullable":true,"example":123},"nameLocal":{"description":"The name of the match in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"nullable":true,"example":"Grand Final"},"nameLatin":{"description":"The name of the match in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Grand Final"},"startTimeLocal":{"description":"Local start time","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T18:00:00"},"startTimeActualUTC":{"description":"Actual start time (UTC)","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T02:02:23"},"endTimeActualUTC":{"description":"Actual end time (UTC)","type":"string","format":"date-time","nullable":true,"example":"2018-08-16T04:02:23"},"timesUnconfirmed":{"description":"Is the match time yet to be confirmed ?","type":"boolean","example":true},"locked":{"description":"Is the match locked (to prevent editing)?","type":"boolean","example":true},"placingIfWon":{"description":"Place if Won?","type":"integer","format":"int32","nullable":true,"example":1},"placingIfLost":{"description":"Place if Lost?","type":"integer","format":"int32","nullable":true,"example":1},"attendance":{"description":"Crowd attendance","type":"integer","format":"int32","maximum":999999,"nullable":true,"example":1123},"sellout":{"description":"Was the match a sellout?","type":"boolean","example":true},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"environmental":{"title":"Environmental details","description":"Details about the environment during the fixture","type":"object","nullable":true,"additionalProperties":false,"properties":{"surfaceCondition":{"description":"Condition of surface","type":"string"}}},"duration":{"description":"Length, in minutes, of the match","type":"integer","format":"int32","nullable":true,"example":48},"durationFull":{"description":"Full duration including breaks","type":"integer","format":"int32","nullable":true,"example":180},"ticketURL":{"description":"Ticket URL","type":"string","maxLength":200,"nullable":true},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"seriesCode":{"description":"A unique code for the season series. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"RN1"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"liveDataAvailable":{"description":"Is live data available?","type":"boolean","example":true},"liveVideoAvailable":{"description":"Is live video available ?","type":"boolean","example":true},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"maximumPeriodTypeUsed":{"description":"Maximum Period Type Used\n>- None None\n>- `EXTRA_TIME` Extra Time\n>- `OVERTIME` Overtime\n>- `REGULAR` Regular\n>- `SHOOTOUT` Shoot-Out\n","type":"string","enum":["REGULAR","EXTRA_TIME","OVERTIME","SHOOTOUT",null],"maxLength":50,"nullable":true,"example":"REGULAR"},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50,"example":"ENTITY"},"competitors":{"type":"array","nullable":true,"title":"Match competitors","description":"Array of match competitors","items":{"type":"object","title":"Match competitor","additionalProperties":false,"required":["entityId"],"properties":{"entityId":{"description":"The uuid of the entity","type":"string"},"conferenceId":{"description":"The uuid of the conference","type":"string"},"divisionId":{"description":"The uuid of the division","type":"string"},"includeInConferenceStatistics":{"description":"Include the statistics for this competitors in the conference statistics?","type":"boolean"},"isHome":{"description":"Is competitor the home team ?","type":"boolean"},"includeInRepresentation":{"description":"Include participant in representation count","type":"boolean"},"draw":{"description":"Result for this competitor was a draw ?","type":"boolean"},"resultStatus":{"description":"Result status","type":"string","enum":["SCHEDULED","IN_PROGRESS","CONFIRMED","DISQUALIFIED","FORFEITED","WON_BY_FORFEIT","DID_NOT_FINISH","WITHDRAWN","DID_NOT_START"]},"resultPlace":{"description":"Result placing (1=Won, 2=Lost)","type":"number","nullable":true},"resultSecondaryScorePlace":{"description":"Secondary Score Result placing (1=Won, 2=Lost)","type":"number","nullable":true},"startingNumber":{"description":"Starting number","type":"number","nullable":true},"score":{"description":"Score for competitor in match","type":"string","nullable":true},"secondaryScore":{"description":"Secondary score","type":"string","nullable":true},"shootOutAttempts":{"description":"shootOut Attempts","type":"string","nullable":true},"rosterStatus":{"description":"Roster status","type":"string","enum":["UNKNOWN","SUBMITTED","PENDING","APPROVED","REJECTED"]},"isNeutralVenue":{"description":"Competitor is playing at a neutral venue ?","type":"boolean"},"uniformId":{"description":"The uuid of the uniform","type":"string","nullable":true},"externalId":{"description":"externalId","type":"string"}}}},"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"A123"},"profileId":{"description":"The profile that this match belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"includeInStandings":{"description":"Include the match in the standings calculation?","type":"boolean","default":true,"example":true},"featureMatch":{"description":"Is this match a featured match?","type":"boolean","example":true},"seriesFixtureNumber":{"description":"The number of the match in a series of matches","type":"integer","format":"int32","nullable":true,"example":1},"discipline":{"description":"match discipline\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"broadcasts":{"type":"array","items":{"type":"object","nullable":true,"title":"Broadcasts","additionalProperties":false,"properties":{"broadcastType":{"type":"string","description":"Broadcast Type","maxLength":30,"example":"TV","enum":["PAY_PER_VIEW","TV","RADIO","STREAMING_AUDIO","STREAMING_VIDEO"],"nullable":false},"broadcaster":{"description":"Broadcaster Name Local","maxLength":30,"nullable":false,"type":"string","example":"XYZ Network"},"broadcasterURL":{"description":"Broadcaster Home URL","maxLength":255,"type":"string","example":"www.XYZNetwork.com"},"broadcastURL":{"description":"Fixture Broadcast URL","maxLength":255,"type":"string","example":"www.XYZNetwork.com/fixture/123"},"broadcastTimezone":{"description":"Timezone of the broadcast","maxLength":50,"type":"string","example":"Australia/Sydney"},"locale":{"description":"Locale of the broadcast","maxLength":10,"type":"string","example":"en-EN"},"startTimeLocal":{"description":"Start Time of the broadcast","type":"string","pattern":"^([12][0-9]{3})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(\\.[0-9]+)?(Z|\\+00:00)?$","example":"2023-01-01T12:34:56Z"}}}}},"title":"match put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"practiceDrillType\": \"DRILL\",\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"SCHEDULED\",\n  \"fixtureNumber\": 123,\n  \"nameLocal\": \"Grand Final\",\n  \"nameLatin\": \"Grand Final\",\n  \"startTimeLocal\": \"2018-08-16T18:00:00\",\n  \"startTimeActualUTC\": \"2018-08-16T02:02:23\",\n  \"endTimeActualUTC\": \"2018-08-16T04:02:23\",\n  \"timesUnconfirmed\": true,\n  \"locked\": true,\n  \"placingIfWon\": 1,\n  \"placingIfLost\": 1,\n  \"attendance\": 1123,\n  \"sellout\": true,\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"environmental\": {\n    \"surfaceCondition\": \"string\"\n  },\n  \"duration\": 48,\n  \"durationFull\": 180,\n  \"ticketURL\": \"string\",\n  \"stageCode\": \"ST1\",\n  \"seriesCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"roundCode\": \"RN1\",\n  \"roundNumber\": 1,\n  \"liveDataAvailable\": true,\n  \"liveVideoAvailable\": true,\n  \"fixtureType\": \"REGULAR\",\n  \"maximumPeriodTypeUsed\": \"REGULAR\",\n  \"competitorType\": \"ENTITY\",\n  \"competitors\": [\n    {\n      \"entityId\": \"string\",\n      \"conferenceId\": \"string\",\n      \"divisionId\": \"string\",\n      \"includeInConferenceStatistics\": true,\n      \"isHome\": true,\n      \"includeInRepresentation\": true,\n      \"draw\": true,\n      \"resultStatus\": \"SCHEDULED\",\n      \"resultPlace\": 0,\n      \"resultSecondaryScorePlace\": 0,\n      \"startingNumber\": 0,\n      \"score\": \"string\",\n      \"secondaryScore\": \"string\",\n      \"shootOutAttempts\": \"string\",\n      \"rosterStatus\": \"UNKNOWN\",\n      \"isNeutralVenue\": true,\n      \"uniformId\": \"string\",\n      \"externalId\": \"string\"\n    }\n  ],\n  \"venueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"externalId\": \"A123\",\n  \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"includeInStandings\": true,\n  \"featureMatch\": true,\n  \"seriesFixtureNumber\": 1,\n  \"discipline\": \"INDOOR\",\n  \"broadcasts\": [\n    {\n      \"broadcastType\": \"TV\",\n      \"broadcaster\": \"XYZ Network\",\n      \"broadcasterURL\": \"www.XYZNetwork.com\",\n      \"broadcastURL\": \"www.XYZNetwork.com/fixture/123\",\n      \"broadcastTimezone\": \"Australia/Sydney\",\n      \"locale\": \"en-EN\",\n      \"startTimeLocal\": \"2023-01-01T12:34:56Z\"\n    }\n  ]\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  practiceDrillType: 'DRILL',\n  internationalReference: 'CA3243-3',\n  status: 'SCHEDULED',\n  fixtureNumber: 123,\n  nameLocal: 'Grand Final',\n  nameLatin: 'Grand Final',\n  startTimeLocal: '2018-08-16T18:00:00',\n  startTimeActualUTC: '2018-08-16T02:02:23',\n  endTimeActualUTC: '2018-08-16T04:02:23',\n  timesUnconfirmed: true,\n  locked: true,\n  placingIfWon: 1,\n  placingIfLost: 1,\n  attendance: 1123,\n  sellout: true,\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  environmental: {surfaceCondition: 'string'},\n  duration: 48,\n  durationFull: 180,\n  ticketURL: 'string',\n  stageCode: 'ST1',\n  seriesCode: 'ST1',\n  poolCode: 'P1',\n  roundCode: 'RN1',\n  roundNumber: 1,\n  liveDataAvailable: true,\n  liveVideoAvailable: true,\n  fixtureType: 'REGULAR',\n  maximumPeriodTypeUsed: 'REGULAR',\n  competitorType: 'ENTITY',\n  competitors: [\n    {\n      entityId: 'string',\n      conferenceId: 'string',\n      divisionId: 'string',\n      includeInConferenceStatistics: true,\n      isHome: true,\n      includeInRepresentation: true,\n      draw: true,\n      resultStatus: 'SCHEDULED',\n      resultPlace: 0,\n      resultSecondaryScorePlace: 0,\n      startingNumber: 0,\n      score: 'string',\n      secondaryScore: 'string',\n      shootOutAttempts: 'string',\n      rosterStatus: 'UNKNOWN',\n      isNeutralVenue: true,\n      uniformId: 'string',\n      externalId: 'string'\n    }\n  ],\n  venueId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  externalId: 'A123',\n  profileId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  includeInStandings: true,\n  featureMatch: true,\n  seriesFixtureNumber: 1,\n  discipline: 'INDOOR',\n  broadcasts: [\n    {\n      broadcastType: 'TV',\n      broadcaster: 'XYZ Network',\n      broadcasterURL: 'www.XYZNetwork.com',\n      broadcastURL: 'www.XYZNetwork.com/fixture/123',\n      broadcastTimezone: 'Australia/Sydney',\n      locale: 'en-EN',\n      startTimeLocal: '2023-01-01T12:34:56Z'\n    }\n  ]\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"practiceDrillType\": @\"DRILL\",\n                              @\"internationalReference\": @\"CA3243-3\",\n                              @\"status\": @\"SCHEDULED\",\n                              @\"fixtureNumber\": @123,\n                              @\"nameLocal\": @\"Grand Final\",\n                              @\"nameLatin\": @\"Grand Final\",\n                              @\"startTimeLocal\": @\"2018-08-16T18:00:00\",\n                              @\"startTimeActualUTC\": @\"2018-08-16T02:02:23\",\n                              @\"endTimeActualUTC\": @\"2018-08-16T04:02:23\",\n                              @\"timesUnconfirmed\": @YES,\n                              @\"locked\": @YES,\n                              @\"placingIfWon\": @1,\n                              @\"placingIfLost\": @1,\n                              @\"attendance\": @1123,\n                              @\"sellout\": @YES,\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"environmental\": @{ @\"surfaceCondition\": @\"string\" },\n                              @\"duration\": @48,\n                              @\"durationFull\": @180,\n                              @\"ticketURL\": @\"string\",\n                              @\"stageCode\": @\"ST1\",\n                              @\"seriesCode\": @\"ST1\",\n                              @\"poolCode\": @\"P1\",\n                              @\"roundCode\": @\"RN1\",\n                              @\"roundNumber\": @1,\n                              @\"liveDataAvailable\": @YES,\n                              @\"liveVideoAvailable\": @YES,\n                              @\"fixtureType\": @\"REGULAR\",\n                              @\"maximumPeriodTypeUsed\": @\"REGULAR\",\n                              @\"competitorType\": @\"ENTITY\",\n                              @\"competitors\": @[ @{ @\"entityId\": @\"string\", @\"conferenceId\": @\"string\", @\"divisionId\": @\"string\", @\"includeInConferenceStatistics\": @YES, @\"isHome\": @YES, @\"includeInRepresentation\": @YES, @\"draw\": @YES, @\"resultStatus\": @\"SCHEDULED\", @\"resultPlace\": @0, @\"resultSecondaryScorePlace\": @0, @\"startingNumber\": @0, @\"score\": @\"string\", @\"secondaryScore\": @\"string\", @\"shootOutAttempts\": @\"string\", @\"rosterStatus\": @\"UNKNOWN\", @\"isNeutralVenue\": @YES, @\"uniformId\": @\"string\", @\"externalId\": @\"string\" } ],\n                              @\"venueId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"externalId\": @\"A123\",\n                              @\"profileId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"includeInStandings\": @YES,\n                              @\"featureMatch\": @YES,\n                              @\"seriesFixtureNumber\": @1,\n                              @\"discipline\": @\"INDOOR\",\n                              @\"broadcasts\": @[ @{ @\"broadcastType\": @\"TV\", @\"broadcaster\": @\"XYZ Network\", @\"broadcasterURL\": @\"www.XYZNetwork.com\", @\"broadcastURL\": @\"www.XYZNetwork.com/fixture/123\", @\"broadcastTimezone\": @\"Australia/Sydney\", @\"locale\": @\"en-EN\", @\"startTimeLocal\": @\"2023-01-01T12:34:56Z\" } ] };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"practiceDrillType\": \"DRILL\",\n    \"internationalReference\": \"CA3243-3\",\n    \"status\": \"SCHEDULED\",\n    \"fixtureNumber\": 123,\n    \"nameLocal\": \"Grand Final\",\n    \"nameLatin\": \"Grand Final\",\n    \"startTimeLocal\": \"2018-08-16T18:00:00\",\n    \"startTimeActualUTC\": \"2018-08-16T02:02:23\",\n    \"endTimeActualUTC\": \"2018-08-16T04:02:23\",\n    \"timesUnconfirmed\": True,\n    \"locked\": True,\n    \"placingIfWon\": 1,\n    \"placingIfLost\": 1,\n    \"attendance\": 1123,\n    \"sellout\": True,\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"environmental\": {\"surfaceCondition\": \"string\"},\n    \"duration\": 48,\n    \"durationFull\": 180,\n    \"ticketURL\": \"string\",\n    \"stageCode\": \"ST1\",\n    \"seriesCode\": \"ST1\",\n    \"poolCode\": \"P1\",\n    \"roundCode\": \"RN1\",\n    \"roundNumber\": 1,\n    \"liveDataAvailable\": True,\n    \"liveVideoAvailable\": True,\n    \"fixtureType\": \"REGULAR\",\n    \"maximumPeriodTypeUsed\": \"REGULAR\",\n    \"competitorType\": \"ENTITY\",\n    \"competitors\": [\n        {\n            \"entityId\": \"string\",\n            \"conferenceId\": \"string\",\n            \"divisionId\": \"string\",\n            \"includeInConferenceStatistics\": True,\n            \"isHome\": True,\n            \"includeInRepresentation\": True,\n            \"draw\": True,\n            \"resultStatus\": \"SCHEDULED\",\n            \"resultPlace\": 0,\n            \"resultSecondaryScorePlace\": 0,\n            \"startingNumber\": 0,\n            \"score\": \"string\",\n            \"secondaryScore\": \"string\",\n            \"shootOutAttempts\": \"string\",\n            \"rosterStatus\": \"UNKNOWN\",\n            \"isNeutralVenue\": True,\n            \"uniformId\": \"string\",\n            \"externalId\": \"string\"\n        }\n    ],\n    \"venueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"externalId\": \"A123\",\n    \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"includeInStandings\": True,\n    \"featureMatch\": True,\n    \"seriesFixtureNumber\": 1,\n    \"discipline\": \"INDOOR\",\n    \"broadcasts\": [\n        {\n            \"broadcastType\": \"TV\",\n            \"broadcaster\": \"XYZ Network\",\n            \"broadcasterURL\": \"www.XYZNetwork.com\",\n            \"broadcastURL\": \"www.XYZNetwork.com/fixture/123\",\n            \"broadcastTimezone\": \"Australia/Sydney\",\n            \"locale\": \"en-EN\",\n            \"startTimeLocal\": \"2023-01-01T12:34:56Z\"\n        }\n    ]\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"practiceDrillType\\\":\\\"DRILL\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"status\\\":\\\"SCHEDULED\\\",\\\"fixtureNumber\\\":123,\\\"nameLocal\\\":\\\"Grand Final\\\",\\\"nameLatin\\\":\\\"Grand Final\\\",\\\"startTimeLocal\\\":\\\"2018-08-16T18:00:00\\\",\\\"startTimeActualUTC\\\":\\\"2018-08-16T02:02:23\\\",\\\"endTimeActualUTC\\\":\\\"2018-08-16T04:02:23\\\",\\\"timesUnconfirmed\\\":true,\\\"locked\\\":true,\\\"placingIfWon\\\":1,\\\"placingIfLost\\\":1,\\\"attendance\\\":1123,\\\"sellout\\\":true,\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"environmental\\\":{\\\"surfaceCondition\\\":\\\"string\\\"},\\\"duration\\\":48,\\\"durationFull\\\":180,\\\"ticketURL\\\":\\\"string\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"seriesCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"liveDataAvailable\\\":true,\\\"liveVideoAvailable\\\":true,\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"maximumPeriodTypeUsed\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"includeInConferenceStatistics\\\":true,\\\"isHome\\\":true,\\\"includeInRepresentation\\\":true,\\\"draw\\\":true,\\\"resultStatus\\\":\\\"SCHEDULED\\\",\\\"resultPlace\\\":0,\\\"resultSecondaryScorePlace\\\":0,\\\"startingNumber\\\":0,\\\"score\\\":\\\"string\\\",\\\"secondaryScore\\\":\\\"string\\\",\\\"shootOutAttempts\\\":\\\"string\\\",\\\"rosterStatus\\\":\\\"UNKNOWN\\\",\\\"isNeutralVenue\\\":true,\\\"uniformId\\\":\\\"string\\\",\\\"externalId\\\":\\\"string\\\"}],\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"externalId\\\":\\\"A123\\\",\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"includeInStandings\\\":true,\\\"featureMatch\\\":true,\\\"seriesFixtureNumber\\\":1,\\\"discipline\\\":\\\"INDOOR\\\",\\\"broadcasts\\\":[{\\\"broadcastType\\\":\\\"TV\\\",\\\"broadcaster\\\":\\\"XYZ Network\\\",\\\"broadcasterURL\\\":\\\"www.XYZNetwork.com\\\",\\\"broadcastURL\\\":\\\"www.XYZNetwork.com/fixture/123\\\",\\\"broadcastTimezone\\\":\\\"Australia/Sydney\\\",\\\"locale\\\":\\\"en-EN\\\",\\\"startTimeLocal\\\":\\\"2023-01-01T12:34:56Z\\\"}]}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"practiceDrillType\":\"DRILL\",\"internationalReference\":\"CA3243-3\",\"status\":\"SCHEDULED\",\"fixtureNumber\":123,\"nameLocal\":\"Grand Final\",\"nameLatin\":\"Grand Final\",\"startTimeLocal\":\"2018-08-16T18:00:00\",\"startTimeActualUTC\":\"2018-08-16T02:02:23\",\"endTimeActualUTC\":\"2018-08-16T04:02:23\",\"timesUnconfirmed\":true,\"locked\":true,\"placingIfWon\":1,\"placingIfLost\":1,\"attendance\":1123,\"sellout\":true,\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"environmental\":{\"surfaceCondition\":\"string\"},\"duration\":48,\"durationFull\":180,\"ticketURL\":\"string\",\"stageCode\":\"ST1\",\"seriesCode\":\"ST1\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":1,\"liveDataAvailable\":true,\"liveVideoAvailable\":true,\"fixtureType\":\"REGULAR\",\"maximumPeriodTypeUsed\":\"REGULAR\",\"competitorType\":\"ENTITY\",\"competitors\":[{\"entityId\":\"string\",\"conferenceId\":\"string\",\"divisionId\":\"string\",\"includeInConferenceStatistics\":true,\"isHome\":true,\"includeInRepresentation\":true,\"draw\":true,\"resultStatus\":\"SCHEDULED\",\"resultPlace\":0,\"resultSecondaryScorePlace\":0,\"startingNumber\":0,\"score\":\"string\",\"secondaryScore\":\"string\",\"shootOutAttempts\":\"string\",\"rosterStatus\":\"UNKNOWN\",\"isNeutralVenue\":true,\"uniformId\":\"string\",\"externalId\":\"string\"}],\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"externalId\":\"A123\",\"profileId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"includeInStandings\":true,\"featureMatch\":true,\"seriesFixtureNumber\":1,\"discipline\":\"INDOOR\",\"broadcasts\":[{\"broadcastType\":\"TV\",\"broadcaster\":\"XYZ Network\",\"broadcasterURL\":\"www.XYZNetwork.com\",\"broadcastURL\":\"www.XYZNetwork.com/fixture/123\",\"broadcastTimezone\":\"Australia/Sydney\",\"locale\":\"en-EN\",\"startTimeLocal\":\"2023-01-01T12:34:56Z\"}]}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"practiceDrillType\": \"DRILL\",\n  \"internationalReference\": \"CA3243-3\",\n  \"status\": \"SCHEDULED\",\n  \"fixtureNumber\": 123,\n  \"nameLocal\": \"Grand Final\",\n  \"nameLatin\": \"Grand Final\",\n  \"startTimeLocal\": \"2018-08-16T18:00:00\",\n  \"startTimeActualUTC\": \"2018-08-16T02:02:23\",\n  \"endTimeActualUTC\": \"2018-08-16T04:02:23\",\n  \"timesUnconfirmed\": true,\n  \"locked\": true,\n  \"placingIfWon\": 1,\n  \"placingIfLost\": 1,\n  \"attendance\": 1123,\n  \"sellout\": true,\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"environmental\": [\"surfaceCondition\": \"string\"],\n  \"duration\": 48,\n  \"durationFull\": 180,\n  \"ticketURL\": \"string\",\n  \"stageCode\": \"ST1\",\n  \"seriesCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"roundCode\": \"RN1\",\n  \"roundNumber\": 1,\n  \"liveDataAvailable\": true,\n  \"liveVideoAvailable\": true,\n  \"fixtureType\": \"REGULAR\",\n  \"maximumPeriodTypeUsed\": \"REGULAR\",\n  \"competitorType\": \"ENTITY\",\n  \"competitors\": [\n    [\n      \"entityId\": \"string\",\n      \"conferenceId\": \"string\",\n      \"divisionId\": \"string\",\n      \"includeInConferenceStatistics\": true,\n      \"isHome\": true,\n      \"includeInRepresentation\": true,\n      \"draw\": true,\n      \"resultStatus\": \"SCHEDULED\",\n      \"resultPlace\": 0,\n      \"resultSecondaryScorePlace\": 0,\n      \"startingNumber\": 0,\n      \"score\": \"string\",\n      \"secondaryScore\": \"string\",\n      \"shootOutAttempts\": \"string\",\n      \"rosterStatus\": \"UNKNOWN\",\n      \"isNeutralVenue\": true,\n      \"uniformId\": \"string\",\n      \"externalId\": \"string\"\n    ]\n  ],\n  \"venueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"externalId\": \"A123\",\n  \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"includeInStandings\": true,\n  \"featureMatch\": true,\n  \"seriesFixtureNumber\": 1,\n  \"discipline\": \"INDOOR\",\n  \"broadcasts\": [\n    [\n      \"broadcastType\": \"TV\",\n      \"broadcaster\": \"XYZ Network\",\n      \"broadcasterURL\": \"www.XYZNetwork.com\",\n      \"broadcastURL\": \"www.XYZNetwork.com/fixture/123\",\n      \"broadcastTimezone\": \"Australia/Sydney\",\n      \"locale\": \"en-EN\",\n      \"startTimeLocal\": \"2023-01-01T12:34:56Z\"\n    ]\n  ]\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Matches"],"summary":"Delete a match","description":"Delete a specific match","operationId":"fixture_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixtures 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/FixturesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger":{"post":{"tags":["Matches"],"summary":"Trigger EMR merge process for the match","description":"Triggers match EMR merge process.","operationId":"fixture_trigger_emr_merge","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:admin"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"POST\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"POST\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/trigger?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/leagues":{"get":{"tags":["Leagues"],"summary":"Get a list of leagues","description":"Return a list of available leagues within the organization.","operationId":"league_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Leagues 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/LeaguesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/countryCode"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatin"},{"$ref":"#/components/parameters/nameLatinContains"},{"$ref":"#/components/parameters/nameLocal"},{"$ref":"#/components/parameters/nameLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/regionType"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&regionType=STATE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&regionType=STATE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&regionType=STATE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&regionType=STATE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&regionType=STATE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&regionType=STATE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&regionType=STATE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&regionType=STATE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&regionType=STATE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&regionType=STATE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"countryCode\":\"USA\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatin\":\"SOME_STRING_VALUE\",\"nameLatinContains\":\"Dav and nameLatin='David Johnson'\",\"nameLocal\":\"SOME_STRING_VALUE\",\"nameLocalContains\":\"Dav and nameLocal='David Johnson'\",\"offset\":\"10\",\"regionType\":\"STATE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&regionType=STATE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'\\''David%20Johnson'\\''&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'\\''David%20Johnson'\\''&offset=10&regionType=STATE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&regionType=STATE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Leagues"],"summary":"Create a new league","description":"Add a new league to the organization.","operationId":"league_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Leagues 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/LeaguesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"leagueId":{"description":"The unique identifier of the league","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the league in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the league in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"countryCode":{"description":"Country code of the league. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"regionType":{"description":"How geographically relevant is this league\n>- `INTERNATIONAL` Multiple countries\n>- `INTERSTATE` Cross state\n>- `LOCAL` Local area\n>- `NATIONAL` One country\n>- `STATE` One state\n","type":"string","enum":["LOCAL","STATE","INTERSTATE","NATIONAL","INTERNATIONAL"],"example":"STATE"},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"}},"title":"league post body","required":["nameLocal","regionType"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"leagueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"countryCode\": \"USA\",\n  \"regionType\": \"STATE\",\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  leagueId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  countryCode: 'USA',\n  regionType: 'STATE',\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"leagueId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"countryCode\": @\"USA\",\n                              @\"regionType\": @\"STATE\",\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"leagueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"countryCode\": \"USA\",\n    \"regionType\": \"STATE\",\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"leagueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"leagueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"countryCode\":\"USA\",\"regionType\":\"STATE\",\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"leagueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"countryCode\": \"USA\",\n  \"regionType\": \"STATE\",\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/leagues/{leagueId}":{"get":{"tags":["Leagues"],"summary":"Get a league","description":"Return detailed information about a specific league.","operationId":"league_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Leagues 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/LeaguesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"leagueId","description":"The unique identifier of the league","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Leagues"],"summary":"Update a league","description":"Change the information of a specific league","operationId":"league_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Leagues 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/LeaguesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"leagueId","description":"The unique identifier of the league","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the league in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the league in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"countryCode":{"description":"Country code of the league. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"regionType":{"description":"How geographically relevant is this league\n>- `INTERNATIONAL` Multiple countries\n>- `INTERSTATE` Cross state\n>- `LOCAL` Local area\n>- `NATIONAL` One country\n>- `STATE` One state\n","type":"string","enum":["LOCAL","STATE","INTERSTATE","NATIONAL","INTERNATIONAL"],"example":"STATE"},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"}},"title":"league put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"countryCode\": \"USA\",\n  \"regionType\": \"STATE\",\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  countryCode: 'USA',\n  regionType: 'STATE',\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"countryCode\": @\"USA\",\n                              @\"regionType\": @\"STATE\",\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"countryCode\": \"USA\",\n    \"regionType\": \"STATE\",\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"countryCode\":\"USA\",\"regionType\":\"STATE\",\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"countryCode\": \"USA\",\n  \"regionType\": \"STATE\",\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Leagues"],"summary":"Delete a league","description":"Delete a specific league","operationId":"league_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Leagues 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/LeaguesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/forceDelete"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"leagueId","description":"The unique identifier of the league","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/leagues/{leagueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/organizations":{"get":{"tags":["Organizations"],"summary":"Get a list of organizations","description":"Return a list of available organizations","operationId":"organization_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Organizations 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/OrganizationsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/countryCode"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/regionType"},{"name":"search","description":"Searches the provided text in the fields organizationId, abbreviationLocal, nameLocal, abbreviationLatin, nameLatin","schema":{"type":"string","example":"bob"},"required":false,"in":"query"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"countryCode\":\"USA\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"regionType\":\"STATE\",\"search\":\"bob\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&regionType=STATE&search=bob&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Organizations"],"summary":"Create a new organization","description":"Add a new organization to the system","operationId":"organization_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Organizations 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/OrganizationsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:admin_organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"organizationId":{"description":"The unique identifier of the organization","type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the organization in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the organization in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"countryCode":{"description":"Country code of the organization. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"regionType":{"description":"How geographically relevant is this organization\n>- `INTERNATIONAL` Multiple countries\n>- `INTERSTATE` Cross state\n>- `LOCAL` Local area\n>- `NATIONAL` One country\n>- `STATE` One state\n","type":"string","enum":["LOCAL","STATE","INTERSTATE","NATIONAL","INTERNATIONAL"],"example":"STATE"},"defaultLocale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"}},"title":"organization post body","required":["nameLocal","regionType"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"organizationId\\\":\\\"b1a23\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"organizationId\\\":\\\"b1a23\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"organizationId\\\":\\\"b1a23\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"organizationId\\\":\\\"b1a23\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"organizationId\": \"b1a23\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"countryCode\": \"USA\",\n  \"regionType\": \"STATE\",\n  \"defaultLocale\": \"fr-FR\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  organizationId: 'b1a23',\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  countryCode: 'USA',\n  regionType: 'STATE',\n  defaultLocale: 'fr-FR'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"organizationId\": @\"b1a23\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"countryCode\": @\"USA\",\n                              @\"regionType\": @\"STATE\",\n                              @\"defaultLocale\": @\"fr-FR\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"organizationId\\\":\\\"b1a23\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"organizationId\\\":\\\"b1a23\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"organizationId\\\":\\\"b1a23\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"organizationId\": \"b1a23\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"countryCode\": \"USA\",\n    \"regionType\": \"STATE\",\n    \"defaultLocale\": \"fr-FR\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"organizationId\\\":\\\"b1a23\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"organizationId\":\"b1a23\",\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"countryCode\":\"USA\",\"regionType\":\"STATE\",\"defaultLocale\":\"fr-FR\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"organizationId\": \"b1a23\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"countryCode\": \"USA\",\n  \"regionType\": \"STATE\",\n  \"defaultLocale\": \"fr-FR\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/organizations/{organizationId}":{"get":{"tags":["Organizations"],"summary":"Get an organization","description":"Return detailed information about a specific organization","operationId":"organization_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Organizations 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/OrganizationsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Organizations"],"summary":"Update an organization","description":"Change the information of a specific organization","operationId":"organization_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Organizations 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/OrganizationsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:admin_organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the organization in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the organization in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"countryCode":{"description":"Country code of the organization. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"regionType":{"description":"How geographically relevant is this organization\n>- `INTERNATIONAL` Multiple countries\n>- `INTERSTATE` Cross state\n>- `LOCAL` Local area\n>- `NATIONAL` One country\n>- `STATE` One state\n","type":"string","enum":["LOCAL","STATE","INTERSTATE","NATIONAL","INTERNATIONAL"],"example":"STATE"},"defaultLocale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"}},"title":"organization put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"countryCode\": \"USA\",\n  \"regionType\": \"STATE\",\n  \"defaultLocale\": \"fr-FR\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  countryCode: 'USA',\n  regionType: 'STATE',\n  defaultLocale: 'fr-FR'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"countryCode\": @\"USA\",\n                              @\"regionType\": @\"STATE\",\n                              @\"defaultLocale\": @\"fr-FR\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"countryCode\": \"USA\",\n    \"regionType\": \"STATE\",\n    \"defaultLocale\": \"fr-FR\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"regionType\\\":\\\"STATE\\\",\\\"defaultLocale\\\":\\\"fr-FR\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"countryCode\":\"USA\",\"regionType\":\"STATE\",\"defaultLocale\":\"fr-FR\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"countryCode\": \"USA\",\n  \"regionType\": \"STATE\",\n  \"defaultLocale\": \"fr-FR\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Organizations"],"summary":"Delete an organization","description":"Delete an organization","operationId":"organization_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Organizations 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/OrganizationsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:admin_organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/organizations/{organizationId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/roles":{"get":{"tags":["Roles"],"summary":"Get a list of non-match roles","description":"Return a list of roles for the organization (not linked to matches)","operationId":"roles_list_non_fixtures","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Roles 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/RolesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/dateFromEnd"},{"$ref":"#/components/parameters/dateFromStart"},{"$ref":"#/components/parameters/dateToEnd"},{"$ref":"#/components/parameters/dateToStart"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/role"},{"$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":"^(\\-?role|,)*$","example":"role"},"required":false,"in":"query"},{"$ref":"#/components/parameters/status"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"dateFromEnd\":\"2018-08-16\",\"dateFromStart\":\"2018-08-16\",\"dateToEnd\":\"2018-08-16\",\"dateToStart\":\"2018-08-16\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameFamilyLatinStartsWith\":\"SOME_STRING_VALUE\",\"nameFamilyLocalStartsWith\":\"SOME_STRING_VALUE\",\"nameFullLatin\":\"SOME_STRING_VALUE\",\"nameFullLatinContains\":\"Dav and nameFullLatin='David Johnson'\",\"nameFullLocal\":\"SOME_STRING_VALUE\",\"nameFullLocalContains\":\"Dav and nameFullLocal='David Johnson'\",\"offset\":\"10\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"role\":\"COACH\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"sortBy\":\"role\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'\\''David%20Johnson'\\''&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'\\''David%20Johnson'\\''&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?added=2018-08-16T02:10:48&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Roles"],"summary":"Create a role","description":"Add a new role","operationId":"roles_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Roles 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/RolesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"roleId":{"description":"The unique identifier of the role","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"dateFrom":{"description":"Date the role started (Not for a role within a match)","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"dateTo":{"description":"Date the role ended (Not for a role within a match)","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":100,"nullable":true,"example":"34"},"roleNumber":{"description":"Number within the role. eg: Assistant Coach 2","type":"integer","format":"int32","nullable":true,"example":1},"role":{"description":"Role\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"],"maxLength":100,"example":"COACH"},"roleSubType":{"description":"Role sub type","type":"string","maxLength":100,"nullable":true,"example":"Offensive Coach"},"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,"example":"A123"}},"title":"role post body","required":["role"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"roleId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"roleId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"roleId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"roleId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"roleId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"status\": \"ACTIVE\",\n  \"dateFrom\": \"1978-08-24\",\n  \"dateTo\": \"1978-08-24\",\n  \"bib\": \"34\",\n  \"roleNumber\": 1,\n  \"role\": \"COACH\",\n  \"roleSubType\": \"Offensive Coach\",\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  roleId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityGroupId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  status: 'ACTIVE',\n  dateFrom: '1978-08-24',\n  dateTo: '1978-08-24',\n  bib: '34',\n  roleNumber: 1,\n  role: 'COACH',\n  roleSubType: 'Offensive Coach',\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"roleId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityGroupId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"dateFrom\": @\"1978-08-24\",\n                              @\"dateTo\": @\"1978-08-24\",\n                              @\"bib\": @\"34\",\n                              @\"roleNumber\": @1,\n                              @\"role\": @\"COACH\",\n                              @\"roleSubType\": @\"Offensive Coach\",\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"roleId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"roleId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"roleId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"roleId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"status\": \"ACTIVE\",\n    \"dateFrom\": \"1978-08-24\",\n    \"dateTo\": \"1978-08-24\",\n    \"bib\": \"34\",\n    \"roleNumber\": 1,\n    \"role\": \"COACH\",\n    \"roleSubType\": \"Offensive Coach\",\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"roleId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"roleId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityGroupId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"status\":\"ACTIVE\",\"dateFrom\":\"1978-08-24\",\"dateTo\":\"1978-08-24\",\"bib\":\"34\",\"roleNumber\":1,\"role\":\"COACH\",\"roleSubType\":\"Offensive Coach\",\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"roleId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"status\": \"ACTIVE\",\n  \"dateFrom\": \"1978-08-24\",\n  \"dateTo\": \"1978-08-24\",\n  \"bib\": \"34\",\n  \"roleNumber\": 1,\n  \"role\": \"COACH\",\n  \"roleSubType\": \"Offensive Coach\",\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/roles/in/fixtures":{"get":{"tags":["Roles"],"summary":"Get a list of match roles","description":"Return a list of roles for the organization (linked to matches)","operationId":"roles_list_fixtures","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Roles 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/RolesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/role"},{"$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":"^(\\-?role|,)*$","example":"role"},"required":false,"in":"query"},{"$ref":"#/components/parameters/status"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/in/fixtures\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameFamilyLatinStartsWith\":\"SOME_STRING_VALUE\",\"nameFamilyLocalStartsWith\":\"SOME_STRING_VALUE\",\"nameFullLatin\":\"SOME_STRING_VALUE\",\"nameFullLatinContains\":\"Dav and nameFullLatin='David Johnson'\",\"nameFullLocal\":\"SOME_STRING_VALUE\",\"nameFullLocalContains\":\"Dav and nameFullLocal='David Johnson'\",\"offset\":\"10\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"role\":\"COACH\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"sortBy\":\"role\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'\\''David%20Johnson'\\''&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'\\''David%20Johnson'\\''&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles":{"get":{"tags":["Roles"],"summary":"Get a list of roles in a match","description":"Return a list of roles for a match","operationId":"roles_list_by_fixture","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Roles 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/RolesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/role"},{"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":"^(\\-?role|,)*$","example":"role"},"required":false,"in":"query"},{"$ref":"#/components/parameters/status"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameFamilyLatinStartsWith\":\"SOME_STRING_VALUE\",\"nameFamilyLocalStartsWith\":\"SOME_STRING_VALUE\",\"nameFullLatin\":\"SOME_STRING_VALUE\",\"nameFullLatinContains\":\"Dav and nameFullLatin='David Johnson'\",\"nameFullLocal\":\"SOME_STRING_VALUE\",\"nameFullLocalContains\":\"Dav and nameFullLocal='David Johnson'\",\"offset\":\"10\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"role\":\"COACH\",\"sortBy\":\"role\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'\\''David%20Johnson'\\''&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'\\''David%20Johnson'\\''&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameFamilyLatinStartsWith=SOME_STRING_VALUE&nameFamilyLocalStartsWith=SOME_STRING_VALUE&nameFullLatin=SOME_STRING_VALUE&nameFullLatinContains=Dav%20and%20nameFullLatin%3D'David%20Johnson'&nameFullLocal=SOME_STRING_VALUE&nameFullLocalContains=Dav%20and%20nameFullLocal%3D'David%20Johnson'&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&role=COACH&sortBy=role&status=ACTIVE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Roles"],"summary":"Delete all a role","description":"Delete all role","operationId":"role_all_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Roles 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/RolesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/roles?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/roles/{roleId}":{"get":{"tags":["Roles"],"summary":"Get a role","description":"Return detailed information about a specific role","operationId":"roles_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Roles 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/RolesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"roleId","description":"The unique identifier of the role","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Roles"],"summary":"Update a role","description":"Change the information of a specific role","operationId":"roles_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Roles 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/RolesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"roleId","description":"The unique identifier of the role","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"dateFrom":{"description":"Date the role started (Not for a role within a match)","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"dateTo":{"description":"Date the role ended (Not for a role within a match)","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":100,"nullable":true,"example":"34"},"roleNumber":{"description":"Number within the role. eg: Assistant Coach 2","type":"integer","format":"int32","nullable":true,"example":1},"role":{"description":"Role\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"],"maxLength":100,"example":"COACH"},"roleSubType":{"description":"Role sub type","type":"string","maxLength":100,"nullable":true,"example":"Offensive Coach"},"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,"example":"A123"}},"title":"role put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"status\": \"ACTIVE\",\n  \"dateFrom\": \"1978-08-24\",\n  \"dateTo\": \"1978-08-24\",\n  \"bib\": \"34\",\n  \"roleNumber\": 1,\n  \"role\": \"COACH\",\n  \"roleSubType\": \"Offensive Coach\",\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  entityGroupId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  status: 'ACTIVE',\n  dateFrom: '1978-08-24',\n  dateTo: '1978-08-24',\n  bib: '34',\n  roleNumber: 1,\n  role: 'COACH',\n  roleSubType: 'Offensive Coach',\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"entityGroupId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"dateFrom\": @\"1978-08-24\",\n                              @\"dateTo\": @\"1978-08-24\",\n                              @\"bib\": @\"34\",\n                              @\"roleNumber\": @1,\n                              @\"role\": @\"COACH\",\n                              @\"roleSubType\": @\"Offensive Coach\",\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"status\": \"ACTIVE\",\n    \"dateFrom\": \"1978-08-24\",\n    \"dateTo\": \"1978-08-24\",\n    \"bib\": \"34\",\n    \"roleNumber\": 1,\n    \"role\": \"COACH\",\n    \"roleSubType\": \"Offensive Coach\",\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"bib\\\":\\\"34\\\",\\\"roleNumber\\\":1,\\\"role\\\":\\\"COACH\\\",\\\"roleSubType\\\":\\\"Offensive Coach\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"entityGroupId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"status\":\"ACTIVE\",\"dateFrom\":\"1978-08-24\",\"dateTo\":\"1978-08-24\",\"bib\":\"34\",\"roleNumber\":1,\"role\":\"COACH\",\"roleSubType\":\"Offensive Coach\",\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"status\": \"ACTIVE\",\n  \"dateFrom\": \"1978-08-24\",\n  \"dateTo\": \"1978-08-24\",\n  \"bib\": \"34\",\n  \"roleNumber\": 1,\n  \"role\": \"COACH\",\n  \"roleSubType\": \"Offensive Coach\",\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Roles"],"summary":"Delete a role","description":"Delete a specific role","operationId":"role_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Roles 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/RolesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"roleId","description":"The unique identifier of the role","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/roles/{roleId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/stages":{"get":{"tags":["Stages, Pools & Rounds"],"summary":"Get a list of stages","description":"Return a list of stages for a season","operationId":"season_stage_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Stages 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/Season_StagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatinContains"},{"$ref":"#/components/parameters/nameLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"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":"^(\\-?nameLocal|\\-?nameLatin|,)*$","example":"nameLocal"},"required":false,"in":"query"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatinContains\":\"Dav and nameLatin='David Johnson'\",\"nameLocalContains\":\"Dav and nameLocal='David Johnson'\",\"offset\":\"10\",\"sortBy\":\"nameLocal\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'\\''David%20Johnson'\\''&nameLocalContains=Dav%20and%20nameLocal%3D'\\''David%20Johnson'\\''&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Stages, Pools & Rounds"],"summary":"Create a stage","description":"Add a new stage in a season","operationId":"season_stage_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Stages 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/Season_StagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"example":"ST1"},"nameLocal":{"description":"The name of the season stage in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":100,"nullable":true,"example":"Test name local"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":10,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the season stage in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":100,"nullable":true,"example":"Test name latin "},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":10,"nullable":true,"example":"NFA"},"stageOrder":{"description":"User defined sort order of the stage","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"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,"example":"A123"}},"title":"season stage post body","required":["seasonId","stageCode"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"stageCode\": \"ST1\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"abbreviationLatin\": \"NFA\",\n  \"stageOrder\": 1,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  stageCode: 'ST1',\n  nameLocal: 'Test name local',\n  abbreviationLocal: 'NFA',\n  nameLatin: 'Test name latin ',\n  abbreviationLatin: 'NFA',\n  stageOrder: 1,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"stageCode\": @\"ST1\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"stageOrder\": @1,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"stageCode\": \"ST1\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"abbreviationLatin\": \"NFA\",\n    \"stageOrder\": 1,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"stageCode\":\"ST1\",\"nameLocal\":\"Test name local\",\"abbreviationLocal\":\"NFA\",\"nameLatin\":\"Test name latin \",\"abbreviationLatin\":\"NFA\",\"stageOrder\":1,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"stageCode\": \"ST1\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"abbreviationLatin\": \"NFA\",\n  \"stageOrder\": 1,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}":{"get":{"tags":["Stages, Pools & Rounds"],"summary":"Get a stage","description":"Return detailed information about a specific stage","operationId":"season_stage_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Stages 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/Season_StagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"stageCode","description":"The stage identifier within a season","schema":{"type":"string","maxLength":30,"example":"ST1"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Stages, Pools & Rounds"],"summary":"Update a stage","description":"Change the information of a specific stage","operationId":"season_stage_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Stages 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/Season_StagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"stageCode","description":"The stage identifier within a season","schema":{"type":"string","maxLength":30,"example":"ST1"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"nameLocal":{"description":"The name of the season stage in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":100,"nullable":true,"example":"Test name local"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":10,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the season stage in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":100,"nullable":true,"example":"Test name latin "},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":10,"nullable":true,"example":"NFA"},"stageOrder":{"description":"User defined sort order of the stage","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"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,"example":"A123"}},"title":"season stage put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"abbreviationLatin\": \"NFA\",\n  \"stageOrder\": 1,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  nameLocal: 'Test name local',\n  abbreviationLocal: 'NFA',\n  nameLatin: 'Test name latin ',\n  abbreviationLatin: 'NFA',\n  stageOrder: 1,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"stageOrder\": @1,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"abbreviationLatin\": \"NFA\",\n    \"stageOrder\": 1,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"stageOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"nameLocal\":\"Test name local\",\"abbreviationLocal\":\"NFA\",\"nameLatin\":\"Test name latin \",\"abbreviationLatin\":\"NFA\",\"stageOrder\":1,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"abbreviationLatin\": \"NFA\",\n  \"stageOrder\": 1,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Stages, Pools & Rounds"],"summary":"Delete a stage","description":"Delete a specific stage","operationId":"season_stages_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Stages 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/Season_StagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"stageCode","description":"The stage identifier within a season","schema":{"type":"string","maxLength":30,"example":"ST1"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/stages/{stageCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/pools":{"get":{"tags":["Stages, Pools & Rounds"],"summary":"Get a list of pools","description":"Return a list of the pools for a season","operationId":"season_pool_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Pools 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/Season_PoolsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatinContains"},{"$ref":"#/components/parameters/nameLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"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":"^(\\-?nameLocal|\\-?nameLatin|,)*$","example":"nameLocal"},"required":false,"in":"query"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatinContains\":\"Dav and nameLatin='David Johnson'\",\"nameLocalContains\":\"Dav and nameLocal='David Johnson'\",\"offset\":\"10\",\"sortBy\":\"nameLocal\",\"stageCode\":\"ST1\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'\\''David%20Johnson'\\''&nameLocalContains=Dav%20and%20nameLocal%3D'\\''David%20Johnson'\\''&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Stages, Pools & Rounds"],"summary":"Create a pool","description":"Add a new pool into a season","operationId":"season_pool_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Pools 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/Season_PoolsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"example":"P1"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"nameLocal":{"description":"The name of the pool in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":100,"nullable":true,"example":"Stage 1"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":10,"nullable":true,"example":"S1"},"nameLatin":{"description":"The name of the pool in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":100,"nullable":true,"example":"Stage 1"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":10,"nullable":true,"example":"S1"},"poolOrder":{"description":"User defined sort order of the ~pool~","type":"integer","format":"int32","nullable":true,"example":1},"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,"example":"A123"}},"title":"pool post body","required":["seasonId","poolCode"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"poolCode\": \"P1\",\n  \"stageCode\": \"ST1\",\n  \"nameLocal\": \"Stage 1\",\n  \"abbreviationLocal\": \"S1\",\n  \"nameLatin\": \"Stage 1\",\n  \"abbreviationLatin\": \"S1\",\n  \"poolOrder\": 1,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  poolCode: 'P1',\n  stageCode: 'ST1',\n  nameLocal: 'Stage 1',\n  abbreviationLocal: 'S1',\n  nameLatin: 'Stage 1',\n  abbreviationLatin: 'S1',\n  poolOrder: 1,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"poolCode\": @\"P1\",\n                              @\"stageCode\": @\"ST1\",\n                              @\"nameLocal\": @\"Stage 1\",\n                              @\"abbreviationLocal\": @\"S1\",\n                              @\"nameLatin\": @\"Stage 1\",\n                              @\"abbreviationLatin\": @\"S1\",\n                              @\"poolOrder\": @1,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"poolCode\": \"P1\",\n    \"stageCode\": \"ST1\",\n    \"nameLocal\": \"Stage 1\",\n    \"abbreviationLocal\": \"S1\",\n    \"nameLatin\": \"Stage 1\",\n    \"abbreviationLatin\": \"S1\",\n    \"poolOrder\": 1,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"poolCode\":\"P1\",\"stageCode\":\"ST1\",\"nameLocal\":\"Stage 1\",\"abbreviationLocal\":\"S1\",\"nameLatin\":\"Stage 1\",\"abbreviationLatin\":\"S1\",\"poolOrder\":1,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"poolCode\": \"P1\",\n  \"stageCode\": \"ST1\",\n  \"nameLocal\": \"Stage 1\",\n  \"abbreviationLocal\": \"S1\",\n  \"nameLatin\": \"Stage 1\",\n  \"abbreviationLatin\": \"S1\",\n  \"poolOrder\": 1,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}":{"get":{"tags":["Stages, Pools & Rounds"],"summary":"Get a pool","description":"Return detailed information about a specific pool","operationId":"season_pool_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Pools 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/Season_PoolsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"poolCode","description":"The pool identifier within a season","schema":{"type":"string","maxLength":30,"example":"P1"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Stages, Pools & Rounds"],"summary":"Update a pool","description":"Change the information of a specific pool","operationId":"season_pool_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Pools 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/Season_PoolsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"poolCode","description":"The pool identifier within a season","schema":{"type":"string","maxLength":30,"example":"P1"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"nameLocal":{"description":"The name of the pool in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":100,"nullable":true,"example":"Stage 1"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":10,"nullable":true,"example":"S1"},"nameLatin":{"description":"The name of the pool in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":100,"nullable":true,"example":"Stage 1"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":10,"nullable":true,"example":"S1"},"poolOrder":{"description":"User defined sort order of the ~pool~","type":"integer","format":"int32","nullable":true,"example":1},"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,"example":"A123"}},"title":"pool put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"stageCode\": \"ST1\",\n  \"nameLocal\": \"Stage 1\",\n  \"abbreviationLocal\": \"S1\",\n  \"nameLatin\": \"Stage 1\",\n  \"abbreviationLatin\": \"S1\",\n  \"poolOrder\": 1,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  stageCode: 'ST1',\n  nameLocal: 'Stage 1',\n  abbreviationLocal: 'S1',\n  nameLatin: 'Stage 1',\n  abbreviationLatin: 'S1',\n  poolOrder: 1,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"stageCode\": @\"ST1\",\n                              @\"nameLocal\": @\"Stage 1\",\n                              @\"abbreviationLocal\": @\"S1\",\n                              @\"nameLatin\": @\"Stage 1\",\n                              @\"abbreviationLatin\": @\"S1\",\n                              @\"poolOrder\": @1,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"stageCode\": \"ST1\",\n    \"nameLocal\": \"Stage 1\",\n    \"abbreviationLocal\": \"S1\",\n    \"nameLatin\": \"Stage 1\",\n    \"abbreviationLatin\": \"S1\",\n    \"poolOrder\": 1,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"stageCode\\\":\\\"ST1\\\",\\\"nameLocal\\\":\\\"Stage 1\\\",\\\"abbreviationLocal\\\":\\\"S1\\\",\\\"nameLatin\\\":\\\"Stage 1\\\",\\\"abbreviationLatin\\\":\\\"S1\\\",\\\"poolOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"stageCode\":\"ST1\",\"nameLocal\":\"Stage 1\",\"abbreviationLocal\":\"S1\",\"nameLatin\":\"Stage 1\",\"abbreviationLatin\":\"S1\",\"poolOrder\":1,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"stageCode\": \"ST1\",\n  \"nameLocal\": \"Stage 1\",\n  \"abbreviationLocal\": \"S1\",\n  \"nameLatin\": \"Stage 1\",\n  \"abbreviationLatin\": \"S1\",\n  \"poolOrder\": 1,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Stages, Pools & Rounds"],"summary":"Delete a pool","description":"Delete a specific pool","operationId":"season_pools_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Pools 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/Season_PoolsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"poolCode","description":"The pool identifier within a season","schema":{"type":"string","maxLength":30,"example":"P1"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/pools/{poolCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/roster":{"get":{"tags":["Season Roster"],"summary":"Get all rosters for a season","description":"Return a list of all rosters for a season","operationId":"season_roster_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Roster 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/Season_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/participationStatus"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Season Roster"],"summary":"Create/Update a roster","description":"Depending on the data, either add a person to a roster, or update an existing roster","operationId":"season_roster_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Roster 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/Season_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":100,"nullable":true,"example":"34"},"position":{"description":"Playing position","type":"string","maxLength":100,"nullable":true,"example":"GOALKEEPER"},"status":{"description":"Participation status\n>- `ACTIVE` Active\n>- `INJURED` Injured\n>- `OTHER_NOT_PARTICIPATING` Other Non-Participation\n>- `OUT` Out\n>- `SUSPENDED` Suspended\n","type":"string","enum":["ACTIVE","INJURED","OUT","SUSPENDED","OTHER_NOT_PARTICIPATING"],"maxLength":100,"example":"ACTIVE"},"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,"example":"A123"}},"title":"season roster post body","required":["status"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"bib\": \"34\",\n  \"position\": \"GOALKEEPER\",\n  \"status\": \"ACTIVE\",\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityGroupId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  divisionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  conferenceId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  bib: '34',\n  position: 'GOALKEEPER',\n  status: 'ACTIVE',\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityGroupId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"divisionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"conferenceId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"bib\": @\"34\",\n                              @\"position\": @\"GOALKEEPER\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"bib\": \"34\",\n    \"position\": \"GOALKEEPER\",\n    \"status\": \"ACTIVE\",\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityGroupId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"divisionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"bib\":\"34\",\"position\":\"GOALKEEPER\",\"status\":\"ACTIVE\",\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"bib\": \"34\",\n  \"position\": \"GOALKEEPER\",\n  \"status\": \"ACTIVE\",\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster":{"get":{"tags":["Season Roster"],"summary":"Get the roster for a team for the season","description":"Return the roster for a team for the season","operationId":"season_roster_list_by_entity","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Roster 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/Season_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/participationStatus"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster":{"get":{"tags":["Season Roster"],"summary":"Get the rosters for a team for all seasons","description":"Return the rosters for a team for all seasons","operationId":"seasons_roster_list_by_entity","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Roster 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/Season_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/seasonIds"},{"$ref":"#/components/parameters/participationStatus"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"seasonIds\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}/roster?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&status=ACTIVE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster":{"get":{"tags":["Season Roster"],"summary":"Get the roster detail for a person for the season","description":"Return the detailed roster detail for a specific person for the season","operationId":"season_roster_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Roster 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/Season_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/participationStatus"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"status\":\"ACTIVE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&status=ACTIVE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Season Roster"],"summary":"Delete a season roster","description":"Delete a person from the roster in a season","operationId":"season_roster_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Roster 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/Season_RosterModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}/roster?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/rounds":{"get":{"tags":["Stages, Pools & Rounds"],"summary":"Get a list of rounds","description":"Return a list of rounds in a season","operationId":"season_round_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Rounds 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/Season_RoundsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/poolCode"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"poolCode\":\"P1\",\"stageCode\":\"ST1\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&stageCode=ST1&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Stages, Pools & Rounds"],"summary":"Create a round","description":"Add a new round in a season","operationId":"season_round_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Rounds 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/Season_RoundsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"example":"RN1"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"nameLocal":{"description":"The name of the round in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":100,"nullable":true,"example":"Rivalry Round"},"nameLatin":{"description":"The name of the round in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":100,"nullable":true,"example":"Rivalry Round"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":10,"nullable":true,"example":"RR"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":10,"nullable":true,"example":"RR"},"roundOrder":{"description":"User defined sort order of the stage","type":"integer","format":"int32","maximum":999,"nullable":true,"example":1},"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,"example":"A123"}},"title":"round post body","required":["seasonId","roundCode"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"roundCode\": \"RN1\",\n  \"poolCode\": \"P1\",\n  \"stageCode\": \"ST1\",\n  \"roundNumber\": 1,\n  \"nameLocal\": \"Rivalry Round\",\n  \"nameLatin\": \"Rivalry Round\",\n  \"abbreviationLocal\": \"RR\",\n  \"abbreviationLatin\": \"RR\",\n  \"roundOrder\": 1,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  roundCode: 'RN1',\n  poolCode: 'P1',\n  stageCode: 'ST1',\n  roundNumber: 1,\n  nameLocal: 'Rivalry Round',\n  nameLatin: 'Rivalry Round',\n  abbreviationLocal: 'RR',\n  abbreviationLatin: 'RR',\n  roundOrder: 1,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"roundCode\": @\"RN1\",\n                              @\"poolCode\": @\"P1\",\n                              @\"stageCode\": @\"ST1\",\n                              @\"roundNumber\": @1,\n                              @\"nameLocal\": @\"Rivalry Round\",\n                              @\"nameLatin\": @\"Rivalry Round\",\n                              @\"abbreviationLocal\": @\"RR\",\n                              @\"abbreviationLatin\": @\"RR\",\n                              @\"roundOrder\": @1,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"roundCode\": \"RN1\",\n    \"poolCode\": \"P1\",\n    \"stageCode\": \"ST1\",\n    \"roundNumber\": 1,\n    \"nameLocal\": \"Rivalry Round\",\n    \"nameLatin\": \"Rivalry Round\",\n    \"abbreviationLocal\": \"RR\",\n    \"abbreviationLatin\": \"RR\",\n    \"roundOrder\": 1,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"roundCode\":\"RN1\",\"poolCode\":\"P1\",\"stageCode\":\"ST1\",\"roundNumber\":1,\"nameLocal\":\"Rivalry Round\",\"nameLatin\":\"Rivalry Round\",\"abbreviationLocal\":\"RR\",\"abbreviationLatin\":\"RR\",\"roundOrder\":1,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"roundCode\": \"RN1\",\n  \"poolCode\": \"P1\",\n  \"stageCode\": \"ST1\",\n  \"roundNumber\": 1,\n  \"nameLocal\": \"Rivalry Round\",\n  \"nameLatin\": \"Rivalry Round\",\n  \"abbreviationLocal\": \"RR\",\n  \"abbreviationLatin\": \"RR\",\n  \"roundOrder\": 1,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}":{"get":{"tags":["Stages, Pools & Rounds"],"summary":"Get a round","description":"Return detailed information about a specific round","operationId":"season_round_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Rounds 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/Season_RoundsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"roundCode","description":"The round identifier within a season","schema":{"type":"string","maxLength":30,"example":"RN1"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Stages, Pools & Rounds"],"summary":"Update a round","description":"Change the information of a specific round","operationId":"season_round_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Rounds 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/Season_RoundsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"roundCode","description":"The round identifier within a season","schema":{"type":"string","maxLength":30,"example":"RN1"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"nameLocal":{"description":"The name of the round in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":100,"nullable":true,"example":"Rivalry Round"},"nameLatin":{"description":"The name of the round in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":100,"nullable":true,"example":"Rivalry Round"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":10,"nullable":true,"example":"RR"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":10,"nullable":true,"example":"RR"},"roundOrder":{"description":"User defined sort order of the stage","type":"integer","format":"int32","maximum":999,"nullable":true,"example":1},"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,"example":"A123"}},"title":"round put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"poolCode\": \"P1\",\n  \"stageCode\": \"ST1\",\n  \"roundNumber\": 1,\n  \"nameLocal\": \"Rivalry Round\",\n  \"nameLatin\": \"Rivalry Round\",\n  \"abbreviationLocal\": \"RR\",\n  \"abbreviationLatin\": \"RR\",\n  \"roundOrder\": 1,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  poolCode: 'P1',\n  stageCode: 'ST1',\n  roundNumber: 1,\n  nameLocal: 'Rivalry Round',\n  nameLatin: 'Rivalry Round',\n  abbreviationLocal: 'RR',\n  abbreviationLatin: 'RR',\n  roundOrder: 1,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"poolCode\": @\"P1\",\n                              @\"stageCode\": @\"ST1\",\n                              @\"roundNumber\": @1,\n                              @\"nameLocal\": @\"Rivalry Round\",\n                              @\"nameLatin\": @\"Rivalry Round\",\n                              @\"abbreviationLocal\": @\"RR\",\n                              @\"abbreviationLatin\": @\"RR\",\n                              @\"roundOrder\": @1,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"poolCode\": \"P1\",\n    \"stageCode\": \"ST1\",\n    \"roundNumber\": 1,\n    \"nameLocal\": \"Rivalry Round\",\n    \"nameLatin\": \"Rivalry Round\",\n    \"abbreviationLocal\": \"RR\",\n    \"abbreviationLatin\": \"RR\",\n    \"roundOrder\": 1,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"poolCode\":\"P1\",\"stageCode\":\"ST1\",\"roundNumber\":1,\"nameLocal\":\"Rivalry Round\",\"nameLatin\":\"Rivalry Round\",\"abbreviationLocal\":\"RR\",\"abbreviationLatin\":\"RR\",\"roundOrder\":1,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"poolCode\": \"P1\",\n  \"stageCode\": \"ST1\",\n  \"roundNumber\": 1,\n  \"nameLocal\": \"Rivalry Round\",\n  \"nameLatin\": \"Rivalry Round\",\n  \"abbreviationLocal\": \"RR\",\n  \"abbreviationLatin\": \"RR\",\n  \"roundOrder\": 1,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Stages, Pools & Rounds"],"summary":"Delete a round","description":"Delete a specific round","operationId":"season_rounds_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Rounds 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/Season_RoundsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"roundCode","description":"The round identifier within a season","schema":{"type":"string","maxLength":30,"example":"RN1"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/{roundCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force":{"post":{"tags":["Stages, Pools & Rounds"],"summary":"Create or Update a round","description":"Depending on primary keys, insert a new round or update an existing one","operationId":"season_round_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Rounds 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/Season_RoundsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"example":"RN1"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"nameLocal":{"description":"The name of the round in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":100,"nullable":true,"example":"Rivalry Round"},"nameLatin":{"description":"The name of the round in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":100,"nullable":true,"example":"Rivalry Round"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":10,"nullable":true,"example":"RR"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":10,"nullable":true,"example":"RR"},"roundOrder":{"description":"User defined sort order of the stage","type":"integer","format":"int32","maximum":999,"nullable":true,"example":1},"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,"example":"A123"}},"title":"round post body","required":["seasonId","roundCode"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"roundCode\": \"RN1\",\n  \"poolCode\": \"P1\",\n  \"stageCode\": \"ST1\",\n  \"roundNumber\": 1,\n  \"nameLocal\": \"Rivalry Round\",\n  \"nameLatin\": \"Rivalry Round\",\n  \"abbreviationLocal\": \"RR\",\n  \"abbreviationLatin\": \"RR\",\n  \"roundOrder\": 1,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  roundCode: 'RN1',\n  poolCode: 'P1',\n  stageCode: 'ST1',\n  roundNumber: 1,\n  nameLocal: 'Rivalry Round',\n  nameLatin: 'Rivalry Round',\n  abbreviationLocal: 'RR',\n  abbreviationLatin: 'RR',\n  roundOrder: 1,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"roundCode\": @\"RN1\",\n                              @\"poolCode\": @\"P1\",\n                              @\"stageCode\": @\"ST1\",\n                              @\"roundNumber\": @1,\n                              @\"nameLocal\": @\"Rivalry Round\",\n                              @\"nameLatin\": @\"Rivalry Round\",\n                              @\"abbreviationLocal\": @\"RR\",\n                              @\"abbreviationLatin\": @\"RR\",\n                              @\"roundOrder\": @1,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"roundCode\": \"RN1\",\n    \"poolCode\": \"P1\",\n    \"stageCode\": \"ST1\",\n    \"roundNumber\": 1,\n    \"nameLocal\": \"Rivalry Round\",\n    \"nameLatin\": \"Rivalry Round\",\n    \"abbreviationLocal\": \"RR\",\n    \"abbreviationLatin\": \"RR\",\n    \"roundOrder\": 1,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"roundNumber\\\":1,\\\"nameLocal\\\":\\\"Rivalry Round\\\",\\\"nameLatin\\\":\\\"Rivalry Round\\\",\\\"abbreviationLocal\\\":\\\"RR\\\",\\\"abbreviationLatin\\\":\\\"RR\\\",\\\"roundOrder\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"roundCode\":\"RN1\",\"poolCode\":\"P1\",\"stageCode\":\"ST1\",\"roundNumber\":1,\"nameLocal\":\"Rivalry Round\",\"nameLatin\":\"Rivalry Round\",\"abbreviationLocal\":\"RR\",\"abbreviationLatin\":\"RR\",\"roundOrder\":1,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"roundCode\": \"RN1\",\n  \"poolCode\": \"P1\",\n  \"stageCode\": \"ST1\",\n  \"roundNumber\": 1,\n  \"nameLocal\": \"Rivalry Round\",\n  \"nameLatin\": \"Rivalry Round\",\n  \"abbreviationLocal\": \"RR\",\n  \"abbreviationLatin\": \"RR\",\n  \"roundOrder\": 1,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/rounds/force?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/competitions/{competitionId}/seasons":{"get":{"tags":["Seasons"],"summary":"Get a list of seasons","description":"Return a list of seasons in the competition.","operationId":"season_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Seasons 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/SeasonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/ageGroup"},{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/discipline"},{"$ref":"#/components/parameters/endDate"},{"$ref":"#/components/parameters/SEASONeventType"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/gender"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatin"},{"$ref":"#/components/parameters/nameLatinContains"},{"$ref":"#/components/parameters/nameLocal"},{"$ref":"#/components/parameters/nameLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/representation"},{"name":"search","description":"Searches the provided text in the fields nameShortLocal, nameLocal, nameShortLatin, nameLatin","schema":{"type":"string","example":"bob"},"required":false,"in":"query"},{"name":"seasonId","description":"The unique identifier of the season. Can specify multiple, delimited by comma.","schema":{"type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005"},"required":false,"in":"query"},{"$ref":"#/components/parameters/seasonType"},{"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":"^(\\-?nameLocal|\\-?nameLatin|\\-?year|,)*$","example":"nameLocal"},"required":false,"in":"query"},{"$ref":"#/components/parameters/standard"},{"$ref":"#/components/parameters/startDate"},{"name":"status","description":"Status\n>- `ACTIVE` Active\n>- `COMPLETE` Complete\n>- `DRAFT` Draft\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","schema":{"type":"string","enum":["ACTIVE","COMPLETE","DRAFT","INACTIVE","PENDING"],"example":"ACTIVE"},"required":false,"in":"query"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/videoProduction"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"ageGroup\":\"SENIOR\",\"discipline\":\"INDOOR\",\"endDate\":\"2018-08-16\",\"eventType\":\"FIXTURE\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"gender\":\"MALE\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatin\":\"SOME_STRING_VALUE\",\"nameLatinContains\":\"Dav and nameLatin='David Johnson'\",\"nameLocal\":\"SOME_STRING_VALUE\",\"nameLocalContains\":\"Dav and nameLocal='David Johnson'\",\"offset\":\"10\",\"representation\":\"CLUB\",\"search\":\"bob\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"seasonType\":\"SEASON\",\"sortBy\":\"nameLocal\",\"standard\":\"ELITE\",\"startDate\":\"2018-08-16\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\",\"videoProduction\":\"NONE,AUTOMATED\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'\\''David%20Johnson'\\''&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'\\''David%20Johnson'\\''&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Seasons"],"summary":"Create a new season","description":"Add a new season","operationId":"season_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Seasons 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/SeasonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"leaderCriteriaId":{"description":"The unique identifier of the ~LeaderCriteria~","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"internationalReference":{"description":"The international reference for this season given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"eventType":{"description":"Primary Type of Matches\n>- `FIXTURE` Fixture\n>- `PRACTICE` Practice\n","type":"string","enum":["FIXTURE","PRACTICE"],"maxLength":30,"default":"FIXTURE","example":"FIXTURE"},"seasonType":{"description":"The type of matches added to this season\n>- `MULTI_YEAR_HISTORICAL` Mulit-Year Historical\n>- `ONE_OFF` One off\n>- `PRESEASON` Pre Season\n>- `SEASON` Season\n>- `TOURNAMENT` Tournament\n","type":"string","enum":["SEASON","TOURNAMENT","ONE_OFF","PRESEASON","MULTI_YEAR_HISTORICAL"],"maxLength":30,"example":"SEASON"},"year":{"description":"Year of the season","type":"integer","format":"int32","maxLength":4,"example":2019},"grade":{"description":"The playing grade of the matches in this season","type":"string","maxLength":50,"nullable":true,"example":"A"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `COMPLETE` Complete\n>- `DRAFT` Draft\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","COMPLETE","DRAFT","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"includeInStatistics":{"description":"Include this season in calculated statistics?","type":"boolean","default":true,"example":true},"liveVideoAvailable":{"description":"If no 'liveVideoAvailable' flag passed to a new match this value is used","type":"boolean","example":true},"liveDataAvailable":{"description":"If no 'liveDataAvailable' flag passed to a new match this value is used","type":"boolean","example":true},"durationFull":{"description":"If no 'durationFull' is passed to a new match this value is used","type":"integer","format":"int32","default":240,"nullable":true,"example":180},"discipline":{"description":"If no 'discipline' is passed to a new match this value is used\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"nameLocal":{"description":"The name of the season in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test season"},"nameLatin":{"description":"The name of the season in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test season"},"nameShortLocal":{"description":"The abbreviated name of the season in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"Test short local"},"nameShortLatin":{"description":"The abbreviated name of the season in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"Test short latin"},"startDate":{"description":"Season start date","type":"string","format":"date","example":"2016-09-08"},"endDate":{"description":"Season end date","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"gender":{"description":"The gender of the participants in the season\n>- `FEMALE` Female\n>- `MALE` Male\n>- `MIXED` Mixed\n>- `UNKNOWN` Unknown\n","type":"string","enum":["FEMALE","MALE","MIXED","UNKNOWN"],"maxLength":20,"example":"MALE"},"ageGroup":{"description":"The age group of the season\n>- `JUNIOR` Junior\n>- `MASTERS` Masters\n>- `SENIOR` Senior\n>- `UNDER_15` Under 15\n>- `UNDER_16` Under 16\n>- `UNDER_17` Under 17\n>- `UNDER_18` Under 18\n>- `UNDER_19` Under 19\n>- `UNDER_20` Under 20\n>- `UNDER_21` Under 21\n>- `UNDER_22` Under 22\n>- `UNDER_23` Under 23\n>- `YOUTH` Youth\n","type":"string","enum":["JUNIOR","YOUTH","UNDER_15","UNDER_16","UNDER_17","UNDER_18","UNDER_19","UNDER_20","UNDER_21","UNDER_22","UNDER_23","SENIOR","MASTERS"],"maxLength":50,"example":"SENIOR"},"standard":{"description":"The playing standard of the season\n>- `ELITE` Professional/elite organisation\n>- `FRIENDLY` International Friendly\n>- `GRASS_ROOT` Normal\n>- `HISTORICAL_BASELINE` Historical Baseline\n>- `INTERNATIONAL` International\n>- `NONCONTINENTAL_CHAMPIONSHIP` Non-continental Championship\n>- `OLYMPIC` Olympics\n>- `REGION` Regional\n>- `TIER2` lesser standard than elite\n>- `TIER3` lesser standard than tier 2\n>- `WORLD_CHAMPIONSHIP` World Championship\n>- `ZONE_CHAMPIONSHIP` International Zone Championship\n","type":"string","enum":["ELITE","FRIENDLY","GRASS_ROOT","INTERNATIONAL","NONCONTINENTAL_CHAMPIONSHIP","OLYMPIC","REGION","TIER2","TIER3","WORLD_CHAMPIONSHIP","ZONE_CHAMPIONSHIP","HISTORICAL_BASELINE"],"maxLength":50,"example":"ELITE"},"representation":{"description":"What level are the competitors representing\n>- `CLUB` Club\n>- `COUNTRY` Country\n>- `PERSON` Person\n>- `REGION` Region\n>- `STATE` State\n","type":"string","enum":["CLUB","STATE","REGION","COUNTRY","PERSON"],"maxLength":50,"example":"CLUB"},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"lockStandings":{"description":"Is the standings generation locked ?","type":"boolean","example":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,"example":"A123"},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"configuration":{"title":"Season Configuration","description":"Season Configuration settings","type":"object","nullable":true,"additionalProperties":false,"properties":{"periodBreakDuration":{"type":"number"},"halfTimeDuration":{"type":"number"}}},"profileId":{"description":"The profile that this season belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"videoProduction":{"description":"Data synchronization strategy with video production systems\n>- `AUTOMATED` Automated\n>- `MANUAL` Manual\n>- `NONE` None\n","type":"string","enum":["NONE","AUTOMATED","MANUAL"],"maxLength":50,"default":"NONE","example":"AUTOMATED"},"promotionRelegationRules":{"type":"array","nullable":true,"items":{"type":"object","additionalProperties":false,"required":["ruleType","position","value"],"properties":{"ruleType":{"description":"Rule Type","type":"string","enum":["PROMOTION","RELEGATION"]},"position":{"description":"Standings Position","type":"number"},"value":{"description":"Value to apply to Promotion or Relegation","example":"DIV1","type":"string"}}}},"rosterConfiguration":{"title":"SEASON ROSTER configuration","description":"Configuration for the SEASON ROSTER","type":"object","nullable":true,"additionalProperties":false,"properties":{"windowOpenDate":{"description":"What date can a SEASON ROSTER be submitted from for this SEASON?","type":"string","nullable":true,"format":"date","example":"2023-01-01"},"windowCloseDate":{"description":"What is the last date a SEASON ROSTER can be submitted from for this SEASON?","type":"string","nullable":true,"format":"date","example":"2023-01-31"},"seasonRosterLock":{"description":"Make SEASON ROSTERS un-editable when SEASON ROSTER Registration Window Close Date has elapsed.","type":"boolean","nullable":true,"example":true},"fixtureRosterLock":{"description":"Make FIXTURE ROSTERS un-editable when MATCH Status is set to Scheduled","type":"boolean","nullable":true,"example":false},"fixtureBibEdit":{"description":"Allow Add/Edit of FIXTURE ROSTERS bib","type":"boolean","nullable":true,"example":false},"seasonRosterStatusAllowed":{"description":"Season Roster status allowed","type":"array","items":{"type":"string","enum":["ACTIVE","INJURED","OTHER_NOT_PARTICIPATING","OUT","SUSPENDED"]}},"publishSeasonRosterRolesInHours":{"description":"How long before SEASON starts can rosters or roles be published (in hours)","type":"number","nullable":true,"example":true},"publishFixtureRosterRolesInMinutes":{"description":"How long before a MATCH starts can rosters or roles be published (in minutes)","type":"number","nullable":true,"example":true}}}},"title":"season post body","required":["competitionId","seasonType","nameLocal","startDate","gender","ageGroup","standard","representation"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"leaderCriteriaId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"eventType\": \"FIXTURE\",\n  \"seasonType\": \"SEASON\",\n  \"year\": 2019,\n  \"grade\": \"A\",\n  \"status\": \"ACTIVE\",\n  \"includeInStatistics\": true,\n  \"liveVideoAvailable\": true,\n  \"liveDataAvailable\": true,\n  \"durationFull\": 180,\n  \"discipline\": \"INDOOR\",\n  \"nameLocal\": \"Test season\",\n  \"nameLatin\": \"Test season\",\n  \"nameShortLocal\": \"Test short local\",\n  \"nameShortLatin\": \"Test short latin\",\n  \"startDate\": \"2016-09-08\",\n  \"endDate\": \"2016-09-08\",\n  \"gender\": \"MALE\",\n  \"ageGroup\": \"SENIOR\",\n  \"standard\": \"ELITE\",\n  \"representation\": \"CLUB\",\n  \"standingConfigurationId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"lockStandings\": true,\n  \"externalId\": \"A123\",\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"configuration\": {\n    \"periodBreakDuration\": 0,\n    \"halfTimeDuration\": 0\n  },\n  \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"videoProduction\": \"AUTOMATED\",\n  \"promotionRelegationRules\": [\n    {\n      \"ruleType\": \"PROMOTION\",\n      \"position\": 0,\n      \"value\": \"DIV1\"\n    }\n  ],\n  \"rosterConfiguration\": {\n    \"windowOpenDate\": \"2023-01-01\",\n    \"windowCloseDate\": \"2023-01-31\",\n    \"seasonRosterLock\": true,\n    \"fixtureRosterLock\": false,\n    \"fixtureBibEdit\": false,\n    \"seasonRosterStatusAllowed\": [\n      \"ACTIVE\"\n    ],\n    \"publishSeasonRosterRolesInHours\": true,\n    \"publishFixtureRosterRolesInMinutes\": true\n  }\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  competitionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  leaderCriteriaId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  internationalReference: 'CA3243-3',\n  eventType: 'FIXTURE',\n  seasonType: 'SEASON',\n  year: 2019,\n  grade: 'A',\n  status: 'ACTIVE',\n  includeInStatistics: true,\n  liveVideoAvailable: true,\n  liveDataAvailable: true,\n  durationFull: 180,\n  discipline: 'INDOOR',\n  nameLocal: 'Test season',\n  nameLatin: 'Test season',\n  nameShortLocal: 'Test short local',\n  nameShortLatin: 'Test short latin',\n  startDate: '2016-09-08',\n  endDate: '2016-09-08',\n  gender: 'MALE',\n  ageGroup: 'SENIOR',\n  standard: 'ELITE',\n  representation: 'CLUB',\n  standingConfigurationId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  lockStandings: true,\n  externalId: 'A123',\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  configuration: {periodBreakDuration: 0, halfTimeDuration: 0},\n  profileId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  videoProduction: 'AUTOMATED',\n  promotionRelegationRules: [{ruleType: 'PROMOTION', position: 0, value: 'DIV1'}],\n  rosterConfiguration: {\n    windowOpenDate: '2023-01-01',\n    windowCloseDate: '2023-01-31',\n    seasonRosterLock: true,\n    fixtureRosterLock: false,\n    fixtureBibEdit: false,\n    seasonRosterStatusAllowed: ['ACTIVE'],\n    publishSeasonRosterRolesInHours: true,\n    publishFixtureRosterRolesInMinutes: true\n  }\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"competitionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"leaderCriteriaId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"internationalReference\": @\"CA3243-3\",\n                              @\"eventType\": @\"FIXTURE\",\n                              @\"seasonType\": @\"SEASON\",\n                              @\"year\": @2019,\n                              @\"grade\": @\"A\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"includeInStatistics\": @YES,\n                              @\"liveVideoAvailable\": @YES,\n                              @\"liveDataAvailable\": @YES,\n                              @\"durationFull\": @180,\n                              @\"discipline\": @\"INDOOR\",\n                              @\"nameLocal\": @\"Test season\",\n                              @\"nameLatin\": @\"Test season\",\n                              @\"nameShortLocal\": @\"Test short local\",\n                              @\"nameShortLatin\": @\"Test short latin\",\n                              @\"startDate\": @\"2016-09-08\",\n                              @\"endDate\": @\"2016-09-08\",\n                              @\"gender\": @\"MALE\",\n                              @\"ageGroup\": @\"SENIOR\",\n                              @\"standard\": @\"ELITE\",\n                              @\"representation\": @\"CLUB\",\n                              @\"standingConfigurationId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"lockStandings\": @YES,\n                              @\"externalId\": @\"A123\",\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"configuration\": @{ @\"periodBreakDuration\": @0, @\"halfTimeDuration\": @0 },\n                              @\"profileId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"videoProduction\": @\"AUTOMATED\",\n                              @\"promotionRelegationRules\": @[ @{ @\"ruleType\": @\"PROMOTION\", @\"position\": @0, @\"value\": @\"DIV1\" } ],\n                              @\"rosterConfiguration\": @{ @\"windowOpenDate\": @\"2023-01-01\", @\"windowCloseDate\": @\"2023-01-31\", @\"seasonRosterLock\": @YES, @\"fixtureRosterLock\": @NO, @\"fixtureBibEdit\": @NO, @\"seasonRosterStatusAllowed\": @[ @\"ACTIVE\" ], @\"publishSeasonRosterRolesInHours\": @YES, @\"publishFixtureRosterRolesInMinutes\": @YES } };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"leaderCriteriaId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"internationalReference\": \"CA3243-3\",\n    \"eventType\": \"FIXTURE\",\n    \"seasonType\": \"SEASON\",\n    \"year\": 2019,\n    \"grade\": \"A\",\n    \"status\": \"ACTIVE\",\n    \"includeInStatistics\": True,\n    \"liveVideoAvailable\": True,\n    \"liveDataAvailable\": True,\n    \"durationFull\": 180,\n    \"discipline\": \"INDOOR\",\n    \"nameLocal\": \"Test season\",\n    \"nameLatin\": \"Test season\",\n    \"nameShortLocal\": \"Test short local\",\n    \"nameShortLatin\": \"Test short latin\",\n    \"startDate\": \"2016-09-08\",\n    \"endDate\": \"2016-09-08\",\n    \"gender\": \"MALE\",\n    \"ageGroup\": \"SENIOR\",\n    \"standard\": \"ELITE\",\n    \"representation\": \"CLUB\",\n    \"standingConfigurationId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"lockStandings\": True,\n    \"externalId\": \"A123\",\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"configuration\": {\n        \"periodBreakDuration\": 0,\n        \"halfTimeDuration\": 0\n    },\n    \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"videoProduction\": \"AUTOMATED\",\n    \"promotionRelegationRules\": [\n        {\n            \"ruleType\": \"PROMOTION\",\n            \"position\": 0,\n            \"value\": \"DIV1\"\n        }\n    ],\n    \"rosterConfiguration\": {\n        \"windowOpenDate\": \"2023-01-01\",\n        \"windowCloseDate\": \"2023-01-31\",\n        \"seasonRosterLock\": True,\n        \"fixtureRosterLock\": False,\n        \"fixtureBibEdit\": False,\n        \"seasonRosterStatusAllowed\": [\"ACTIVE\"],\n        \"publishSeasonRosterRolesInHours\": True,\n        \"publishFixtureRosterRolesInMinutes\": True\n    }\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"leaderCriteriaId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"internationalReference\":\"CA3243-3\",\"eventType\":\"FIXTURE\",\"seasonType\":\"SEASON\",\"year\":2019,\"grade\":\"A\",\"status\":\"ACTIVE\",\"includeInStatistics\":true,\"liveVideoAvailable\":true,\"liveDataAvailable\":true,\"durationFull\":180,\"discipline\":\"INDOOR\",\"nameLocal\":\"Test season\",\"nameLatin\":\"Test season\",\"nameShortLocal\":\"Test short local\",\"nameShortLatin\":\"Test short latin\",\"startDate\":\"2016-09-08\",\"endDate\":\"2016-09-08\",\"gender\":\"MALE\",\"ageGroup\":\"SENIOR\",\"standard\":\"ELITE\",\"representation\":\"CLUB\",\"standingConfigurationId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"lockStandings\":true,\"externalId\":\"A123\",\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"configuration\":{\"periodBreakDuration\":0,\"halfTimeDuration\":0},\"profileId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"videoProduction\":\"AUTOMATED\",\"promotionRelegationRules\":[{\"ruleType\":\"PROMOTION\",\"position\":0,\"value\":\"DIV1\"}],\"rosterConfiguration\":{\"windowOpenDate\":\"2023-01-01\",\"windowCloseDate\":\"2023-01-31\",\"seasonRosterLock\":true,\"fixtureRosterLock\":false,\"fixtureBibEdit\":false,\"seasonRosterStatusAllowed\":[\"ACTIVE\"],\"publishSeasonRosterRolesInHours\":true,\"publishFixtureRosterRolesInMinutes\":true}}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"leaderCriteriaId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"eventType\": \"FIXTURE\",\n  \"seasonType\": \"SEASON\",\n  \"year\": 2019,\n  \"grade\": \"A\",\n  \"status\": \"ACTIVE\",\n  \"includeInStatistics\": true,\n  \"liveVideoAvailable\": true,\n  \"liveDataAvailable\": true,\n  \"durationFull\": 180,\n  \"discipline\": \"INDOOR\",\n  \"nameLocal\": \"Test season\",\n  \"nameLatin\": \"Test season\",\n  \"nameShortLocal\": \"Test short local\",\n  \"nameShortLatin\": \"Test short latin\",\n  \"startDate\": \"2016-09-08\",\n  \"endDate\": \"2016-09-08\",\n  \"gender\": \"MALE\",\n  \"ageGroup\": \"SENIOR\",\n  \"standard\": \"ELITE\",\n  \"representation\": \"CLUB\",\n  \"standingConfigurationId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"lockStandings\": true,\n  \"externalId\": \"A123\",\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"configuration\": [\n    \"periodBreakDuration\": 0,\n    \"halfTimeDuration\": 0\n  ],\n  \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"videoProduction\": \"AUTOMATED\",\n  \"promotionRelegationRules\": [\n    [\n      \"ruleType\": \"PROMOTION\",\n      \"position\": 0,\n      \"value\": \"DIV1\"\n    ]\n  ],\n  \"rosterConfiguration\": [\n    \"windowOpenDate\": \"2023-01-01\",\n    \"windowCloseDate\": \"2023-01-31\",\n    \"seasonRosterLock\": true,\n    \"fixtureRosterLock\": false,\n    \"fixtureBibEdit\": false,\n    \"seasonRosterStatusAllowed\": [\"ACTIVE\"],\n    \"publishSeasonRosterRolesInHours\": true,\n    \"publishFixtureRosterRolesInMinutes\": true\n  ]\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons":{"get":{"tags":["Seasons"],"summary":"Get a list of seasons for an organization","description":"Return a list of seasons in an organization.","operationId":"season_list_by_organization","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Seasons 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/SeasonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/ageGroup"},{"$ref":"#/components/parameters/competitionId"},{"$ref":"#/components/parameters/discipline"},{"$ref":"#/components/parameters/endDate"},{"$ref":"#/components/parameters/SEASONeventType"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/gender"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatin"},{"$ref":"#/components/parameters/nameLatinContains"},{"$ref":"#/components/parameters/nameLocal"},{"$ref":"#/components/parameters/nameLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/representation"},{"name":"search","description":"Searches the provided text in the fields nameShortLocal, nameLocal, nameShortLatin, nameLatin","schema":{"type":"string","example":"bob"},"required":false,"in":"query"},{"name":"seasonId","description":"The unique identifier of the season. Can specify multiple, delimited by comma.","schema":{"type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005"},"required":false,"in":"query"},{"$ref":"#/components/parameters/seasonType"},{"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":"^(\\-?nameLocal|\\-?nameLatin|\\-?year|,)*$","example":"-nameLocal"},"required":false,"in":"query"},{"$ref":"#/components/parameters/standard"},{"$ref":"#/components/parameters/startDate"},{"name":"status","description":"Status\n>- `ACTIVE` Active\n>- `COMPLETE` Complete\n>- `DRAFT` Draft\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","schema":{"type":"string","enum":["ACTIVE","COMPLETE","DRAFT","INACTIVE","PENDING"],"example":"ACTIVE"},"required":false,"in":"query"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/videoProduction"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"ageGroup\":\"SENIOR\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"discipline\":\"INDOOR\",\"endDate\":\"2018-08-16\",\"eventType\":\"FIXTURE\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"gender\":\"MALE\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatin\":\"SOME_STRING_VALUE\",\"nameLatinContains\":\"Dav and nameLatin='David Johnson'\",\"nameLocal\":\"SOME_STRING_VALUE\",\"nameLocalContains\":\"Dav and nameLocal='David Johnson'\",\"offset\":\"10\",\"representation\":\"CLUB\",\"search\":\"bob\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"seasonType\":\"SEASON\",\"sortBy\":\"-nameLocal\",\"standard\":\"ELITE\",\"startDate\":\"2018-08-16\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\",\"videoProduction\":\"NONE,AUTOMATED\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'\\''David%20Johnson'\\''&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'\\''David%20Johnson'\\''&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons?added=2018-08-16T02:10:48&ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&discipline=INDOOR&endDate=2018-08-16&eventType=FIXTURE&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&gender=MALE&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&representation=CLUB&search=bob&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&seasonType=SEASON&sortBy=-nameLocal&standard=ELITE&startDate=2018-08-16&status=ACTIVE&updated=2018-08-16T02:11:48&videoProduction=NONE,AUTOMATED\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}":{"get":{"tags":["Seasons"],"summary":"Get a season","description":"Return detailed information about a specific season","operationId":"season_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Seasons 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/SeasonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Seasons"],"summary":"Update a season","description":"Change the information of a specific season","operationId":"season_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Seasons 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/SeasonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"leaderCriteriaId":{"description":"The unique identifier of the ~LeaderCriteria~","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"internationalReference":{"description":"The international reference for this season given by the sport governing body","type":"string","maxLength":30,"nullable":true,"example":"CA3243-3"},"eventType":{"description":"Primary Type of Matches\n>- `FIXTURE` Fixture\n>- `PRACTICE` Practice\n","type":"string","enum":["FIXTURE","PRACTICE"],"maxLength":30,"default":"FIXTURE","example":"FIXTURE"},"seasonType":{"description":"The type of matches added to this season\n>- `MULTI_YEAR_HISTORICAL` Mulit-Year Historical\n>- `ONE_OFF` One off\n>- `PRESEASON` Pre Season\n>- `SEASON` Season\n>- `TOURNAMENT` Tournament\n","type":"string","enum":["SEASON","TOURNAMENT","ONE_OFF","PRESEASON","MULTI_YEAR_HISTORICAL"],"maxLength":30,"example":"SEASON"},"year":{"description":"Year of the season","type":"integer","format":"int32","maxLength":4,"example":2019},"grade":{"description":"The playing grade of the matches in this season","type":"string","maxLength":50,"nullable":true,"example":"A"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `COMPLETE` Complete\n>- `DRAFT` Draft\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","COMPLETE","DRAFT","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"includeInStatistics":{"description":"Include this season in calculated statistics?","type":"boolean","default":true,"example":true},"liveVideoAvailable":{"description":"If no 'liveVideoAvailable' flag passed to a new match this value is used","type":"boolean","example":true},"liveDataAvailable":{"description":"If no 'liveDataAvailable' flag passed to a new match this value is used","type":"boolean","example":true},"durationFull":{"description":"If no 'durationFull' is passed to a new match this value is used","type":"integer","format":"int32","default":240,"nullable":true,"example":180},"discipline":{"description":"If no 'discipline' is passed to a new match this value is used\n>- None None\n>- `BEACH` Beach\n>- `INDOOR` Indoor\n","type":"string","enum":["INDOOR","BEACH",null],"maxLength":30,"nullable":true,"example":"INDOOR"},"nameLocal":{"description":"The name of the season in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test season"},"nameLatin":{"description":"The name of the season in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test season"},"nameShortLocal":{"description":"The abbreviated name of the season in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"Test short local"},"nameShortLatin":{"description":"The abbreviated name of the season in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"Test short latin"},"startDate":{"description":"Season start date","type":"string","format":"date","example":"2016-09-08"},"endDate":{"description":"Season end date","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"gender":{"description":"The gender of the participants in the season\n>- `FEMALE` Female\n>- `MALE` Male\n>- `MIXED` Mixed\n>- `UNKNOWN` Unknown\n","type":"string","enum":["FEMALE","MALE","MIXED","UNKNOWN"],"maxLength":20,"example":"MALE"},"ageGroup":{"description":"The age group of the season\n>- `JUNIOR` Junior\n>- `MASTERS` Masters\n>- `SENIOR` Senior\n>- `UNDER_15` Under 15\n>- `UNDER_16` Under 16\n>- `UNDER_17` Under 17\n>- `UNDER_18` Under 18\n>- `UNDER_19` Under 19\n>- `UNDER_20` Under 20\n>- `UNDER_21` Under 21\n>- `UNDER_22` Under 22\n>- `UNDER_23` Under 23\n>- `YOUTH` Youth\n","type":"string","enum":["JUNIOR","YOUTH","UNDER_15","UNDER_16","UNDER_17","UNDER_18","UNDER_19","UNDER_20","UNDER_21","UNDER_22","UNDER_23","SENIOR","MASTERS"],"maxLength":50,"example":"SENIOR"},"standard":{"description":"The playing standard of the season\n>- `ELITE` Professional/elite organisation\n>- `FRIENDLY` International Friendly\n>- `GRASS_ROOT` Normal\n>- `HISTORICAL_BASELINE` Historical Baseline\n>- `INTERNATIONAL` International\n>- `NONCONTINENTAL_CHAMPIONSHIP` Non-continental Championship\n>- `OLYMPIC` Olympics\n>- `REGION` Regional\n>- `TIER2` lesser standard than elite\n>- `TIER3` lesser standard than tier 2\n>- `WORLD_CHAMPIONSHIP` World Championship\n>- `ZONE_CHAMPIONSHIP` International Zone Championship\n","type":"string","enum":["ELITE","FRIENDLY","GRASS_ROOT","INTERNATIONAL","NONCONTINENTAL_CHAMPIONSHIP","OLYMPIC","REGION","TIER2","TIER3","WORLD_CHAMPIONSHIP","ZONE_CHAMPIONSHIP","HISTORICAL_BASELINE"],"maxLength":50,"example":"ELITE"},"representation":{"description":"What level are the competitors representing\n>- `CLUB` Club\n>- `COUNTRY` Country\n>- `PERSON` Person\n>- `REGION` Region\n>- `STATE` State\n","type":"string","enum":["CLUB","STATE","REGION","COUNTRY","PERSON"],"maxLength":50,"example":"CLUB"},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"lockStandings":{"description":"Is the standings generation locked ?","type":"boolean","example":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,"example":"A123"},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"configuration":{"title":"Season Configuration","description":"Season Configuration settings","type":"object","nullable":true,"additionalProperties":false,"properties":{"periodBreakDuration":{"type":"number"},"halfTimeDuration":{"type":"number"}}},"profileId":{"description":"The profile that this season belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"videoProduction":{"description":"Data synchronization strategy with video production systems\n>- `AUTOMATED` Automated\n>- `MANUAL` Manual\n>- `NONE` None\n","type":"string","enum":["NONE","AUTOMATED","MANUAL"],"maxLength":50,"default":"NONE","example":"AUTOMATED"},"promotionRelegationRules":{"type":"array","nullable":true,"items":{"type":"object","additionalProperties":false,"required":["ruleType","position","value"],"properties":{"ruleType":{"description":"Rule Type","type":"string","enum":["PROMOTION","RELEGATION"]},"position":{"description":"Standings Position","type":"number"},"value":{"description":"Value to apply to Promotion or Relegation","example":"DIV1","type":"string"}}}},"rosterConfiguration":{"title":"SEASON ROSTER configuration","description":"Configuration for the SEASON ROSTER","type":"object","nullable":true,"additionalProperties":false,"properties":{"windowOpenDate":{"description":"What date can a SEASON ROSTER be submitted from for this SEASON?","type":"string","nullable":true,"format":"date","example":"2023-01-01"},"windowCloseDate":{"description":"What is the last date a SEASON ROSTER can be submitted from for this SEASON?","type":"string","nullable":true,"format":"date","example":"2023-01-31"},"seasonRosterLock":{"description":"Make SEASON ROSTERS un-editable when SEASON ROSTER Registration Window Close Date has elapsed.","type":"boolean","nullable":true,"example":true},"fixtureRosterLock":{"description":"Make FIXTURE ROSTERS un-editable when MATCH Status is set to Scheduled","type":"boolean","nullable":true,"example":false},"fixtureBibEdit":{"description":"Allow Add/Edit of FIXTURE ROSTERS bib","type":"boolean","nullable":true,"example":false},"seasonRosterStatusAllowed":{"description":"Season Roster status allowed","type":"array","items":{"type":"string","enum":["ACTIVE","INJURED","OTHER_NOT_PARTICIPATING","OUT","SUSPENDED"]}},"publishSeasonRosterRolesInHours":{"description":"How long before SEASON starts can rosters or roles be published (in hours)","type":"number","nullable":true,"example":true},"publishFixtureRosterRolesInMinutes":{"description":"How long before a MATCH starts can rosters or roles be published (in minutes)","type":"number","nullable":true,"example":true}}}},"title":"season put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"leaderCriteriaId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"eventType\": \"FIXTURE\",\n  \"seasonType\": \"SEASON\",\n  \"year\": 2019,\n  \"grade\": \"A\",\n  \"status\": \"ACTIVE\",\n  \"includeInStatistics\": true,\n  \"liveVideoAvailable\": true,\n  \"liveDataAvailable\": true,\n  \"durationFull\": 180,\n  \"discipline\": \"INDOOR\",\n  \"nameLocal\": \"Test season\",\n  \"nameLatin\": \"Test season\",\n  \"nameShortLocal\": \"Test short local\",\n  \"nameShortLatin\": \"Test short latin\",\n  \"startDate\": \"2016-09-08\",\n  \"endDate\": \"2016-09-08\",\n  \"gender\": \"MALE\",\n  \"ageGroup\": \"SENIOR\",\n  \"standard\": \"ELITE\",\n  \"representation\": \"CLUB\",\n  \"standingConfigurationId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"lockStandings\": true,\n  \"externalId\": \"A123\",\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"configuration\": {\n    \"periodBreakDuration\": 0,\n    \"halfTimeDuration\": 0\n  },\n  \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"videoProduction\": \"AUTOMATED\",\n  \"promotionRelegationRules\": [\n    {\n      \"ruleType\": \"PROMOTION\",\n      \"position\": 0,\n      \"value\": \"DIV1\"\n    }\n  ],\n  \"rosterConfiguration\": {\n    \"windowOpenDate\": \"2023-01-01\",\n    \"windowCloseDate\": \"2023-01-31\",\n    \"seasonRosterLock\": true,\n    \"fixtureRosterLock\": false,\n    \"fixtureBibEdit\": false,\n    \"seasonRosterStatusAllowed\": [\n      \"ACTIVE\"\n    ],\n    \"publishSeasonRosterRolesInHours\": true,\n    \"publishFixtureRosterRolesInMinutes\": true\n  }\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  competitionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  leaderCriteriaId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  internationalReference: 'CA3243-3',\n  eventType: 'FIXTURE',\n  seasonType: 'SEASON',\n  year: 2019,\n  grade: 'A',\n  status: 'ACTIVE',\n  includeInStatistics: true,\n  liveVideoAvailable: true,\n  liveDataAvailable: true,\n  durationFull: 180,\n  discipline: 'INDOOR',\n  nameLocal: 'Test season',\n  nameLatin: 'Test season',\n  nameShortLocal: 'Test short local',\n  nameShortLatin: 'Test short latin',\n  startDate: '2016-09-08',\n  endDate: '2016-09-08',\n  gender: 'MALE',\n  ageGroup: 'SENIOR',\n  standard: 'ELITE',\n  representation: 'CLUB',\n  standingConfigurationId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  lockStandings: true,\n  externalId: 'A123',\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  configuration: {periodBreakDuration: 0, halfTimeDuration: 0},\n  profileId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  videoProduction: 'AUTOMATED',\n  promotionRelegationRules: [{ruleType: 'PROMOTION', position: 0, value: 'DIV1'}],\n  rosterConfiguration: {\n    windowOpenDate: '2023-01-01',\n    windowCloseDate: '2023-01-31',\n    seasonRosterLock: true,\n    fixtureRosterLock: false,\n    fixtureBibEdit: false,\n    seasonRosterStatusAllowed: ['ACTIVE'],\n    publishSeasonRosterRolesInHours: true,\n    publishFixtureRosterRolesInMinutes: true\n  }\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"competitionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"leaderCriteriaId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"internationalReference\": @\"CA3243-3\",\n                              @\"eventType\": @\"FIXTURE\",\n                              @\"seasonType\": @\"SEASON\",\n                              @\"year\": @2019,\n                              @\"grade\": @\"A\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"includeInStatistics\": @YES,\n                              @\"liveVideoAvailable\": @YES,\n                              @\"liveDataAvailable\": @YES,\n                              @\"durationFull\": @180,\n                              @\"discipline\": @\"INDOOR\",\n                              @\"nameLocal\": @\"Test season\",\n                              @\"nameLatin\": @\"Test season\",\n                              @\"nameShortLocal\": @\"Test short local\",\n                              @\"nameShortLatin\": @\"Test short latin\",\n                              @\"startDate\": @\"2016-09-08\",\n                              @\"endDate\": @\"2016-09-08\",\n                              @\"gender\": @\"MALE\",\n                              @\"ageGroup\": @\"SENIOR\",\n                              @\"standard\": @\"ELITE\",\n                              @\"representation\": @\"CLUB\",\n                              @\"standingConfigurationId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"lockStandings\": @YES,\n                              @\"externalId\": @\"A123\",\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"configuration\": @{ @\"periodBreakDuration\": @0, @\"halfTimeDuration\": @0 },\n                              @\"profileId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"videoProduction\": @\"AUTOMATED\",\n                              @\"promotionRelegationRules\": @[ @{ @\"ruleType\": @\"PROMOTION\", @\"position\": @0, @\"value\": @\"DIV1\" } ],\n                              @\"rosterConfiguration\": @{ @\"windowOpenDate\": @\"2023-01-01\", @\"windowCloseDate\": @\"2023-01-31\", @\"seasonRosterLock\": @YES, @\"fixtureRosterLock\": @NO, @\"fixtureBibEdit\": @NO, @\"seasonRosterStatusAllowed\": @[ @\"ACTIVE\" ], @\"publishSeasonRosterRolesInHours\": @YES, @\"publishFixtureRosterRolesInMinutes\": @YES } };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"leaderCriteriaId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"internationalReference\": \"CA3243-3\",\n    \"eventType\": \"FIXTURE\",\n    \"seasonType\": \"SEASON\",\n    \"year\": 2019,\n    \"grade\": \"A\",\n    \"status\": \"ACTIVE\",\n    \"includeInStatistics\": True,\n    \"liveVideoAvailable\": True,\n    \"liveDataAvailable\": True,\n    \"durationFull\": 180,\n    \"discipline\": \"INDOOR\",\n    \"nameLocal\": \"Test season\",\n    \"nameLatin\": \"Test season\",\n    \"nameShortLocal\": \"Test short local\",\n    \"nameShortLatin\": \"Test short latin\",\n    \"startDate\": \"2016-09-08\",\n    \"endDate\": \"2016-09-08\",\n    \"gender\": \"MALE\",\n    \"ageGroup\": \"SENIOR\",\n    \"standard\": \"ELITE\",\n    \"representation\": \"CLUB\",\n    \"standingConfigurationId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"lockStandings\": True,\n    \"externalId\": \"A123\",\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"configuration\": {\n        \"periodBreakDuration\": 0,\n        \"halfTimeDuration\": 0\n    },\n    \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"videoProduction\": \"AUTOMATED\",\n    \"promotionRelegationRules\": [\n        {\n            \"ruleType\": \"PROMOTION\",\n            \"position\": 0,\n            \"value\": \"DIV1\"\n        }\n    ],\n    \"rosterConfiguration\": {\n        \"windowOpenDate\": \"2023-01-01\",\n        \"windowCloseDate\": \"2023-01-31\",\n        \"seasonRosterLock\": True,\n        \"fixtureRosterLock\": False,\n        \"fixtureBibEdit\": False,\n        \"seasonRosterStatusAllowed\": [\"ACTIVE\"],\n        \"publishSeasonRosterRolesInHours\": True,\n        \"publishFixtureRosterRolesInMinutes\": True\n    }\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"leaderCriteriaId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"internationalReference\\\":\\\"CA3243-3\\\",\\\"eventType\\\":\\\"FIXTURE\\\",\\\"seasonType\\\":\\\"SEASON\\\",\\\"year\\\":2019,\\\"grade\\\":\\\"A\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"includeInStatistics\\\":true,\\\"liveVideoAvailable\\\":true,\\\"liveDataAvailable\\\":true,\\\"durationFull\\\":180,\\\"discipline\\\":\\\"INDOOR\\\",\\\"nameLocal\\\":\\\"Test season\\\",\\\"nameLatin\\\":\\\"Test season\\\",\\\"nameShortLocal\\\":\\\"Test short local\\\",\\\"nameShortLatin\\\":\\\"Test short latin\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"gender\\\":\\\"MALE\\\",\\\"ageGroup\\\":\\\"SENIOR\\\",\\\"standard\\\":\\\"ELITE\\\",\\\"representation\\\":\\\"CLUB\\\",\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"lockStandings\\\":true,\\\"externalId\\\":\\\"A123\\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"configuration\\\":{\\\"periodBreakDuration\\\":0,\\\"halfTimeDuration\\\":0},\\\"profileId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"videoProduction\\\":\\\"AUTOMATED\\\",\\\"promotionRelegationRules\\\":[{\\\"ruleType\\\":\\\"PROMOTION\\\",\\\"position\\\":0,\\\"value\\\":\\\"DIV1\\\"}],\\\"rosterConfiguration\\\":{\\\"windowOpenDate\\\":\\\"2023-01-01\\\",\\\"windowCloseDate\\\":\\\"2023-01-31\\\",\\\"seasonRosterLock\\\":true,\\\"fixtureRosterLock\\\":false,\\\"fixtureBibEdit\\\":false,\\\"seasonRosterStatusAllowed\\\":[\\\"ACTIVE\\\"],\\\"publishSeasonRosterRolesInHours\\\":true,\\\"publishFixtureRosterRolesInMinutes\\\":true}}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"leaderCriteriaId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"internationalReference\":\"CA3243-3\",\"eventType\":\"FIXTURE\",\"seasonType\":\"SEASON\",\"year\":2019,\"grade\":\"A\",\"status\":\"ACTIVE\",\"includeInStatistics\":true,\"liveVideoAvailable\":true,\"liveDataAvailable\":true,\"durationFull\":180,\"discipline\":\"INDOOR\",\"nameLocal\":\"Test season\",\"nameLatin\":\"Test season\",\"nameShortLocal\":\"Test short local\",\"nameShortLatin\":\"Test short latin\",\"startDate\":\"2016-09-08\",\"endDate\":\"2016-09-08\",\"gender\":\"MALE\",\"ageGroup\":\"SENIOR\",\"standard\":\"ELITE\",\"representation\":\"CLUB\",\"standingConfigurationId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"lockStandings\":true,\"externalId\":\"A123\",\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"configuration\":{\"periodBreakDuration\":0,\"halfTimeDuration\":0},\"profileId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"videoProduction\":\"AUTOMATED\",\"promotionRelegationRules\":[{\"ruleType\":\"PROMOTION\",\"position\":0,\"value\":\"DIV1\"}],\"rosterConfiguration\":{\"windowOpenDate\":\"2023-01-01\",\"windowCloseDate\":\"2023-01-31\",\"seasonRosterLock\":true,\"fixtureRosterLock\":false,\"fixtureBibEdit\":false,\"seasonRosterStatusAllowed\":[\"ACTIVE\"],\"publishSeasonRosterRolesInHours\":true,\"publishFixtureRosterRolesInMinutes\":true}}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"leaderCriteriaId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"internationalReference\": \"CA3243-3\",\n  \"eventType\": \"FIXTURE\",\n  \"seasonType\": \"SEASON\",\n  \"year\": 2019,\n  \"grade\": \"A\",\n  \"status\": \"ACTIVE\",\n  \"includeInStatistics\": true,\n  \"liveVideoAvailable\": true,\n  \"liveDataAvailable\": true,\n  \"durationFull\": 180,\n  \"discipline\": \"INDOOR\",\n  \"nameLocal\": \"Test season\",\n  \"nameLatin\": \"Test season\",\n  \"nameShortLocal\": \"Test short local\",\n  \"nameShortLatin\": \"Test short latin\",\n  \"startDate\": \"2016-09-08\",\n  \"endDate\": \"2016-09-08\",\n  \"gender\": \"MALE\",\n  \"ageGroup\": \"SENIOR\",\n  \"standard\": \"ELITE\",\n  \"representation\": \"CLUB\",\n  \"standingConfigurationId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"lockStandings\": true,\n  \"externalId\": \"A123\",\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"configuration\": [\n    \"periodBreakDuration\": 0,\n    \"halfTimeDuration\": 0\n  ],\n  \"profileId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"videoProduction\": \"AUTOMATED\",\n  \"promotionRelegationRules\": [\n    [\n      \"ruleType\": \"PROMOTION\",\n      \"position\": 0,\n      \"value\": \"DIV1\"\n    ]\n  ],\n  \"rosterConfiguration\": [\n    \"windowOpenDate\": \"2023-01-01\",\n    \"windowCloseDate\": \"2023-01-31\",\n    \"seasonRosterLock\": true,\n    \"fixtureRosterLock\": false,\n    \"fixtureBibEdit\": false,\n    \"seasonRosterStatusAllowed\": [\"ACTIVE\"],\n    \"publishSeasonRosterRolesInHours\": true,\n    \"publishFixtureRosterRolesInMinutes\": true\n  ]\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Seasons"],"summary":"Delete a season","description":"Delete a specific season","operationId":"season_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Seasons 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/SeasonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/sites":{"get":{"tags":["Sites"],"summary":"Get a list of sites","description":"Return a list of available sites","operationId":"site_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Sites 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/SitesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/countryCode"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatin"},{"$ref":"#/components/parameters/nameLatinContains"},{"$ref":"#/components/parameters/nameLocal"},{"$ref":"#/components/parameters/nameLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"countryCode\":\"USA\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatin\":\"SOME_STRING_VALUE\",\"nameLatinContains\":\"Dav and nameLatin='David Johnson'\",\"nameLocal\":\"SOME_STRING_VALUE\",\"nameLocalContains\":\"Dav and nameLocal='David Johnson'\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'\\''David%20Johnson'\\''&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'\\''David%20Johnson'\\''&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Sites"],"summary":"Create a site","description":"Add a new site","operationId":"site_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Sites 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/SitesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"siteId":{"description":"The unique identifier of the site","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the site in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the site in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"countryCode":{"description":"Country code of the site. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"address":{"title":"Site address","description":"Street Address for the site","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"}},"title":"site post body","required":["nameLocal"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"siteId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"countryCode\": \"USA\",\n  \"address\": {\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  },\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  siteId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  countryCode: 'USA',\n  address: {\n    address1: 'string',\n    address2: 'string',\n    address3: 'string',\n    city: 'string',\n    state: 'string',\n    postalCode: 'string',\n    countryCode: 'str',\n    longitude: 0,\n    latitude: 0\n  },\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"siteId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"countryCode\": @\"USA\",\n                              @\"address\": @{ @\"address1\": @\"string\", @\"address2\": @\"string\", @\"address3\": @\"string\", @\"city\": @\"string\", @\"state\": @\"string\", @\"postalCode\": @\"string\", @\"countryCode\": @\"str\", @\"longitude\": @0, @\"latitude\": @0 },\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"siteId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"countryCode\": \"USA\",\n    \"address\": {\n        \"address1\": \"string\",\n        \"address2\": \"string\",\n        \"address3\": \"string\",\n        \"city\": \"string\",\n        \"state\": \"string\",\n        \"postalCode\": \"string\",\n        \"countryCode\": \"str\",\n        \"longitude\": 0,\n        \"latitude\": 0\n    },\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"siteId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"countryCode\":\"USA\",\"address\":{\"address1\":\"string\",\"address2\":\"string\",\"address3\":\"string\",\"city\":\"string\",\"state\":\"string\",\"postalCode\":\"string\",\"countryCode\":\"str\",\"longitude\":0,\"latitude\":0},\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"siteId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"countryCode\": \"USA\",\n  \"address\": [\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  ],\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/sites/{siteId}":{"get":{"tags":["Sites"],"summary":"Get a site","description":"Return detailed information about a specific site","operationId":"site_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Sites 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/SitesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"siteId","description":"The unique identifier of the site","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Sites"],"summary":"Update a site","description":"Change the information of a specific site","operationId":"site_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Sites 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/SitesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"siteId","description":"The unique identifier of the site","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the site in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the site in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"countryCode":{"description":"Country code of the site. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"address":{"title":"Site address","description":"Street Address for the site","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"}},"title":"site put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"countryCode\": \"USA\",\n  \"address\": {\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  },\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  countryCode: 'USA',\n  address: {\n    address1: 'string',\n    address2: 'string',\n    address3: 'string',\n    city: 'string',\n    state: 'string',\n    postalCode: 'string',\n    countryCode: 'str',\n    longitude: 0,\n    latitude: 0\n  },\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"countryCode\": @\"USA\",\n                              @\"address\": @{ @\"address1\": @\"string\", @\"address2\": @\"string\", @\"address3\": @\"string\", @\"city\": @\"string\", @\"state\": @\"string\", @\"postalCode\": @\"string\", @\"countryCode\": @\"str\", @\"longitude\": @0, @\"latitude\": @0 },\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"countryCode\": \"USA\",\n    \"address\": {\n        \"address1\": \"string\",\n        \"address2\": \"string\",\n        \"address3\": \"string\",\n        \"city\": \"string\",\n        \"state\": \"string\",\n        \"postalCode\": \"string\",\n        \"countryCode\": \"str\",\n        \"longitude\": 0,\n        \"latitude\": 0\n    },\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"countryCode\\\":\\\"USA\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"countryCode\":\"USA\",\"address\":{\"address1\":\"string\",\"address2\":\"string\",\"address3\":\"string\",\"city\":\"string\",\"state\":\"string\",\"postalCode\":\"string\",\"countryCode\":\"str\",\"longitude\":0,\"latitude\":0},\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"countryCode\": \"USA\",\n  \"address\": [\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  ],\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Sites"],"summary":"Delete a site","description":"Delete a specific site","operationId":"site_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Sites 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/SitesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"siteId","description":"The unique identifier of the site","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/venues":{"get":{"tags":["Venues"],"summary":"Get a list of venues in the season","description":"Return a list of venues for a season","operationId":"season_venues_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Venues_List 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/Season_Venues_ListModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatin"},{"$ref":"#/components/parameters/nameLatinContains"},{"$ref":"#/components/parameters/nameLocal"},{"$ref":"#/components/parameters/nameLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"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":"^(\\-?nameLocal|\\-?nameLatin|,)*$","example":"-nameLocal,nameLatin"},"required":false,"in":"query"},{"name":"venueId","description":"The unique identifier of the venue. Can specify multiple, delimited by comma.","schema":{"type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatin\":\"SOME_STRING_VALUE\",\"nameLatinContains\":\"Dav and nameLatin='David Johnson'\",\"nameLocal\":\"SOME_STRING_VALUE\",\"nameLocalContains\":\"Dav and nameLocal='David Johnson'\",\"offset\":\"10\",\"sortBy\":\"-nameLocal,nameLatin\",\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'\\''David%20Johnson'\\''&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'\\''David%20Johnson'\\''&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/venues":{"get":{"tags":["Venues"],"summary":"Get a list of venues","description":"Return a list of available venues","operationId":"venue_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Venues 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/VenuesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/countryCode"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatin"},{"$ref":"#/components/parameters/nameLatinContains"},{"$ref":"#/components/parameters/nameLocal"},{"$ref":"#/components/parameters/nameLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"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":"^(\\-?nameLocal|\\-?nameLatin|,)*$","example":"-nameLocal,nameLatin"},"required":false,"in":"query"},{"$ref":"#/components/parameters/status"},{"$ref":"#/components/parameters/updated"},{"name":"venueId","description":"The unique identifier of the venue. Can specify multiple, delimited by comma.","schema":{"type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"countryCode\":\"USA\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatin\":\"SOME_STRING_VALUE\",\"nameLatinContains\":\"Dav and nameLatin='David Johnson'\",\"nameLocal\":\"SOME_STRING_VALUE\",\"nameLocalContains\":\"Dav and nameLocal='David Johnson'\",\"offset\":\"10\",\"sortBy\":\"-nameLocal,nameLatin\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\",\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'\\''David%20Johnson'\\''&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'\\''David%20Johnson'\\''&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Venues"],"summary":"Create a venue","description":"Add a new venue","operationId":"venue_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Venues 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/VenuesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"venueId":{"description":"The unique identifier of the venue","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"siteId":{"description":"The site that this venue belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the venue in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"default":"ACTIVE","example":"ACTIVE"},"alternateNameLocal":{"description":"The alternate name of the venue, in Local Language","type":"string","maxLength":150,"nullable":true,"example":"Test venue"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the venue in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"alternateNameLatin":{"description":"The alternate name of the venue, in Latin characters","type":"string","maxLength":150,"nullable":true,"example":"Test venue"},"countryCode":{"description":"Country code of the venue. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"timezone":{"description":"Timezone of the venue.  The name of the zone as defined by the IANA TZ database. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones","type":"string","maxLength":150,"example":"Australia/Sydney"},"address":{"title":"Venue address","description":"Street Address for the venue","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"capacity":{"description":"This is the maximum number of people allowed for the venue in normal use. Certain events/configurations of the venue may cause this capacity to be increased/decreased - this is not reflected in this value.","type":"integer","format":"int32","nullable":true,"example":12300},"historicalNames":{"type":"array","nullable":true,"title":"Venue historical names","description":"Array of venue historical names","items":{"type":"object","title":"Venue historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"alternateNameLocal":{"description":"Alternate name in local lanuage","type":"string","nullable":true},"alternateNameLatin":{"description":"Alternate name in latin characters","type":"string","nullable":true},"abbreviationLocal":{"description":"Abbreviation in local lanuage","type":"string","nullable":true},"abbreviationLatin":{"description":"Abbreviation in latin characters","type":"string","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,"example":"A123"}},"title":"venue post body","required":["nameLocal","timezone"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"venueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"siteId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"status\": \"ACTIVE\",\n  \"alternateNameLocal\": \"Test venue\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"alternateNameLatin\": \"Test venue\",\n  \"countryCode\": \"USA\",\n  \"timezone\": \"Australia/Sydney\",\n  \"address\": {\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  },\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"capacity\": 12300,\n  \"historicalNames\": [\n    {\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameLocal\": \"string\",\n      \"nameLatin\": \"string\",\n      \"alternateNameLocal\": \"string\",\n      \"alternateNameLatin\": \"string\",\n      \"abbreviationLocal\": \"string\",\n      \"abbreviationLatin\": \"string\"\n    }\n  ],\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  venueId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  siteId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  status: 'ACTIVE',\n  alternateNameLocal: 'Test venue',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  alternateNameLatin: 'Test venue',\n  countryCode: 'USA',\n  timezone: 'Australia/Sydney',\n  address: {\n    address1: 'string',\n    address2: 'string',\n    address3: 'string',\n    city: 'string',\n    state: 'string',\n    postalCode: 'string',\n    countryCode: 'str',\n    longitude: 0,\n    latitude: 0\n  },\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  capacity: 12300,\n  historicalNames: [\n    {\n      dateStart: '2019-08-24',\n      dateEnd: '2019-08-24',\n      nameLocal: 'string',\n      nameLatin: 'string',\n      alternateNameLocal: 'string',\n      alternateNameLatin: 'string',\n      abbreviationLocal: 'string',\n      abbreviationLatin: 'string'\n    }\n  ],\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"venueId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"siteId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"alternateNameLocal\": @\"Test venue\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"alternateNameLatin\": @\"Test venue\",\n                              @\"countryCode\": @\"USA\",\n                              @\"timezone\": @\"Australia/Sydney\",\n                              @\"address\": @{ @\"address1\": @\"string\", @\"address2\": @\"string\", @\"address3\": @\"string\", @\"city\": @\"string\", @\"state\": @\"string\", @\"postalCode\": @\"string\", @\"countryCode\": @\"str\", @\"longitude\": @0, @\"latitude\": @0 },\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"capacity\": @12300,\n                              @\"historicalNames\": @[ @{ @\"dateStart\": @\"2019-08-24\", @\"dateEnd\": @\"2019-08-24\", @\"nameLocal\": @\"string\", @\"nameLatin\": @\"string\", @\"alternateNameLocal\": @\"string\", @\"alternateNameLatin\": @\"string\", @\"abbreviationLocal\": @\"string\", @\"abbreviationLatin\": @\"string\" } ],\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"venueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"siteId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"status\": \"ACTIVE\",\n    \"alternateNameLocal\": \"Test venue\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"alternateNameLatin\": \"Test venue\",\n    \"countryCode\": \"USA\",\n    \"timezone\": \"Australia/Sydney\",\n    \"address\": {\n        \"address1\": \"string\",\n        \"address2\": \"string\",\n        \"address3\": \"string\",\n        \"city\": \"string\",\n        \"state\": \"string\",\n        \"postalCode\": \"string\",\n        \"countryCode\": \"str\",\n        \"longitude\": 0,\n        \"latitude\": 0\n    },\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"capacity\": 12300,\n    \"historicalNames\": [\n        {\n            \"dateStart\": \"2019-08-24\",\n            \"dateEnd\": \"2019-08-24\",\n            \"nameLocal\": \"string\",\n            \"nameLatin\": \"string\",\n            \"alternateNameLocal\": \"string\",\n            \"alternateNameLatin\": \"string\",\n            \"abbreviationLocal\": \"string\",\n            \"abbreviationLatin\": \"string\"\n        }\n    ],\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"venueId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"siteId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"status\":\"ACTIVE\",\"alternateNameLocal\":\"Test venue\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"alternateNameLatin\":\"Test venue\",\"countryCode\":\"USA\",\"timezone\":\"Australia/Sydney\",\"address\":{\"address1\":\"string\",\"address2\":\"string\",\"address3\":\"string\",\"city\":\"string\",\"state\":\"string\",\"postalCode\":\"string\",\"countryCode\":\"str\",\"longitude\":0,\"latitude\":0},\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"capacity\":12300,\"historicalNames\":[{\"dateStart\":\"2019-08-24\",\"dateEnd\":\"2019-08-24\",\"nameLocal\":\"string\",\"nameLatin\":\"string\",\"alternateNameLocal\":\"string\",\"alternateNameLatin\":\"string\",\"abbreviationLocal\":\"string\",\"abbreviationLatin\":\"string\"}],\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"venueId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"siteId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"status\": \"ACTIVE\",\n  \"alternateNameLocal\": \"Test venue\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"alternateNameLatin\": \"Test venue\",\n  \"countryCode\": \"USA\",\n  \"timezone\": \"Australia/Sydney\",\n  \"address\": [\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  ],\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"capacity\": 12300,\n  \"historicalNames\": [\n    [\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameLocal\": \"string\",\n      \"nameLatin\": \"string\",\n      \"alternateNameLocal\": \"string\",\n      \"alternateNameLatin\": \"string\",\n      \"abbreviationLocal\": \"string\",\n      \"abbreviationLatin\": \"string\"\n    ]\n  ],\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/sites/{siteId}/venues":{"get":{"tags":["Venues"],"summary":"Get a list of venues by site","description":"Return a list of available venues","operationId":"venue_list_by_siteId","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Venues 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/VenuesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/countryCode"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatin"},{"$ref":"#/components/parameters/nameLocal"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"siteId","description":"The unique identifier of the site","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"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":"^(\\-?nameLocal|\\-?nameLatin|,)*$","example":"-nameLocal,nameLatin"},"required":false,"in":"query"},{"$ref":"#/components/parameters/status"},{"$ref":"#/components/parameters/updated"},{"name":"venueId","description":"The unique identifier of the venue. Can specify multiple, delimited by comma.","schema":{"type":"string","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":false,"in":"query"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}/venues\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"countryCode\":\"USA\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatin\":\"SOME_STRING_VALUE\",\"nameLocal\":\"SOME_STRING_VALUE\",\"offset\":\"10\",\"sortBy\":\"-nameLocal,nameLatin\",\"status\":\"ACTIVE\",\"updated\":\"2018-08-16T02:11:48\",\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/sites/{siteId}/venues?added=2018-08-16T02:10:48&countryCode=USA&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLocal=SOME_STRING_VALUE&offset=10&sortBy=-nameLocal,nameLatin&status=ACTIVE&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/venues/{venueId}":{"get":{"tags":["Venues"],"summary":"Get a venue","description":"Return detailed information about a specific venue","operationId":"venue_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Venues 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/VenuesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"venueId","description":"The unique identifier of the venue","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Venues"],"summary":"Update a venue","description":"Change the information of a specific venue","operationId":"venue_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Venues 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/VenuesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"venueId","description":"The unique identifier of the venue","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"siteId":{"description":"The site that this venue belongs to","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the venue in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"default":"ACTIVE","example":"ACTIVE"},"alternateNameLocal":{"description":"The alternate name of the venue, in Local Language","type":"string","maxLength":150,"nullable":true,"example":"Test venue"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":30,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the venue in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"alternateNameLatin":{"description":"The alternate name of the venue, in Latin characters","type":"string","maxLength":150,"nullable":true,"example":"Test venue"},"countryCode":{"description":"Country code of the venue. We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","minLength":3,"maxLength":3,"nullable":true,"example":"USA"},"timezone":{"description":"Timezone of the venue.  The name of the zone as defined by the IANA TZ database. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones","type":"string","maxLength":150,"example":"Australia/Sydney"},"address":{"title":"Venue address","description":"Street Address for the venue","type":"object","nullable":true,"additionalProperties":false,"properties":{"address1":{"description":"First line of the address","type":"string","nullable":true},"address2":{"description":"Second line of the address","type":"string","nullable":true},"address3":{"description":"Third line of the address","type":"string","nullable":true},"city":{"description":"The city/suburb of the address","type":"string","nullable":true},"state":{"description":"The state of the address","type":"string","nullable":true},"postalCode":{"description":"The postal code for the address","type":"string","nullable":true},"countryCode":{"description":"ISO Country code of the address.  We recommend you use ISO-3166-1:alpha3 (upper case) values where available.","type":"string","nullable":true,"maxLength":3,"minLength":3},"longitude":{"type":"number","nullable":true},"latitude":{"type":"number","nullable":true}}},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"capacity":{"description":"This is the maximum number of people allowed for the venue in normal use. Certain events/configurations of the venue may cause this capacity to be increased/decreased - this is not reflected in this value.","type":"integer","format":"int32","nullable":true,"example":12300},"historicalNames":{"type":"array","nullable":true,"title":"Venue historical names","description":"Array of venue historical names","items":{"type":"object","title":"Venue historical name","additionalProperties":false,"properties":{"dateStart":{"description":"Start date","type":"string","nullable":true,"format":"date"},"dateEnd":{"description":"End date","type":"string","nullable":true,"format":"date"},"nameLocal":{"description":"Full name in local language","type":"string","nullable":true},"nameLatin":{"description":"Full name in latin characters","type":"string","nullable":true},"alternateNameLocal":{"description":"Alternate name in local lanuage","type":"string","nullable":true},"alternateNameLatin":{"description":"Alternate name in latin characters","type":"string","nullable":true},"abbreviationLocal":{"description":"Abbreviation in local lanuage","type":"string","nullable":true},"abbreviationLatin":{"description":"Abbreviation in latin characters","type":"string","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,"example":"A123"}},"title":"venue put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"siteId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"status\": \"ACTIVE\",\n  \"alternateNameLocal\": \"Test venue\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"alternateNameLatin\": \"Test venue\",\n  \"countryCode\": \"USA\",\n  \"timezone\": \"Australia/Sydney\",\n  \"address\": {\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  },\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"capacity\": 12300,\n  \"historicalNames\": [\n    {\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameLocal\": \"string\",\n      \"nameLatin\": \"string\",\n      \"alternateNameLocal\": \"string\",\n      \"alternateNameLatin\": \"string\",\n      \"abbreviationLocal\": \"string\",\n      \"abbreviationLatin\": \"string\"\n    }\n  ],\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  siteId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  status: 'ACTIVE',\n  alternateNameLocal: 'Test venue',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  alternateNameLatin: 'Test venue',\n  countryCode: 'USA',\n  timezone: 'Australia/Sydney',\n  address: {\n    address1: 'string',\n    address2: 'string',\n    address3: 'string',\n    city: 'string',\n    state: 'string',\n    postalCode: 'string',\n    countryCode: 'str',\n    longitude: 0,\n    latitude: 0\n  },\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  capacity: 12300,\n  historicalNames: [\n    {\n      dateStart: '2019-08-24',\n      dateEnd: '2019-08-24',\n      nameLocal: 'string',\n      nameLatin: 'string',\n      alternateNameLocal: 'string',\n      alternateNameLatin: 'string',\n      abbreviationLocal: 'string',\n      abbreviationLatin: 'string'\n    }\n  ],\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"siteId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"alternateNameLocal\": @\"Test venue\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"alternateNameLatin\": @\"Test venue\",\n                              @\"countryCode\": @\"USA\",\n                              @\"timezone\": @\"Australia/Sydney\",\n                              @\"address\": @{ @\"address1\": @\"string\", @\"address2\": @\"string\", @\"address3\": @\"string\", @\"city\": @\"string\", @\"state\": @\"string\", @\"postalCode\": @\"string\", @\"countryCode\": @\"str\", @\"longitude\": @0, @\"latitude\": @0 },\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"capacity\": @12300,\n                              @\"historicalNames\": @[ @{ @\"dateStart\": @\"2019-08-24\", @\"dateEnd\": @\"2019-08-24\", @\"nameLocal\": @\"string\", @\"nameLatin\": @\"string\", @\"alternateNameLocal\": @\"string\", @\"alternateNameLatin\": @\"string\", @\"abbreviationLocal\": @\"string\", @\"abbreviationLatin\": @\"string\" } ],\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"siteId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"status\": \"ACTIVE\",\n    \"alternateNameLocal\": \"Test venue\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"alternateNameLatin\": \"Test venue\",\n    \"countryCode\": \"USA\",\n    \"timezone\": \"Australia/Sydney\",\n    \"address\": {\n        \"address1\": \"string\",\n        \"address2\": \"string\",\n        \"address3\": \"string\",\n        \"city\": \"string\",\n        \"state\": \"string\",\n        \"postalCode\": \"string\",\n        \"countryCode\": \"str\",\n        \"longitude\": 0,\n        \"latitude\": 0\n    },\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"capacity\": 12300,\n    \"historicalNames\": [\n        {\n            \"dateStart\": \"2019-08-24\",\n            \"dateEnd\": \"2019-08-24\",\n            \"nameLocal\": \"string\",\n            \"nameLatin\": \"string\",\n            \"alternateNameLocal\": \"string\",\n            \"alternateNameLatin\": \"string\",\n            \"abbreviationLocal\": \"string\",\n            \"abbreviationLatin\": \"string\"\n        }\n    ],\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"siteId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"alternateNameLocal\\\":\\\"Test venue\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"alternateNameLatin\\\":\\\"Test venue\\\",\\\"countryCode\\\":\\\"USA\\\",\\\"timezone\\\":\\\"Australia/Sydney\\\",\\\"address\\\":{\\\"address1\\\":\\\"string\\\",\\\"address2\\\":\\\"string\\\",\\\"address3\\\":\\\"string\\\",\\\"city\\\":\\\"string\\\",\\\"state\\\":\\\"string\\\",\\\"postalCode\\\":\\\"string\\\",\\\"countryCode\\\":\\\"str\\\",\\\"longitude\\\":0,\\\"latitude\\\":0},\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"capacity\\\":12300,\\\"historicalNames\\\":[{\\\"dateStart\\\":\\\"2019-08-24\\\",\\\"dateEnd\\\":\\\"2019-08-24\\\",\\\"nameLocal\\\":\\\"string\\\",\\\"nameLatin\\\":\\\"string\\\",\\\"alternateNameLocal\\\":\\\"string\\\",\\\"alternateNameLatin\\\":\\\"string\\\",\\\"abbreviationLocal\\\":\\\"string\\\",\\\"abbreviationLatin\\\":\\\"string\\\"}],\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"siteId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"status\":\"ACTIVE\",\"alternateNameLocal\":\"Test venue\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"alternateNameLatin\":\"Test venue\",\"countryCode\":\"USA\",\"timezone\":\"Australia/Sydney\",\"address\":{\"address1\":\"string\",\"address2\":\"string\",\"address3\":\"string\",\"city\":\"string\",\"state\":\"string\",\"postalCode\":\"string\",\"countryCode\":\"str\",\"longitude\":0,\"latitude\":0},\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"capacity\":12300,\"historicalNames\":[{\"dateStart\":\"2019-08-24\",\"dateEnd\":\"2019-08-24\",\"nameLocal\":\"string\",\"nameLatin\":\"string\",\"alternateNameLocal\":\"string\",\"alternateNameLatin\":\"string\",\"abbreviationLocal\":\"string\",\"abbreviationLatin\":\"string\"}],\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"siteId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"status\": \"ACTIVE\",\n  \"alternateNameLocal\": \"Test venue\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"alternateNameLatin\": \"Test venue\",\n  \"countryCode\": \"USA\",\n  \"timezone\": \"Australia/Sydney\",\n  \"address\": [\n    \"address1\": \"string\",\n    \"address2\": \"string\",\n    \"address3\": \"string\",\n    \"city\": \"string\",\n    \"state\": \"string\",\n    \"postalCode\": \"string\",\n    \"countryCode\": \"str\",\n    \"longitude\": 0,\n    \"latitude\": 0\n  ],\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"capacity\": 12300,\n  \"historicalNames\": [\n    [\n      \"dateStart\": \"2019-08-24\",\n      \"dateEnd\": \"2019-08-24\",\n      \"nameLocal\": \"string\",\n      \"nameLatin\": \"string\",\n      \"alternateNameLocal\": \"string\",\n      \"alternateNameLatin\": \"string\",\n      \"abbreviationLocal\": \"string\",\n      \"abbreviationLatin\": \"string\"\n    ]\n  ],\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Venues"],"summary":"Delete a venue","description":"Delete a specific venue","operationId":"venue_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Venues 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/VenuesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"venueId","description":"The unique identifier of the venue","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/venues/{venueId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}":{"get":{"tags":["Person Match Statistics"],"summary":"Person total statistics","description":"Return a list of person total statistics for a match. Statistics are the totals (all periods added together) for the match.","operationId":"fps_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Person_Statistics 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/Fixture_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/multipleEntityIds"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/participated"},{"$ref":"#/components/parameters/multiplePersonIds"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"participated\":\"true\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Person Match Statistics"],"summary":"Delete person total statistics","description":"Delete a total statistic record for a person in a match.","operationId":"fps_delete_all","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Person_Statistics 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/Fixture_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures":{"get":{"tags":["Person Match Statistics"],"summary":"Person total statistics for matches in a season","description":"Return a list of person total statistics for matches in a season. Statistics are the totals (all periods added together) for the match.","operationId":"fps_list_by_season","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Person_Statistics 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/Fixture_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/multipleEntityIds"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/statlimit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/participated"},{"$ref":"#/components/parameters/multiplePersonIds"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"participated\":\"true\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live":{"get":{"tags":["Person Match Statistics"],"summary":"Person total statistics - live","description":"\n    Return a list of live person total statistics for a match. Statistics are the totals\n    (all periods added together) for the match. This call will return records of matches still in-progress\n    if available.  If the match is complete this call operates the same as the non 'live' route.\n\n    Rate limited to 2 requests every minute - returns HTTP 429 Too Many Requests if called more often.\n    ","operationId":"fps_listlive","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Person_Statistics 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/Fixture_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["read:organization_live"]}],"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/multipleEntityIds"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/participated"},{"$ref":"#/components/parameters/multiplePersonIds"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"participated\":\"true\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/fixtures":{"post":{"tags":["Person Match Statistics"],"summary":"Create/Update person total statistics","description":"Depending on the data, add or update a total statistic record for a person in a match.","operationId":"fps_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Person_Statistics 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/Fixture_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"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","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"statistics":{"type":"object","additionalProperties":false,"properties":{}},"bib":{"description":"The number displayed on the jersey","type":"string","maxLength":100,"nullable":true,"example":"34"},"position":{"description":"Playing position","type":"string","maxLength":100,"nullable":true,"example":"GOALKEEPER"},"didNotPlayReason":{"description":"The reason the player didn't play","type":"string","maxLength":100,"nullable":true,"example":"COACHES_DECISION"},"starter":{"description":"","type":"boolean","example":true},"participated":{"description":"Did the person actually participate in the the match","type":"boolean","example":true},"isPlayer":{"description":"Is this person a player","type":"boolean","example":true},"isTeamOfficial":{"description":"Is this person a team official","type":"boolean","example":true}},"title":"match person statistics post body","required":["personId","fixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"didNotPlayReason\\\":\\\"COACHES_DECISION\\\",\\\"starter\\\":true,\\\"participated\\\":true,\\\"isPlayer\\\":true,\\\"isTeamOfficial\\\":true}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"didNotPlayReason\\\":\\\"COACHES_DECISION\\\",\\\"starter\\\":true,\\\"participated\\\":true,\\\"isPlayer\\\":true,\\\"isTeamOfficial\\\":true}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"didNotPlayReason\\\":\\\"COACHES_DECISION\\\",\\\"starter\\\":true,\\\"participated\\\":true,\\\"isPlayer\\\":true,\\\"isTeamOfficial\\\":true}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"didNotPlayReason\\\":\\\"COACHES_DECISION\\\",\\\"starter\\\":true,\\\"participated\\\":true,\\\"isPlayer\\\":true,\\\"isTeamOfficial\\\":true}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"statistics\": {},\n  \"bib\": \"34\",\n  \"position\": \"GOALKEEPER\",\n  \"didNotPlayReason\": \"COACHES_DECISION\",\n  \"starter\": true,\n  \"participated\": true,\n  \"isPlayer\": true,\n  \"isTeamOfficial\": true\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  statistics: {},\n  bib: '34',\n  position: 'GOALKEEPER',\n  didNotPlayReason: 'COACHES_DECISION',\n  starter: true,\n  participated: true,\n  isPlayer: true,\n  isTeamOfficial: true\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"statistics\": @{  },\n                              @\"bib\": @\"34\",\n                              @\"position\": @\"GOALKEEPER\",\n                              @\"didNotPlayReason\": @\"COACHES_DECISION\",\n                              @\"starter\": @YES,\n                              @\"participated\": @YES,\n                              @\"isPlayer\": @YES,\n                              @\"isTeamOfficial\": @YES };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"didNotPlayReason\\\":\\\"COACHES_DECISION\\\",\\\"starter\\\":true,\\\"participated\\\":true,\\\"isPlayer\\\":true,\\\"isTeamOfficial\\\":true}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"didNotPlayReason\\\":\\\"COACHES_DECISION\\\",\\\"starter\\\":true,\\\"participated\\\":true,\\\"isPlayer\\\":true,\\\"isTeamOfficial\\\":true}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"didNotPlayReason\\\":\\\"COACHES_DECISION\\\",\\\"starter\\\":true,\\\"participated\\\":true,\\\"isPlayer\\\":true,\\\"isTeamOfficial\\\":true}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"statistics\": {},\n    \"bib\": \"34\",\n    \"position\": \"GOALKEEPER\",\n    \"didNotPlayReason\": \"COACHES_DECISION\",\n    \"starter\": True,\n    \"participated\": True,\n    \"isPlayer\": True,\n    \"isTeamOfficial\": True\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"bib\\\":\\\"34\\\",\\\"position\\\":\\\"GOALKEEPER\\\",\\\"didNotPlayReason\\\":\\\"COACHES_DECISION\\\",\\\"starter\\\":true,\\\"participated\\\":true,\\\"isPlayer\\\":true,\\\"isTeamOfficial\\\":true}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"statistics\":{},\"bib\":\"34\",\"position\":\"GOALKEEPER\",\"didNotPlayReason\":\"COACHES_DECISION\",\"starter\":true,\"participated\":true,\"isPlayer\":true,\"isTeamOfficial\":true}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"statistics\": [],\n  \"bib\": \"34\",\n  \"position\": \"GOALKEEPER\",\n  \"didNotPlayReason\": \"COACHES_DECISION\",\n  \"starter\": true,\n  \"participated\": true,\n  \"isPlayer\": true,\n  \"isTeamOfficial\": true\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods":{"get":{"tags":["Person Match Statistics"],"summary":"Person period statistics","description":"Return a list of person period statistics for a match","operationId":"fpsp_listperiod","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Person_Statistics_Periods 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/Fixture_Person_Statistics_PeriodsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/multipleEntityIds"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/multiplePersonIds"},{"$ref":"#/components/parameters/section"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"section\":\"SOME_STRING_VALUE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Person Match Statistics"],"summary":"Delete person period statistics","description":"Delete a period statistic record for a person in a match.","operationId":"fpsp_delete_all","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Person_Statistics_Periods 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/Fixture_Person_Statistics_PeriodsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/section"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"periodId\":\"SOME_INTEGER_VALUE\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"section\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&section=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods":{"get":{"tags":["Person Match Statistics"],"summary":"Person period statistics for matches in a season","description":"Return a list of person period statistics for matches in a season.","operationId":"fpsp_list_by_season","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Person_Statistics_Periods 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/Fixture_Person_Statistics_PeriodsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/multipleEntityIds"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/statlimit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/participated"},{"$ref":"#/components/parameters/multiplePersonIds"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"participated\":\"true\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/person/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&participated=true&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live":{"get":{"tags":["Person Match Statistics"],"summary":"Person period statistics - live","description":"Return a list of person period statistics for a match","operationId":"fpsp_listperiodlive","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Person_Statistics_Periods 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/Fixture_Person_Statistics_PeriodsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["read:organization_live"]}],"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/multipleEntityIds"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/multiplePersonIds"},{"$ref":"#/components/parameters/section"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"section\":\"SOME_STRING_VALUE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods":{"post":{"tags":["Person Match Statistics"],"summary":"Create/Update person period statistics","description":"Depending on the data, add or update a period statistic record for a person in a match.","operationId":"fpsp_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Person_Statistics_Periods 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/Fixture_Person_Statistics_PeriodsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"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","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"statistics":{"type":"object","additionalProperties":false,"properties":{}},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100}},"title":"match person statistics periods post body","required":["personId","fixtureId","periodId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"statistics\": {},\n  \"periodId\": 0,\n  \"section\": \"string\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  statistics: {},\n  periodId: 0,\n  section: 'string'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"statistics\": @{  },\n                              @\"periodId\": @0,\n                              @\"section\": @\"string\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"statistics\": {},\n    \"periodId\": 0,\n    \"section\": \"string\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"statistics\":{},\"periodId\":0,\"section\":\"string\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"statistics\": [],\n  \"periodId\": 0,\n  \"section\": \"string\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}":{"get":{"tags":["Team Match Statistics"],"summary":"Team total statistics","description":"Return a list of team statistics for a match. Statistics are the totals (all periods added together) for the match.","operationId":"fes_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entity_Statistics 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/Fixture_Entity_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/multipleEntityIds"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Team Match Statistics"],"summary":"Delete team total statistics","description":"Delete the total match statistics for for a given team in the ~fixture.","operationId":"fes_delete_all","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entity_Statistics 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/Fixture_Entity_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures":{"get":{"tags":["Team Match Statistics"],"summary":"Team total statistics for matches in a season","description":"Return a list of team statistics for matches in a season. Statistics are the totals (all periods added together) for the match.","operationId":"fes_list_by_season","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entity_Statistics 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/Fixture_Entity_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/multipleEntityIds"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/statlimit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live":{"get":{"tags":["Team Match Statistics"],"summary":"Team total statistics - live","description":"\n    Return a list of live team statistics for a match. Statistics are the totals (all periods\n    added together) for the match. This call will return records of matches still in-progress if available.\n    If the match is complete this call operates the same as the non 'live' route.\n\n    Rate limited to 2 requests every minute - returns HTTP 429 Too Many Requests if called more often.\n    ","operationId":"fes_listlive","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entity_Statistics 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/Fixture_Entity_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["read:organization_live"]}],"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/multipleEntityIds"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods":{"get":{"tags":["Team Match Statistics"],"summary":"Team period statistics","description":"Return a list of team statistics for a match broken down by period","operationId":"fes_listperiod","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entity_Statistics_Periods 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/Fixture_Entity_Statistics_PeriodsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/multipleEntityIds"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/section"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"section\":\"SOME_STRING_VALUE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Team Match Statistics"],"summary":"Delete team period statistics","description":"Delete statistics for a match for a given team by period.","operationId":"fesp_delete_all","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entity_Statistics_Periods 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/Fixture_Entity_Statistics_PeriodsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/section"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"periodId\":\"SOME_INTEGER_VALUE\",\"section\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods":{"get":{"tags":["Team Match Statistics"],"summary":"Team period statistics for matches in a season","description":"Return a list of team period statistics for matches in a season.","operationId":"fes_listperiod_by_season","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entity_Statistics_Periods 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/Fixture_Entity_Statistics_PeriodsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/multipleEntityIds"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/statlimit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/statistics/for/entity/in/fixtures/periods?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live":{"get":{"tags":["Team Match Statistics"],"summary":"Team period statistics - live","description":"\n    Return a list of team statistics for a match broken down by period. This call will return\n    records of matches still in-progress if available.  If the match is complete this call operates the same\n    as the non 'live' route.\n\n    Rate limited to 2 requests every minute - returns HTTP 429 Too Many Requests if called more often.\n    ","operationId":"fes_listperiodlive","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entity_Statistics_Periods 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/Fixture_Entity_Statistics_PeriodsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["read:organization_live"]}],"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/multipleEntityIds"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/section"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"section\":\"SOME_STRING_VALUE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/{fixtureId}/periods/live?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures":{"post":{"tags":["Team Match Statistics"],"summary":"Create/Update team total statistics","description":"Depending on the data, Add or update a statistic record for ~ENTITYPREIX~ team in the match.","operationId":"fes_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entity_Statistics 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/Fixture_Entity_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"statistics":{"type":"object","additionalProperties":false,"properties":{}}},"title":"match team statistics post body","required":["entityId","fixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{}}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{}}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{}}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{}}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"statistics\": {}\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  statistics: {}\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"statistics\": @{  } };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{}}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{}}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{}}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"statistics\": {}\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{}}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"statistics\":{}}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"statistics\": []\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods":{"post":{"tags":["Team Match Statistics"],"summary":"Create/Update team period statistics","description":"Depending on the data, Add or update a statistic record for ~ENTITYPREIX~ team in a period of the match.","operationId":"fesp_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Entity_Statistics_Periods 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/Fixture_Entity_Statistics_PeriodsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"statistics":{"type":"object","additionalProperties":false,"properties":{}},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100}},"title":"match team period statistics post body","required":["entityId","fixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"statistics\": {},\n  \"periodId\": 0,\n  \"section\": \"string\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  statistics: {},\n  periodId: 0,\n  section: 'string'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"statistics\": @{  },\n                              @\"periodId\": @0,\n                              @\"section\": @\"string\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"statistics\": {},\n    \"periodId\": 0,\n    \"section\": \"string\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"statistics\\\":{},\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"statistics\":{},\"periodId\":0,\"section\":\"string\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"statistics\": [],\n  \"periodId\": 0,\n  \"section\": \"string\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/fixtures/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/persons":{"get":{"tags":["Season Persons"],"summary":"Get a list of persons in the season","description":"Return a list of persons for a season","operationId":"season_persons_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Persons_List 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/Season_Persons_ListModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Season Persons"],"summary":"Add or Update a person in a season","description":"Depending on primary keys, Add a team or update an existing entitiy in a season","operationId":"season_persons_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Persons 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/Season_PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroupId":{"description":"The club that this team belongs to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"seed":{"description":"Initial seeding","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"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,"example":"A123"}},"title":"season persons post body","required":["seasonId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"status\": \"ACTIVE\",\n  \"seed\": 1,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityGroupId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  status: 'ACTIVE',\n  seed: 1,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityGroupId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"seed\": @1,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"status\": \"ACTIVE\",\n    \"seed\": 1,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityGroupId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"status\":\"ACTIVE\",\"seed\":1,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"status\": \"ACTIVE\",\n  \"seed\": 1,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/persons/{personId}":{"get":{"tags":["Season Persons"],"summary":"Get a list of seasons for person","description":"Return a list of seasons that person participated in","operationId":"season_person_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Persons_List 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/Season_Persons_ListModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifiers of the seasons (comma-delimited).","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005"},"required":false,"in":"query"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/persons/{personId}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}":{"get":{"tags":["Season Persons"],"summary":"Get a person in a season","description":"Return the detail of a specific person in a season","operationId":"season_persons_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Persons 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/Season_PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Season Persons"],"summary":"Delete a person from a season","description":"Delete a specific person from a season","operationId":"season_persons_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Persons 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/Season_PersonsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}":{"get":{"tags":["Season Team Base Statistics"],"summary":"Team season base statistics","description":"Return a list of team base statistics for a season","operationId":"sebs_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entity_Base_Statistics 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/Season_Entity_Base_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitorType"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/representing"},{"$ref":"#/components/parameters/representingCountry"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"competitorType\":\"PERSON\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"representing\":\"AUSTRALIA\",\"representingCountry\":\"SOME_STRING_VALUE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Season Team Base Statistics"],"summary":"Delete season team base statistics","description":"Delete a base statistic record for a team in a season.","operationId":"sebs_delete_all","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entity_Base_Statistics 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/Season_Entity_Base_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/competitorType"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}\"\n\nquerystring = {\"competitorType\":\"PERSON\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons":{"post":{"tags":["Season Team Base Statistics"],"summary":"Create/Update season team base statistics","description":"Depending on the data, add or update a base statistic record for a team in a season.","operationId":"sebs_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entity_Base_Statistics 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/Season_Entity_Base_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50,"example":"ENTITY"},"representing":{"description":"Who was being represented for the season base statistics","type":"string","maxLength":100,"example":"AUSTRALIA"},"statistics":{"type":"object","additionalProperties":false,"properties":{}}},"title":"season team base statistics post body","required":["seasonId","entityId","fixtureType","competitorType"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureType\": \"REGULAR\",\n  \"competitorType\": \"ENTITY\",\n  \"representing\": \"AUSTRALIA\",\n  \"statistics\": {}\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  fixtureType: 'REGULAR',\n  competitorType: 'ENTITY',\n  representing: 'AUSTRALIA',\n  statistics: {}\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"fixtureType\": @\"REGULAR\",\n                              @\"competitorType\": @\"ENTITY\",\n                              @\"representing\": @\"AUSTRALIA\",\n                              @\"statistics\": @{  } };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"fixtureType\": \"REGULAR\",\n    \"competitorType\": \"ENTITY\",\n    \"representing\": \"AUSTRALIA\",\n    \"statistics\": {}\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureType\":\"REGULAR\",\"competitorType\":\"ENTITY\",\"representing\":\"AUSTRALIA\",\"statistics\":{}}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureType\": \"REGULAR\",\n  \"competitorType\": \"ENTITY\",\n  \"representing\": \"AUSTRALIA\",\n  \"statistics\": []\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/entity/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}":{"get":{"tags":["Season Person Base Statistics"],"summary":"Person season base statistics","description":"Return a list of person base statistics for a season","operationId":"spbs_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Person_Base_Statistics 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/Season_Person_Base_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitorType"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/representing"},{"$ref":"#/components/parameters/representingCountry"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"competitorType\":\"PERSON\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"representing\":\"AUSTRALIA\",\"representingCountry\":\"SOME_STRING_VALUE\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?added=2018-08-16T02:10:48&competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Season Person Base Statistics"],"summary":"Delete season person base statistics","description":"Delete a base statistic record for a person in a season.","operationId":"spbs_delete_all","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Person_Base_Statistics 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/Season_Person_Base_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/competitorType"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}\"\n\nquerystring = {\"competitorType\":\"PERSON\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons/{seasonId}?competitorType=PERSON&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons":{"post":{"tags":["Season Person Base Statistics"],"summary":"Create/Update season person base statistics","description":"Depending on the data, add or update a base statistic record for a person in a season.","operationId":"spbs_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Person_Base_Statistics 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/Season_Person_Base_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"competitorType":{"description":"The type of competitors in this match\n>- `ENTITY` Entity\n>- `PERSON` Person\n","type":"string","enum":["PERSON","ENTITY"],"maxLength":50,"example":"ENTITY"},"representing":{"description":"Who was being represented for the season base statistics","type":"string","maxLength":100,"example":"AUSTRALIA"},"statistics":{"type":"object","additionalProperties":false,"properties":{}}},"title":"season person base statistics post body","required":["seasonId","personId","fixtureType","competitorType"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureType\": \"REGULAR\",\n  \"competitorType\": \"ENTITY\",\n  \"representing\": \"AUSTRALIA\",\n  \"statistics\": {}\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  fixtureType: 'REGULAR',\n  competitorType: 'ENTITY',\n  representing: 'AUSTRALIA',\n  statistics: {}\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"fixtureType\": @\"REGULAR\",\n                              @\"competitorType\": @\"ENTITY\",\n                              @\"representing\": @\"AUSTRALIA\",\n                              @\"statistics\": @{  } };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"fixtureType\": \"REGULAR\",\n    \"competitorType\": \"ENTITY\",\n    \"representing\": \"AUSTRALIA\",\n    \"statistics\": {}\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"competitorType\\\":\\\"ENTITY\\\",\\\"representing\\\":\\\"AUSTRALIA\\\",\\\"statistics\\\":{}}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureType\":\"REGULAR\",\"competitorType\":\"ENTITY\",\"representing\":\"AUSTRALIA\",\"statistics\":{}}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureType\": \"REGULAR\",\n  \"competitorType\": \"ENTITY\",\n  \"representing\": \"AUSTRALIA\",\n  \"statistics\": []\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/base/for/person/in/seasons?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}":{"get":{"tags":["Season Statistics"],"summary":"Season person statistics","description":"Return a list of person statistic totals for a season","operationId":"sps_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Person_Statistics 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/Season_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":\"1\",\"stageCode\":\"ST1\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons":{"get":{"tags":["Season Statistics"],"summary":"Person season statistics","description":"Return a list of person statistics for all seasons","operationId":"pss_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Person_Statistics 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/Season_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/ageGroup"},{"$ref":"#/components/parameters/competitionId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/representation"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/seasonType"},{"$ref":"#/components/parameters/standard"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons\"\n\nquerystring = {\"ageGroup\":\"SENIOR\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"representation\":\"CLUB\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonType\":\"SEASON\",\"standard\":\"ELITE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods":{"get":{"tags":["Season Statistics"],"summary":"Person season statistics by period","description":"Return a list of person statistics for a season broken down and filterable by period.","operationId":"spsp_listperiods","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Person_Statistics_Periods 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/Season_Person_Statistics_PeriodsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/fromTimeLocal"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/section"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/fixtureStatus"},{"$ref":"#/components/parameters/fixtureStatusNot"},{"$ref":"#/components/parameters/toTimeLocal"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"fromTimeLocal\":\"2018-08-16T18:00:00\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":\"1\",\"section\":\"SOME_STRING_VALUE\",\"stageCode\":\"ST1\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"status\":\"SCHEDULED\",\"statusNot\":\"SCHEDULED\",\"toTimeLocal\":\"2018-08-16T18:00:00\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined":{"get":{"tags":["Season Statistics"],"summary":"Person season statistics - combined teams","description":"\n    Return a list of person statistic totals for a person over multiple seasons.\n    If a person plays for multiple teams in a season then their statistics are normally separated\n    out by team. For this call the statistics are combined - and hence team data is not available.\n    ","operationId":"spts_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Person_Total_Statistics 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/Season_Person_Total_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/fromTimeLocal"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/fixtureStatus"},{"$ref":"#/components/parameters/fixtureStatusNot"},{"$ref":"#/components/parameters/toTimeLocal"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"fromTimeLocal\":\"2018-08-16T18:00:00\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":\"1\",\"stageCode\":\"ST1\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"status\":\"SCHEDULED\",\"statusNot\":\"SCHEDULED\",\"toTimeLocal\":\"2018-08-16T18:00:00\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/seasons/{seasonId}/combined?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&starter=SOME_BOOLEAN_VALUE&status=SCHEDULED&statusNot=SCHEDULED&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined":{"get":{"tags":["Season Statistics"],"summary":"Person season statistics - combined teams","description":"\n    Return a list of person statistic totals for a season.\n    If a person plays for multiple teams in a season then their statistics are normally\n    separated out by team.\n    For this call the statistics are combined - and hence team data is not available.\n    ","operationId":"psts_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Person_Total_Statistics 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/Season_Person_Total_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/ageGroup"},{"$ref":"#/components/parameters/competitionId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/representation"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/seasonType"},{"$ref":"#/components/parameters/standard"},{"$ref":"#/components/parameters/fixtureStatus"},{"$ref":"#/components/parameters/fixtureStatusNot"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined\"\n\nquerystring = {\"ageGroup\":\"SENIOR\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"representation\":\"CLUB\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonType\":\"SEASON\",\"standard\":\"ELITE\",\"status\":\"SCHEDULED\",\"statusNot\":\"SCHEDULED\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/seasons/combined?ageGroup=SENIOR&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&representation=CLUB&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonType=SEASON&standard=ELITE&status=SCHEDULED&statusNot=SCHEDULED\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}":{"get":{"tags":["Season Statistics"],"summary":"Team statistics","description":"Return a list of team statistic totals for a season","operationId":"ses_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entity_Statistics 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/Season_Entity_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":\"1\",\"stageCode\":\"ST1\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods":{"get":{"tags":["Season Statistics"],"summary":"Team statistics by period","description":"Return a list of team statistics for a season filterable by period.","operationId":"ses_listperiods","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entity_Statistics 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/Season_Entity_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/section"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":\"1\",\"section\":\"SOME_STRING_VALUE\",\"stageCode\":\"ST1\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/seasons/{seasonId}/periods?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&poolCode=P1&roundCode=RN1&roundNumber=1&section=SOME_STRING_VALUE&stageCode=ST1&toTimeUTC=2018-08-16T18:00:00&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}":{"get":{"tags":["Competition Statistics"],"summary":"Person statistics for a competition","description":"Return a list of person statistic totals for a competition","operationId":"cps_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Person_Statistics 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/Competition_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}":{"get":{"tags":["Competition Statistics"],"summary":"Team statistics for a competition","description":"Return a list of team statistic totals for a competition","operationId":"ces_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Entity_Statistics 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/Competition_Entity_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods":{"get":{"tags":["Competition Statistics"],"summary":"Team statistics for a competition by period","description":"Return a list of team statistics for a competition filterable by period. This still displays aggregated/summed data, and should return the same values as the non by-period call, this one can be further filtered by period.","operationId":"ces_listperiods","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Entity_Statistics 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/Competition_Entity_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/section"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"section\":\"SOME_STRING_VALUE\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}":{"get":{"tags":["Competition Statistics"],"summary":"Statistics for a team in a competition","description":"Return the statistic totals for a specific team in a competition.","operationId":"ces_listentity","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Entity_Statistics 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/Competition_Entity_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/section"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"section\":\"SOME_STRING_VALUE\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods":{"get":{"tags":["Competition Statistics"],"summary":"Statistics for a team in a competition","description":"Return the statistics for a specific team in a competition.","operationId":"ces_listentity_periods","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Competition_Entity_Statistics 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/Competition_Entity_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/section"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"section\":\"SOME_STRING_VALUE\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/in/competitions/{competitionId}/entities/{entityId}/periods?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&section=SOME_STRING_VALUE&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}":{"post":{"tags":["Merge Records"],"summary":"Merge two person records","description":"Merge the records of two persons","operationId":"person_merge","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fromPersonId","description":"The unique identifier of the 'from' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"toPersonId","description":"The unique identifier of the 'to' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{},"title":"merge post body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{  };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/persons/merge/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}":{"post":{"tags":["Merge Records"],"summary":"For a given match, swap two person records","description":"For a given match, swap the records of two persons","operationId":"person_swap","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"fromPersonId","description":"The unique identifier of the 'from' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"toPersonId","description":"The unique identifier of the 'to' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{},"title":"merge post body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{  };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/persons/swap/from/{fromPersonId}/to/{toPersonId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}":{"post":{"tags":["Merge Records"],"summary":"For a given season, swap two team records","description":"For a given season, swap the records of two teams","operationId":"entity_swap","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fromEntityId","description":"The unique identifier of the 'from' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"toEntityId","description":"The unique identifier of the 'to' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{},"title":"merge post body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{  };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/swap/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}":{"post":{"tags":["Merge Records"],"summary":"Merge two team records","description":"Merge the records of two teams","operationId":"entity_merge","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fromEntityId","description":"The unique identifier of the 'from' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"toEntityId","description":"The unique identifier of the 'to' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{},"title":"merge post body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{  };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/merge/from/{fromEntityId}/to/{toEntityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}":{"post":{"tags":["Merge Records"],"summary":"Move a season to a different competition","description":"Move a season under a different competition","operationId":"season_move","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:admin"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fromCompetitionId","description":"The unique identifier of the 'from' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"toCompetitionId","description":"The unique identifier of the 'to' record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{},"title":"merge post body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{  };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/move/from/competitions/{fromCompetitionId}/to/competitions/{toCompetitionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools":{"get":{"tags":["Standings"],"summary":"Get a list of stages and pools used by standings in the season","description":"Return a list of stages and pools used by standings for a season","operationId":"season_standings_stages_pools_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Standings_Stages_Pools_List 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/Season_Standings_Stages_Pools_ListModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/stageCode"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"stageCode\":\"ST1\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/stages/pools?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&stageCode=ST1\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/standings":{"get":{"tags":["Standings"],"summary":"Get a list of standings","description":"Return a list of available standings for a season","operationId":"standing_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings 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/StandingsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/conferenceId"},{"$ref":"#/components/parameters/divisionId"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/groupingBase"},{"$ref":"#/components/parameters/groupingConferenceDivision"},{"$ref":"#/components/parameters/groupingStagePool"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/inProgress"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/latest"},{"$ref":"#/components/parameters/limit"},{"name":"live","description":"Live competitor standings?","schema":{"type":"boolean","example":true},"required":false,"in":"query"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"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":"^(\\-?conferenceId|\\-?divisionId|\\-?|position|,)*$","example":"conferenceId,divisionId,-position"},"required":false,"in":"query"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/standingConfigurationId"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"divisionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"groupingBase\":\"OVERALL\",\"groupingConferenceDivision\":\"OVERALL\",\"groupingStagePool\":\"OVERALL\",\"hideNull\":\"true\",\"inProgress\":\"true\",\"include\":\"organizations,fixtures,entities\",\"latest\":\"true\",\"limit\":\"10\",\"live\":\"true\",\"offset\":\"10\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":\"1\",\"sortBy\":\"conferenceId,divisionId,-position\",\"stageCode\":\"ST1\",\"standingConfigurationId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&live=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Standings"],"summary":"Create a standing","description":"Insert a new standing","operationId":"standing_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings 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/StandingsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"standingId":{"description":"The unique identifier of the standing","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"latest":{"description":"Standing is part of the latest round?","type":"boolean","example":true},"inProgress":{"description":"Is the competitor in a current In-Progress match?","type":"boolean","example":true},"live":{"description":"Is this including live matches?","type":"boolean","example":true},"locked":{"description":"Has the standing been locked (to prevent editing)?","type":"boolean","example":true},"groupingBase":{"description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","type":"string","enum":["OVERALL","ROUND"],"maxLength":50,"example":"OVERALL"},"groupingConferenceDivision":{"description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50,"example":"OVERALL"},"groupingStagePool":{"description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"maxLength":50,"example":"OVERALL"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"RN1"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"position":{"description":"Position of the competitors standing record","type":"integer","format":"int32","nullable":true,"example":48},"securedFinals":{"description":"Has competitor secured a finals position","type":"string"},"points":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","example":"default","description":"Type of points","additionalProperties":false,"properties":{"bonusStandingPoints":{"description":"Bonus Standing points","type":"number"},"penaltyStandingPoints":{"description":"Penalty Standing points","type":"number"},"byeStandingPoints":{"description":"Bye Standing points","type":"number"},"teamDifferential":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialHome":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialAway":{"description":"Differential of Won-Lost","type":"number"},"gamesBehind":{"description":"Games behind leading competitor","type":"number"},"standingPoints":{"description":"Standing Points for competitor","type":"number"},"standingPointsHome":{"description":"Standing Points for competitor at Home","type":"number"},"standingPointsAway":{"description":"Standing Points for competitor away","type":"number"},"standingPointsGiven":{"description":"Standing Points Given away for this competitor","type":"number"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"calculated":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","example":"default","description":"Type of points","additionalProperties":false,"properties":{"played":{"description":"Fixtures played","type":"number"},"playedHome":{"description":"Fixtures played at home","type":"number"},"playedAway":{"description":"Fixtures played away","type":"number"},"washouts":{"description":"Number of washed out fixtures","type":"number"},"wins":{"description":"Fixtures Won","type":"number"},"winsHome":{"description":"Fixtures Won at home","type":"number"},"winsAway":{"description":"Fixtures Won away","type":"number"},"winsSecondaryScore":{"description":"Fixtures Won via Secondary Score","type":"number"},"winsSecondaryScoreHome":{"description":"Fixtures Won at home via Secondary Score","type":"number"},"winsSecondaryScoreAway":{"description":"Fixtures Won away via Secondary Score","type":"number"},"losses":{"description":"Fixtures Lost","type":"number"},"lossesHome":{"description":"Fixtures Lost at home","type":"number"},"lossesAway":{"description":"Fixtures Lost away","type":"number"},"lossesSecondaryScore":{"description":"Fixtures Lost via Secondary Score","type":"number"},"lossesSecondaryScoreHome":{"description":"Fixtures Lost at home via Secondary Score","type":"number"},"lossesSecondaryScoreAway":{"description":"Fixtures Lost away via Secondary Score","type":"number"},"draws":{"description":"Fixtures Drawn","type":"number"},"drawsHome":{"description":"Fixtures Drawn at home","type":"number"},"drawsAway":{"description":"Fixtures Drawn away","type":"number"},"byes":{"description":"Fixtures Byes","type":"number"},"forfeitsGiven":{"description":"Fixtures Forfeits Given","type":"number"},"forfeitsWonBy":{"description":"Fixtures Forfeits Won","type":"number"},"winPercentageDisplay":{"description":"Win Percentage (wins/played) (Display Value)","type":"number"},"winPercentageHomeDisplay":{"description":"Win Percentage Home (wins/played) (Display Value)","type":"number"},"winPercentageAwayDisplay":{"description":"Win Percentage Away (wins/played) (Display Value)","type":"number"},"winPercentage":{"description":"Win Percentage (wins/played)","type":"number"},"winPercentageHome":{"description":"Win Percentage Home (wins/played)","type":"number"},"winPercentageAway":{"description":"Win Percentage Away (wins/played)","type":"number"},"scoredFor":{"description":"Scored For","type":"number"},"scoredForHome":{"description":"Scored For at home","type":"number"},"scoredForAway":{"description":"Scored For away","type":"number"},"scoredForAverage":{"description":"Scored For Average","type":"number"},"scoredForHomeAverage":{"description":"Scored For Average at home","type":"number"},"scoredForAwayAverage":{"description":"Scored For Average away","type":"number"},"scoredAgainst":{"description":"Scored Against","type":"number"},"scoredAgainstHome":{"description":"Scored Against at home","type":"number"},"scoredAgainstAway":{"description":"Scored Against away","type":"number"},"scoredAgainstAverage":{"description":"Scored Against Average","type":"number"},"scoredAgainstHomeAverage":{"description":"Scored Against Average at home","type":"number"},"scoredAgainstAwayAverage":{"description":"Scored Against Average away","type":"number"},"percentageDisplay":{"description":"For versus Against (Display Value)","type":"number"},"percentageHomeDisplay":{"description":"For versus Against at home (Display Value)","type":"number"},"percentageAwayDisplay":{"description":"For versus Against away (Display Value)","type":"number"},"percentage":{"description":"For versus Against","type":"number"},"percentageHome":{"description":"For versus Against at home","type":"number"},"percentageAway":{"description":"For versus Against away","type":"number"},"pointDifference":{"description":"Point Difference for competitor","type":"number"},"pointDifferenceHome":{"description":"Point Difference for competitor at Home","type":"number"},"pointDifferenceAway":{"description":"Point Difference for competitor away","type":"number"},"lowestScoreFor":{"description":"Lowest Score for competitor","type":"number","nullable":true},"lowestScoreForHome":{"description":"Lowest Score for competitor at Home","type":"number","nullable":true},"lowestScoreForAway":{"description":"Lowest Score for competitor away","type":"number","nullable":true},"highestScoreFor":{"description":"Highest Score for competitor","type":"number","nullable":true},"highestScoreForHome":{"description":"Highest Score for competitor at Home","type":"number","nullable":true},"highestScoreForAway":{"description":"Highest Score for competitor away","type":"number","nullable":true},"lowestScoreAgainst":{"description":"Lowest Score against competitor","type":"number","nullable":true},"lowestScoreAgainstHome":{"description":"Lowest Score against competitor at Home","type":"number","nullable":true},"lowestScoreAgainstAway":{"description":"Lowest Score against competitor away","type":"number","nullable":true},"highestScoreAgainst":{"description":"Highest Score against competitor","type":"number","nullable":true},"highestScoreAgainstHome":{"description":"Highest Score against competitor at Home","type":"number","nullable":true},"highestScoreAgainstAway":{"description":"Highest Score against competitor away","type":"number","nullable":true},"streak":{"description":"Winning streak for competitor","type":"number"},"streakHome":{"description":"Winning streak for competitor at Home","type":"number"},"streakAway":{"description":"Winning streak for competitor away","type":"number"},"resultString":{"description":"Result string for competitor (W,L,D per match)","type":"string"},"resultStringHome":{"description":"Result string for competitor at Home (W,L,D per match)","type":"string"},"resultStringAway":{"description":"Result string for competitor away (W,L,D per match)","type":"string"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"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,"example":"A123"}},"title":"standing post body","required":["seasonId","entityId","live","groupingBase","groupingConferenceDivision","groupingStagePool","position"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"standingId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"standingId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"standingId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"standingId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"standingId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"latest\": true,\n  \"inProgress\": true,\n  \"live\": true,\n  \"locked\": true,\n  \"groupingBase\": \"OVERALL\",\n  \"groupingConferenceDivision\": \"OVERALL\",\n  \"groupingStagePool\": \"OVERALL\",\n  \"stageCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"roundCode\": \"RN1\",\n  \"roundNumber\": 1,\n  \"standingConfigurationId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureType\": \"REGULAR\",\n  \"position\": 48,\n  \"securedFinals\": \"string\",\n  \"points\": {\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  },\n  \"calculated\": {\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  },\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  standingId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  divisionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  conferenceId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  latest: true,\n  inProgress: true,\n  live: true,\n  locked: true,\n  groupingBase: 'OVERALL',\n  groupingConferenceDivision: 'OVERALL',\n  groupingStagePool: 'OVERALL',\n  stageCode: 'ST1',\n  poolCode: 'P1',\n  roundCode: 'RN1',\n  roundNumber: 1,\n  standingConfigurationId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  fixtureType: 'REGULAR',\n  position: 48,\n  securedFinals: 'string',\n  points: {property1: 'default', property2: 'default'},\n  calculated: {property1: 'default', property2: 'default'},\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"standingId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"divisionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"conferenceId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"latest\": @YES,\n                              @\"inProgress\": @YES,\n                              @\"live\": @YES,\n                              @\"locked\": @YES,\n                              @\"groupingBase\": @\"OVERALL\",\n                              @\"groupingConferenceDivision\": @\"OVERALL\",\n                              @\"groupingStagePool\": @\"OVERALL\",\n                              @\"stageCode\": @\"ST1\",\n                              @\"poolCode\": @\"P1\",\n                              @\"roundCode\": @\"RN1\",\n                              @\"roundNumber\": @1,\n                              @\"standingConfigurationId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"fixtureType\": @\"REGULAR\",\n                              @\"position\": @48,\n                              @\"securedFinals\": @\"string\",\n                              @\"points\": @{ @\"property1\": @\"default\", @\"property2\": @\"default\" },\n                              @\"calculated\": @{ @\"property1\": @\"default\", @\"property2\": @\"default\" },\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"standingId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"standingId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"standingId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"standingId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"latest\": True,\n    \"inProgress\": True,\n    \"live\": True,\n    \"locked\": True,\n    \"groupingBase\": \"OVERALL\",\n    \"groupingConferenceDivision\": \"OVERALL\",\n    \"groupingStagePool\": \"OVERALL\",\n    \"stageCode\": \"ST1\",\n    \"poolCode\": \"P1\",\n    \"roundCode\": \"RN1\",\n    \"roundNumber\": 1,\n    \"standingConfigurationId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"fixtureType\": \"REGULAR\",\n    \"position\": 48,\n    \"securedFinals\": \"string\",\n    \"points\": {\n        \"property1\": \"default\",\n        \"property2\": \"default\"\n    },\n    \"calculated\": {\n        \"property1\": \"default\",\n        \"property2\": \"default\"\n    },\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"standingId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"standingId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"divisionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"latest\":true,\"inProgress\":true,\"live\":true,\"locked\":true,\"groupingBase\":\"OVERALL\",\"groupingConferenceDivision\":\"OVERALL\",\"groupingStagePool\":\"OVERALL\",\"stageCode\":\"ST1\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":1,\"standingConfigurationId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureType\":\"REGULAR\",\"position\":48,\"securedFinals\":\"string\",\"points\":{\"property1\":\"default\",\"property2\":\"default\"},\"calculated\":{\"property1\":\"default\",\"property2\":\"default\"},\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"standingId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"latest\": true,\n  \"inProgress\": true,\n  \"live\": true,\n  \"locked\": true,\n  \"groupingBase\": \"OVERALL\",\n  \"groupingConferenceDivision\": \"OVERALL\",\n  \"groupingStagePool\": \"OVERALL\",\n  \"stageCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"roundCode\": \"RN1\",\n  \"roundNumber\": 1,\n  \"standingConfigurationId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureType\": \"REGULAR\",\n  \"position\": 48,\n  \"securedFinals\": \"string\",\n  \"points\": [\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  ],\n  \"calculated\": [\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  ],\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Standings"],"summary":"Delete all the standings for a season","description":"Delete all a specific seasons standing records","operationId":"standing_all_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live":{"get":{"tags":["Standings"],"summary":"Get a list of live standings","description":"Return a list of live standings for a season","operationId":"standing_live_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings 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/StandingsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/conferenceId"},{"$ref":"#/components/parameters/divisionId"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/groupingBase"},{"$ref":"#/components/parameters/groupingConferenceDivision"},{"$ref":"#/components/parameters/groupingStagePool"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/inProgress"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/latest"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"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":"^(\\-?conferenceId|\\-?divisionId|\\-?|position|,)*$","example":"conferenceId,divisionId,-position"},"required":false,"in":"query"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/standingConfigurationId"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"divisionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"groupingBase\":\"OVERALL\",\"groupingConferenceDivision\":\"OVERALL\",\"groupingStagePool\":\"OVERALL\",\"hideNull\":\"true\",\"inProgress\":\"true\",\"include\":\"organizations,fixtures,entities\",\"latest\":\"true\",\"limit\":\"10\",\"offset\":\"10\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":\"1\",\"sortBy\":\"conferenceId,divisionId,-position\",\"stageCode\":\"ST1\",\"standingConfigurationId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/live?added=2018-08-16T02:10:48&conferenceId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&divisionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&inProgress=true&include=organizations,fixtures,entities&latest=true&limit=10&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&sortBy=conferenceId,divisionId,-position&stageCode=ST1&standingConfigurationId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/standings/{standingId}":{"get":{"tags":["Standings"],"summary":"Get a standing","description":"Return detailed information about a specific standing","operationId":"standing_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings 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/StandingsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"standingId","description":"The unique identifier of the standing record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Standings"],"summary":"Update a standing","description":"Change the information of a specific standing","operationId":"standing_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings 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/StandingsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"standingId","description":"The unique identifier of the standing record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"latest":{"description":"Standing is part of the latest round?","type":"boolean","example":true},"inProgress":{"description":"Is the competitor in a current In-Progress match?","type":"boolean","example":true},"live":{"description":"Is this including live matches?","type":"boolean","example":true},"locked":{"description":"Has the standing been locked (to prevent editing)?","type":"boolean","example":true},"groupingBase":{"description":"Base grouping of standings row\n>- `OVERALL` Overall\n>- `ROUND` Round\n","type":"string","enum":["OVERALL","ROUND"],"maxLength":50,"example":"OVERALL"},"groupingConferenceDivision":{"description":"Conference/Division grouping of standings row\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `OVERALL` Overall\n","type":"string","enum":["OVERALL","CONFERENCE","DIVISION"],"maxLength":50,"example":"OVERALL"},"groupingStagePool":{"description":"Stage/Pool grouping of standings row\n>- `OVERALL` Overall\n>- `STAGE` Stage\n>- `STAGEPOOL` Stage/Pool\n","type":"string","enum":["OVERALL","STAGE","STAGEPOOL"],"maxLength":50,"example":"OVERALL"},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"roundCode":{"description":"A unique code for the round. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"RN1"},"roundNumber":{"description":"The number given to the round","type":"string","maxLength":30,"nullable":true,"example":1},"standingConfigurationId":{"description":"The unique identifier of the ~standingConfiguration~","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureType":{"description":"Type of match\n>- `ALL_STAR` All Star\n>- `DEMONSTRATION` Demonstration\n>- `FINAL` Final\n>- `FRIENDLY` Friendly\n>- `PLAYOFF` Playoff\n>- `PRESEASON` Pre Season\n>- `REGULAR` Regular\n","type":"string","enum":["ALL_STAR","PRESEASON","REGULAR","FINAL","PLAYOFF","FRIENDLY","DEMONSTRATION"],"maxLength":50,"example":"REGULAR"},"position":{"description":"Position of the competitors standing record","type":"integer","format":"int32","nullable":true,"example":48},"securedFinals":{"description":"Has competitor secured a finals position","type":"string"},"points":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","example":"default","description":"Type of points","additionalProperties":false,"properties":{"bonusStandingPoints":{"description":"Bonus Standing points","type":"number"},"penaltyStandingPoints":{"description":"Penalty Standing points","type":"number"},"byeStandingPoints":{"description":"Bye Standing points","type":"number"},"teamDifferential":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialHome":{"description":"Differential of Won-Lost","type":"number"},"teamDifferentialAway":{"description":"Differential of Won-Lost","type":"number"},"gamesBehind":{"description":"Games behind leading competitor","type":"number"},"standingPoints":{"description":"Standing Points for competitor","type":"number"},"standingPointsHome":{"description":"Standing Points for competitor at Home","type":"number"},"standingPointsAway":{"description":"Standing Points for competitor away","type":"number"},"standingPointsGiven":{"description":"Standing Points Given away for this competitor","type":"number"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"calculated":{"type":"object","description":"standings points fields","additionalProperties":{"type":"object","example":"default","description":"Type of points","additionalProperties":false,"properties":{"played":{"description":"Fixtures played","type":"number"},"playedHome":{"description":"Fixtures played at home","type":"number"},"playedAway":{"description":"Fixtures played away","type":"number"},"washouts":{"description":"Number of washed out fixtures","type":"number"},"wins":{"description":"Fixtures Won","type":"number"},"winsHome":{"description":"Fixtures Won at home","type":"number"},"winsAway":{"description":"Fixtures Won away","type":"number"},"winsSecondaryScore":{"description":"Fixtures Won via Secondary Score","type":"number"},"winsSecondaryScoreHome":{"description":"Fixtures Won at home via Secondary Score","type":"number"},"winsSecondaryScoreAway":{"description":"Fixtures Won away via Secondary Score","type":"number"},"losses":{"description":"Fixtures Lost","type":"number"},"lossesHome":{"description":"Fixtures Lost at home","type":"number"},"lossesAway":{"description":"Fixtures Lost away","type":"number"},"lossesSecondaryScore":{"description":"Fixtures Lost via Secondary Score","type":"number"},"lossesSecondaryScoreHome":{"description":"Fixtures Lost at home via Secondary Score","type":"number"},"lossesSecondaryScoreAway":{"description":"Fixtures Lost away via Secondary Score","type":"number"},"draws":{"description":"Fixtures Drawn","type":"number"},"drawsHome":{"description":"Fixtures Drawn at home","type":"number"},"drawsAway":{"description":"Fixtures Drawn away","type":"number"},"byes":{"description":"Fixtures Byes","type":"number"},"forfeitsGiven":{"description":"Fixtures Forfeits Given","type":"number"},"forfeitsWonBy":{"description":"Fixtures Forfeits Won","type":"number"},"winPercentageDisplay":{"description":"Win Percentage (wins/played) (Display Value)","type":"number"},"winPercentageHomeDisplay":{"description":"Win Percentage Home (wins/played) (Display Value)","type":"number"},"winPercentageAwayDisplay":{"description":"Win Percentage Away (wins/played) (Display Value)","type":"number"},"winPercentage":{"description":"Win Percentage (wins/played)","type":"number"},"winPercentageHome":{"description":"Win Percentage Home (wins/played)","type":"number"},"winPercentageAway":{"description":"Win Percentage Away (wins/played)","type":"number"},"scoredFor":{"description":"Scored For","type":"number"},"scoredForHome":{"description":"Scored For at home","type":"number"},"scoredForAway":{"description":"Scored For away","type":"number"},"scoredForAverage":{"description":"Scored For Average","type":"number"},"scoredForHomeAverage":{"description":"Scored For Average at home","type":"number"},"scoredForAwayAverage":{"description":"Scored For Average away","type":"number"},"scoredAgainst":{"description":"Scored Against","type":"number"},"scoredAgainstHome":{"description":"Scored Against at home","type":"number"},"scoredAgainstAway":{"description":"Scored Against away","type":"number"},"scoredAgainstAverage":{"description":"Scored Against Average","type":"number"},"scoredAgainstHomeAverage":{"description":"Scored Against Average at home","type":"number"},"scoredAgainstAwayAverage":{"description":"Scored Against Average away","type":"number"},"percentageDisplay":{"description":"For versus Against (Display Value)","type":"number"},"percentageHomeDisplay":{"description":"For versus Against at home (Display Value)","type":"number"},"percentageAwayDisplay":{"description":"For versus Against away (Display Value)","type":"number"},"percentage":{"description":"For versus Against","type":"number"},"percentageHome":{"description":"For versus Against at home","type":"number"},"percentageAway":{"description":"For versus Against away","type":"number"},"pointDifference":{"description":"Point Difference for competitor","type":"number"},"pointDifferenceHome":{"description":"Point Difference for competitor at Home","type":"number"},"pointDifferenceAway":{"description":"Point Difference for competitor away","type":"number"},"lowestScoreFor":{"description":"Lowest Score for competitor","type":"number","nullable":true},"lowestScoreForHome":{"description":"Lowest Score for competitor at Home","type":"number","nullable":true},"lowestScoreForAway":{"description":"Lowest Score for competitor away","type":"number","nullable":true},"highestScoreFor":{"description":"Highest Score for competitor","type":"number","nullable":true},"highestScoreForHome":{"description":"Highest Score for competitor at Home","type":"number","nullable":true},"highestScoreForAway":{"description":"Highest Score for competitor away","type":"number","nullable":true},"lowestScoreAgainst":{"description":"Lowest Score against competitor","type":"number","nullable":true},"lowestScoreAgainstHome":{"description":"Lowest Score against competitor at Home","type":"number","nullable":true},"lowestScoreAgainstAway":{"description":"Lowest Score against competitor away","type":"number","nullable":true},"highestScoreAgainst":{"description":"Highest Score against competitor","type":"number","nullable":true},"highestScoreAgainstHome":{"description":"Highest Score against competitor at Home","type":"number","nullable":true},"highestScoreAgainstAway":{"description":"Highest Score against competitor away","type":"number","nullable":true},"streak":{"description":"Winning streak for competitor","type":"number"},"streakHome":{"description":"Winning streak for competitor at Home","type":"number"},"streakAway":{"description":"Winning streak for competitor away","type":"number"},"resultString":{"description":"Result string for competitor (W,L,D per match)","type":"string"},"resultStringHome":{"description":"Result string for competitor at Home (W,L,D per match)","type":"string"},"resultStringAway":{"description":"Result string for competitor away (W,L,D per match)","type":"string"}}},"pattern":"^(OVERALL|IN_CONFERENCE|OUT_CONFERENCE|IN_DIVISION|OUT_DIVISION)$"},"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,"example":"A123"}},"title":"standing put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"latest\": true,\n  \"inProgress\": true,\n  \"live\": true,\n  \"locked\": true,\n  \"groupingBase\": \"OVERALL\",\n  \"groupingConferenceDivision\": \"OVERALL\",\n  \"groupingStagePool\": \"OVERALL\",\n  \"stageCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"roundCode\": \"RN1\",\n  \"roundNumber\": 1,\n  \"standingConfigurationId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureType\": \"REGULAR\",\n  \"position\": 48,\n  \"securedFinals\": \"string\",\n  \"points\": {\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  },\n  \"calculated\": {\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  },\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  divisionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  conferenceId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  latest: true,\n  inProgress: true,\n  live: true,\n  locked: true,\n  groupingBase: 'OVERALL',\n  groupingConferenceDivision: 'OVERALL',\n  groupingStagePool: 'OVERALL',\n  stageCode: 'ST1',\n  poolCode: 'P1',\n  roundCode: 'RN1',\n  roundNumber: 1,\n  standingConfigurationId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  fixtureType: 'REGULAR',\n  position: 48,\n  securedFinals: 'string',\n  points: {property1: 'default', property2: 'default'},\n  calculated: {property1: 'default', property2: 'default'},\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"divisionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"conferenceId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"latest\": @YES,\n                              @\"inProgress\": @YES,\n                              @\"live\": @YES,\n                              @\"locked\": @YES,\n                              @\"groupingBase\": @\"OVERALL\",\n                              @\"groupingConferenceDivision\": @\"OVERALL\",\n                              @\"groupingStagePool\": @\"OVERALL\",\n                              @\"stageCode\": @\"ST1\",\n                              @\"poolCode\": @\"P1\",\n                              @\"roundCode\": @\"RN1\",\n                              @\"roundNumber\": @1,\n                              @\"standingConfigurationId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"fixtureType\": @\"REGULAR\",\n                              @\"position\": @48,\n                              @\"securedFinals\": @\"string\",\n                              @\"points\": @{ @\"property1\": @\"default\", @\"property2\": @\"default\" },\n                              @\"calculated\": @{ @\"property1\": @\"default\", @\"property2\": @\"default\" },\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"latest\": True,\n    \"inProgress\": True,\n    \"live\": True,\n    \"locked\": True,\n    \"groupingBase\": \"OVERALL\",\n    \"groupingConferenceDivision\": \"OVERALL\",\n    \"groupingStagePool\": \"OVERALL\",\n    \"stageCode\": \"ST1\",\n    \"poolCode\": \"P1\",\n    \"roundCode\": \"RN1\",\n    \"roundNumber\": 1,\n    \"standingConfigurationId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"fixtureType\": \"REGULAR\",\n    \"position\": 48,\n    \"securedFinals\": \"string\",\n    \"points\": {\n        \"property1\": \"default\",\n        \"property2\": \"default\"\n    },\n    \"calculated\": {\n        \"property1\": \"default\",\n        \"property2\": \"default\"\n    },\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"latest\\\":true,\\\"inProgress\\\":true,\\\"live\\\":true,\\\"locked\\\":true,\\\"groupingBase\\\":\\\"OVERALL\\\",\\\"groupingConferenceDivision\\\":\\\"OVERALL\\\",\\\"groupingStagePool\\\":\\\"OVERALL\\\",\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"roundCode\\\":\\\"RN1\\\",\\\"roundNumber\\\":1,\\\"standingConfigurationId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureType\\\":\\\"REGULAR\\\",\\\"position\\\":48,\\\"securedFinals\\\":\\\"string\\\",\\\"points\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"calculated\\\":{\\\"property1\\\":\\\"default\\\",\\\"property2\\\":\\\"default\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"divisionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"latest\":true,\"inProgress\":true,\"live\":true,\"locked\":true,\"groupingBase\":\"OVERALL\",\"groupingConferenceDivision\":\"OVERALL\",\"groupingStagePool\":\"OVERALL\",\"stageCode\":\"ST1\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":1,\"standingConfigurationId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureType\":\"REGULAR\",\"position\":48,\"securedFinals\":\"string\",\"points\":{\"property1\":\"default\",\"property2\":\"default\"},\"calculated\":{\"property1\":\"default\",\"property2\":\"default\"},\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"latest\": true,\n  \"inProgress\": true,\n  \"live\": true,\n  \"locked\": true,\n  \"groupingBase\": \"OVERALL\",\n  \"groupingConferenceDivision\": \"OVERALL\",\n  \"groupingStagePool\": \"OVERALL\",\n  \"stageCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"roundCode\": \"RN1\",\n  \"roundNumber\": 1,\n  \"standingConfigurationId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureType\": \"REGULAR\",\n  \"position\": 48,\n  \"securedFinals\": \"string\",\n  \"points\": [\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  ],\n  \"calculated\": [\n    \"property1\": \"default\",\n    \"property2\": \"default\"\n  ],\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Standings"],"summary":"Delete a standing","description":"Delete a specific standing","operationId":"standing_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings 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/StandingsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"standingId","description":"The unique identifier of the standing record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/standings/{standingId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build":{"post":{"tags":["Standings"],"summary":"Build a standing","description":"Build a standing","operationId":"standing_build","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"POST\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"POST\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live":{"post":{"tags":["Standings"],"summary":"Build a standing using live data","description":"Build a standing using live data.","operationId":"standing_build_live","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"POST\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"POST\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/standings/build/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history":{"get":{"tags":["Standings"],"summary":"Historical all-time standings per team in a competition","description":"Return pre-aggregated all-time standings per team and competition, grouped by scope (groupingBase, groupingConferenceDivision, groupingStagePool, fixtureType, seasonType).","operationId":"standings_history_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Standings_All_Time 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/Standings_All_TimeModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/groupingBase"},{"$ref":"#/components/parameters/groupingConferenceDivision"},{"$ref":"#/components/parameters/groupingStagePool"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/seasonType"},{"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":"^(\\-?(organizationId|competitionId|entityId|groupingBase|groupingConferenceDivision|groupingStagePool|fixtureType|seasonType|seasonsParticipatedIn|played|wins|draws|losses|scoredFor|scoredAgainst|scoreDifference|standingPoints|standingPointsGiven|winPercentage|standingPointsPerGame)|,)*$","example":"standingPointsGiven,-winPercentage"},"required":false,"in":"query"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"groupingBase\":\"OVERALL\",\"groupingConferenceDivision\":\"OVERALL\",\"groupingStagePool\":\"OVERALL\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"seasonType\":\"SEASON\",\"sortBy\":\"standingPointsGiven,-winPercentage\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/standings/history?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&groupingBase=OVERALL&groupingConferenceDivision=OVERALL&groupingStagePool=OVERALL&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonType=SEASON&sortBy=standingPointsGiven,-winPercentage\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/series":{"get":{"tags":["Season Series"],"summary":"Get a list of series","description":"Return a list of series for a season","operationId":"season_series_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Series 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/Season_SeriesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatinContains"},{"$ref":"#/components/parameters/nameLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/poolCode"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/seriesCodeContains"},{"$ref":"#/components/parameters/seriesType"},{"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":"^(\\-?nameLocal|\\-?nameLatin|,)*$","example":"nameLocal"},"required":false,"in":"query"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'SERIES1'&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'SERIES1'&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'SERIES1'&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'SERIES1'&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'SERIES1'&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'SERIES1'&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'SERIES1'&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'SERIES1'&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'SERIES1'&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'SERIES1'&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatinContains\":\"Dav and nameLatin='David Johnson'\",\"nameLocalContains\":\"Dav and nameLocal='David Johnson'\",\"offset\":\"10\",\"poolCode\":\"P1\",\"seriesCodeContains\":\"SER and seriesCode='SERIES1'\",\"seriesType\":\"BEST_OF\",\"sortBy\":\"nameLocal\",\"stageCode\":\"ST1\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'SERIES1'&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'\\''David%20Johnson'\\''&nameLocalContains=Dav%20and%20nameLocal%3D'\\''David%20Johnson'\\''&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'\\''SERIES1'\\''&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&poolCode=P1&seriesCodeContains=SER%20and%20seriesCode%3D'SERIES1'&seriesType=BEST_OF&sortBy=nameLocal&stageCode=ST1&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Season Series"],"summary":"Create a series","description":"Add a new series in a season","operationId":"season_series_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Series 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/Season_SeriesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seriesCode":{"description":"A unique code for the season series. (Unique for season)","type":"string","maxLength":30,"example":"ST1"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"nameLocal":{"description":"The name of the series in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the series in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `COMPLETE` Complete\n>- `NOT_STARTED` Not Started\n","type":"string","enum":["NOT_STARTED","ACTIVE","COMPLETE"],"maxLength":30,"example":"COMPLETE"},"seriesType":{"description":"The type of series\n>- `BEST_OF` Best of\n>- `HOME_AND_AWAY` Home and Away\n>- `KNOCKOUT` Knockout\n","type":"string","enum":["BEST_OF","HOME_AND_AWAY","KNOCKOUT"],"maxLength":50,"example":"BEST_OF"},"autoCalculated":{"description":"Is the winner auto calculated?","type":"boolean","example":true},"bestOf":{"description":"Best of number","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"seriesNumber":{"description":"User defined series number","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"maxFixturesNumber":{"description":"The maximum number of games within a playoff series","type":"integer","format":"int32","nullable":true,"example":1},"winner":{"description":"The unique identifier of the winner, person or entity","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seriesOrder":{"description":"User defined sort order of the series","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"startDate":{"description":"Series start date","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"endDate":{"description":"Series end date","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"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,"example":"A123"},"competitors":{"type":"array","nullable":true,"title":"Season series competitors","description":"Array of competitors in the series. A competitor may have a results and a ranking","items":{"type":"object","title":"Season series competitor","additionalProperties":false,"properties":{"entityId":{"description":"The uuid of the entity","type":"string"},"personId":{"description":"The uuid of the person","type":"string"},"conferenceId":{"description":"The uuid of the conference the competitor represents","type":"string"},"divisionId":{"description":"The uuid of the conference the competitor represents","type":"string"},"preSeriesRanking":{"description":"The rank of the competitor coming into the series","type":"number"},"stringRecord":{"description":"String record of the competitor","type":"number"},"seriesWins":{"description":"Number of wins in the series for the competitor","type":"number"},"seriesLosses":{"description":"Number of losses in the series for the competitor","type":"number"},"seriesDraws":{"description":"Number of draws in the series for the competitor","type":"number"},"seriesResult":{"description":"Result for the competitor in the series","type":"string","enum":["PENDING","WON","LOST","DRAW"]}}}}},"title":"series post body","required":["seriesCode","seasonId","nameLocal","status","seriesType"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seriesCode\\\":\\\"ST1\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seriesCode\\\":\\\"ST1\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seriesCode\\\":\\\"ST1\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seriesCode\\\":\\\"ST1\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seriesCode\": \"ST1\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"abbreviationLatin\": \"NFA\",\n  \"status\": \"COMPLETE\",\n  \"seriesType\": \"BEST_OF\",\n  \"autoCalculated\": true,\n  \"bestOf\": 1,\n  \"seriesNumber\": 1,\n  \"maxFixturesNumber\": 1,\n  \"winner\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seriesOrder\": 1,\n  \"stageCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"startDate\": \"2016-09-08\",\n  \"endDate\": \"2016-09-08\",\n  \"externalId\": \"A123\",\n  \"competitors\": [\n    {\n      \"entityId\": \"string\",\n      \"personId\": \"string\",\n      \"conferenceId\": \"string\",\n      \"divisionId\": \"string\",\n      \"preSeriesRanking\": 0,\n      \"stringRecord\": 0,\n      \"seriesWins\": 0,\n      \"seriesLosses\": 0,\n      \"seriesDraws\": 0,\n      \"seriesResult\": \"PENDING\"\n    }\n  ]\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seriesCode: 'ST1',\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  conferenceId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  divisionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  nameLocal: 'Test name local',\n  abbreviationLocal: 'NFA',\n  nameLatin: 'Test name latin ',\n  abbreviationLatin: 'NFA',\n  status: 'COMPLETE',\n  seriesType: 'BEST_OF',\n  autoCalculated: true,\n  bestOf: 1,\n  seriesNumber: 1,\n  maxFixturesNumber: 1,\n  winner: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seriesOrder: 1,\n  stageCode: 'ST1',\n  poolCode: 'P1',\n  startDate: '2016-09-08',\n  endDate: '2016-09-08',\n  externalId: 'A123',\n  competitors: [\n    {\n      entityId: 'string',\n      personId: 'string',\n      conferenceId: 'string',\n      divisionId: 'string',\n      preSeriesRanking: 0,\n      stringRecord: 0,\n      seriesWins: 0,\n      seriesLosses: 0,\n      seriesDraws: 0,\n      seriesResult: 'PENDING'\n    }\n  ]\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seriesCode\": @\"ST1\",\n                              @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"conferenceId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"divisionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"status\": @\"COMPLETE\",\n                              @\"seriesType\": @\"BEST_OF\",\n                              @\"autoCalculated\": @YES,\n                              @\"bestOf\": @1,\n                              @\"seriesNumber\": @1,\n                              @\"maxFixturesNumber\": @1,\n                              @\"winner\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seriesOrder\": @1,\n                              @\"stageCode\": @\"ST1\",\n                              @\"poolCode\": @\"P1\",\n                              @\"startDate\": @\"2016-09-08\",\n                              @\"endDate\": @\"2016-09-08\",\n                              @\"externalId\": @\"A123\",\n                              @\"competitors\": @[ @{ @\"entityId\": @\"string\", @\"personId\": @\"string\", @\"conferenceId\": @\"string\", @\"divisionId\": @\"string\", @\"preSeriesRanking\": @0, @\"stringRecord\": @0, @\"seriesWins\": @0, @\"seriesLosses\": @0, @\"seriesDraws\": @0, @\"seriesResult\": @\"PENDING\" } ] };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seriesCode\\\":\\\"ST1\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"seriesCode\\\":\\\"ST1\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seriesCode\\\":\\\"ST1\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seriesCode\": \"ST1\",\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"abbreviationLatin\": \"NFA\",\n    \"status\": \"COMPLETE\",\n    \"seriesType\": \"BEST_OF\",\n    \"autoCalculated\": True,\n    \"bestOf\": 1,\n    \"seriesNumber\": 1,\n    \"maxFixturesNumber\": 1,\n    \"winner\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seriesOrder\": 1,\n    \"stageCode\": \"ST1\",\n    \"poolCode\": \"P1\",\n    \"startDate\": \"2016-09-08\",\n    \"endDate\": \"2016-09-08\",\n    \"externalId\": \"A123\",\n    \"competitors\": [\n        {\n            \"entityId\": \"string\",\n            \"personId\": \"string\",\n            \"conferenceId\": \"string\",\n            \"divisionId\": \"string\",\n            \"preSeriesRanking\": 0,\n            \"stringRecord\": 0,\n            \"seriesWins\": 0,\n            \"seriesLosses\": 0,\n            \"seriesDraws\": 0,\n            \"seriesResult\": \"PENDING\"\n        }\n    ]\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seriesCode\\\":\\\"ST1\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seriesCode\":\"ST1\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"divisionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"nameLocal\":\"Test name local\",\"abbreviationLocal\":\"NFA\",\"nameLatin\":\"Test name latin \",\"abbreviationLatin\":\"NFA\",\"status\":\"COMPLETE\",\"seriesType\":\"BEST_OF\",\"autoCalculated\":true,\"bestOf\":1,\"seriesNumber\":1,\"maxFixturesNumber\":1,\"winner\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seriesOrder\":1,\"stageCode\":\"ST1\",\"poolCode\":\"P1\",\"startDate\":\"2016-09-08\",\"endDate\":\"2016-09-08\",\"externalId\":\"A123\",\"competitors\":[{\"entityId\":\"string\",\"personId\":\"string\",\"conferenceId\":\"string\",\"divisionId\":\"string\",\"preSeriesRanking\":0,\"stringRecord\":0,\"seriesWins\":0,\"seriesLosses\":0,\"seriesDraws\":0,\"seriesResult\":\"PENDING\"}]}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seriesCode\": \"ST1\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"abbreviationLatin\": \"NFA\",\n  \"status\": \"COMPLETE\",\n  \"seriesType\": \"BEST_OF\",\n  \"autoCalculated\": true,\n  \"bestOf\": 1,\n  \"seriesNumber\": 1,\n  \"maxFixturesNumber\": 1,\n  \"winner\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seriesOrder\": 1,\n  \"stageCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"startDate\": \"2016-09-08\",\n  \"endDate\": \"2016-09-08\",\n  \"externalId\": \"A123\",\n  \"competitors\": [\n    [\n      \"entityId\": \"string\",\n      \"personId\": \"string\",\n      \"conferenceId\": \"string\",\n      \"divisionId\": \"string\",\n      \"preSeriesRanking\": 0,\n      \"stringRecord\": 0,\n      \"seriesWins\": 0,\n      \"seriesLosses\": 0,\n      \"seriesDraws\": 0,\n      \"seriesResult\": \"PENDING\"\n    ]\n  ]\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}":{"get":{"tags":["Season Series"],"summary":"Get a series","description":"Return detailed information about a specific season series","operationId":"season_series_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Series 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/Season_SeriesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"seriesCode","description":"The series identifier within a season","schema":{"type":"string","maxLength":30,"example":"WC1"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Season Series"],"summary":"Update a series","description":"Change the information of a specific season series","operationId":"season_series_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Series 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/Season_SeriesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"seriesCode","description":"The series identifier within a season","schema":{"type":"string","maxLength":30,"example":"WC1"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"nameLocal":{"description":"The name of the series in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the series in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `COMPLETE` Complete\n>- `NOT_STARTED` Not Started\n","type":"string","enum":["NOT_STARTED","ACTIVE","COMPLETE"],"maxLength":30,"example":"COMPLETE"},"seriesType":{"description":"The type of series\n>- `BEST_OF` Best of\n>- `HOME_AND_AWAY` Home and Away\n>- `KNOCKOUT` Knockout\n","type":"string","enum":["BEST_OF","HOME_AND_AWAY","KNOCKOUT"],"maxLength":50,"example":"BEST_OF"},"autoCalculated":{"description":"Is the winner auto calculated?","type":"boolean","example":true},"bestOf":{"description":"Best of number","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"seriesNumber":{"description":"User defined series number","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"maxFixturesNumber":{"description":"The maximum number of games within a playoff series","type":"integer","format":"int32","nullable":true,"example":1},"winner":{"description":"The unique identifier of the winner, person or entity","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seriesOrder":{"description":"User defined sort order of the series","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"stageCode":{"description":"A unique code for the stage. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"ST1"},"poolCode":{"description":"A unique code for the pool. (Unique for season)","type":"string","maxLength":30,"nullable":true,"example":"P1"},"startDate":{"description":"Series start date","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"endDate":{"description":"Series end date","type":"string","format":"date","nullable":true,"example":"2016-09-08"},"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,"example":"A123"},"competitors":{"type":"array","nullable":true,"title":"Season series competitors","description":"Array of competitors in the series. A competitor may have a results and a ranking","items":{"type":"object","title":"Season series competitor","additionalProperties":false,"properties":{"entityId":{"description":"The uuid of the entity","type":"string"},"personId":{"description":"The uuid of the person","type":"string"},"conferenceId":{"description":"The uuid of the conference the competitor represents","type":"string"},"divisionId":{"description":"The uuid of the conference the competitor represents","type":"string"},"preSeriesRanking":{"description":"The rank of the competitor coming into the series","type":"number"},"stringRecord":{"description":"String record of the competitor","type":"number"},"seriesWins":{"description":"Number of wins in the series for the competitor","type":"number"},"seriesLosses":{"description":"Number of losses in the series for the competitor","type":"number"},"seriesDraws":{"description":"Number of draws in the series for the competitor","type":"number"},"seriesResult":{"description":"Result for the competitor in the series","type":"string","enum":["PENDING","WON","LOST","DRAW"]}}}}},"title":"series put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"abbreviationLatin\": \"NFA\",\n  \"status\": \"COMPLETE\",\n  \"seriesType\": \"BEST_OF\",\n  \"autoCalculated\": true,\n  \"bestOf\": 1,\n  \"seriesNumber\": 1,\n  \"maxFixturesNumber\": 1,\n  \"winner\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seriesOrder\": 1,\n  \"stageCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"startDate\": \"2016-09-08\",\n  \"endDate\": \"2016-09-08\",\n  \"externalId\": \"A123\",\n  \"competitors\": [\n    {\n      \"entityId\": \"string\",\n      \"personId\": \"string\",\n      \"conferenceId\": \"string\",\n      \"divisionId\": \"string\",\n      \"preSeriesRanking\": 0,\n      \"stringRecord\": 0,\n      \"seriesWins\": 0,\n      \"seriesLosses\": 0,\n      \"seriesDraws\": 0,\n      \"seriesResult\": \"PENDING\"\n    }\n  ]\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  conferenceId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  divisionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  nameLocal: 'Test name local',\n  abbreviationLocal: 'NFA',\n  nameLatin: 'Test name latin ',\n  abbreviationLatin: 'NFA',\n  status: 'COMPLETE',\n  seriesType: 'BEST_OF',\n  autoCalculated: true,\n  bestOf: 1,\n  seriesNumber: 1,\n  maxFixturesNumber: 1,\n  winner: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seriesOrder: 1,\n  stageCode: 'ST1',\n  poolCode: 'P1',\n  startDate: '2016-09-08',\n  endDate: '2016-09-08',\n  externalId: 'A123',\n  competitors: [\n    {\n      entityId: 'string',\n      personId: 'string',\n      conferenceId: 'string',\n      divisionId: 'string',\n      preSeriesRanking: 0,\n      stringRecord: 0,\n      seriesWins: 0,\n      seriesLosses: 0,\n      seriesDraws: 0,\n      seriesResult: 'PENDING'\n    }\n  ]\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"conferenceId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"divisionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"status\": @\"COMPLETE\",\n                              @\"seriesType\": @\"BEST_OF\",\n                              @\"autoCalculated\": @YES,\n                              @\"bestOf\": @1,\n                              @\"seriesNumber\": @1,\n                              @\"maxFixturesNumber\": @1,\n                              @\"winner\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seriesOrder\": @1,\n                              @\"stageCode\": @\"ST1\",\n                              @\"poolCode\": @\"P1\",\n                              @\"startDate\": @\"2016-09-08\",\n                              @\"endDate\": @\"2016-09-08\",\n                              @\"externalId\": @\"A123\",\n                              @\"competitors\": @[ @{ @\"entityId\": @\"string\", @\"personId\": @\"string\", @\"conferenceId\": @\"string\", @\"divisionId\": @\"string\", @\"preSeriesRanking\": @0, @\"stringRecord\": @0, @\"seriesWins\": @0, @\"seriesLosses\": @0, @\"seriesDraws\": @0, @\"seriesResult\": @\"PENDING\" } ] };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"abbreviationLatin\": \"NFA\",\n    \"status\": \"COMPLETE\",\n    \"seriesType\": \"BEST_OF\",\n    \"autoCalculated\": True,\n    \"bestOf\": 1,\n    \"seriesNumber\": 1,\n    \"maxFixturesNumber\": 1,\n    \"winner\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seriesOrder\": 1,\n    \"stageCode\": \"ST1\",\n    \"poolCode\": \"P1\",\n    \"startDate\": \"2016-09-08\",\n    \"endDate\": \"2016-09-08\",\n    \"externalId\": \"A123\",\n    \"competitors\": [\n        {\n            \"entityId\": \"string\",\n            \"personId\": \"string\",\n            \"conferenceId\": \"string\",\n            \"divisionId\": \"string\",\n            \"preSeriesRanking\": 0,\n            \"stringRecord\": 0,\n            \"seriesWins\": 0,\n            \"seriesLosses\": 0,\n            \"seriesDraws\": 0,\n            \"seriesResult\": \"PENDING\"\n        }\n    ]\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"status\\\":\\\"COMPLETE\\\",\\\"seriesType\\\":\\\"BEST_OF\\\",\\\"autoCalculated\\\":true,\\\"bestOf\\\":1,\\\"seriesNumber\\\":1,\\\"maxFixturesNumber\\\":1,\\\"winner\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seriesOrder\\\":1,\\\"stageCode\\\":\\\"ST1\\\",\\\"poolCode\\\":\\\"P1\\\",\\\"startDate\\\":\\\"2016-09-08\\\",\\\"endDate\\\":\\\"2016-09-08\\\",\\\"externalId\\\":\\\"A123\\\",\\\"competitors\\\":[{\\\"entityId\\\":\\\"string\\\",\\\"personId\\\":\\\"string\\\",\\\"conferenceId\\\":\\\"string\\\",\\\"divisionId\\\":\\\"string\\\",\\\"preSeriesRanking\\\":0,\\\"stringRecord\\\":0,\\\"seriesWins\\\":0,\\\"seriesLosses\\\":0,\\\"seriesDraws\\\":0,\\\"seriesResult\\\":\\\"PENDING\\\"}]}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"divisionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"nameLocal\":\"Test name local\",\"abbreviationLocal\":\"NFA\",\"nameLatin\":\"Test name latin \",\"abbreviationLatin\":\"NFA\",\"status\":\"COMPLETE\",\"seriesType\":\"BEST_OF\",\"autoCalculated\":true,\"bestOf\":1,\"seriesNumber\":1,\"maxFixturesNumber\":1,\"winner\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seriesOrder\":1,\"stageCode\":\"ST1\",\"poolCode\":\"P1\",\"startDate\":\"2016-09-08\",\"endDate\":\"2016-09-08\",\"externalId\":\"A123\",\"competitors\":[{\"entityId\":\"string\",\"personId\":\"string\",\"conferenceId\":\"string\",\"divisionId\":\"string\",\"preSeriesRanking\":0,\"stringRecord\":0,\"seriesWins\":0,\"seriesLosses\":0,\"seriesDraws\":0,\"seriesResult\":\"PENDING\"}]}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"abbreviationLatin\": \"NFA\",\n  \"status\": \"COMPLETE\",\n  \"seriesType\": \"BEST_OF\",\n  \"autoCalculated\": true,\n  \"bestOf\": 1,\n  \"seriesNumber\": 1,\n  \"maxFixturesNumber\": 1,\n  \"winner\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seriesOrder\": 1,\n  \"stageCode\": \"ST1\",\n  \"poolCode\": \"P1\",\n  \"startDate\": \"2016-09-08\",\n  \"endDate\": \"2016-09-08\",\n  \"externalId\": \"A123\",\n  \"competitors\": [\n    [\n      \"entityId\": \"string\",\n      \"personId\": \"string\",\n      \"conferenceId\": \"string\",\n      \"divisionId\": \"string\",\n      \"preSeriesRanking\": 0,\n      \"stringRecord\": 0,\n      \"seriesWins\": 0,\n      \"seriesLosses\": 0,\n      \"seriesDraws\": 0,\n      \"seriesResult\": \"PENDING\"\n    ]\n  ]\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Season Series"],"summary":"Delete a series","description":"Delete a specific series","operationId":"season_series_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Series 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/Season_SeriesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"seriesCode","description":"The series identifier within a season","schema":{"type":"string","maxLength":30,"example":"WC1"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate":{"post":{"tags":["Season Series"],"summary":"Calculate season series competitors score related fields","description":"Calculate season series competitors score related fields","operationId":"season_series_calculate","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"seriesCode","description":"The series identifier within a season","schema":{"type":"string","maxLength":30,"example":"WC1"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"POST\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"POST\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/series/{seriesCode}/calculate?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history":{"get":{"tags":["Person Match History"],"summary":"Match History for a person","description":"Return the Match History (based on statistics present) for a specific person in a season.","operationId":"gamelog_listperson","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Game_Log_Person 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/Game_Log_PersonModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"name":"isPlayer","description":"Is the person a player?","schema":{"type":"boolean","default":true},"required":false,"in":"query"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"updated\":\"2018-08-16T02:11:48\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/{personId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history":{"get":{"tags":["Team Match History"],"summary":"Match History for a team","description":"Return the Match History (based on statistics present) for a specific team in a season.","operationId":"gamelog_listentity","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Game_Log_Entity 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/Game_Log_EntityModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/entity/{entityId}/in/fixtures/seasons/{seasonId}/history?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures":{"get":{"tags":["Matches"],"summary":"Get a list of matches for a Team","description":"Return a list of matches, within ~seasonprefix~ season, for a specific Team","operationId":"fixture_by_entity_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixtures_By_Entity 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/Fixtures_By_EntityModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitorType"},{"$ref":"#/components/parameters/discipline"},{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/fromTimeLocal"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isHome"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/liveDataAvailable"},{"$ref":"#/components/parameters/liveVideoAvailable"},{"$ref":"#/components/parameters/locked"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/seriesCode"},{"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":"^(\\-?startTimeUTC|,)*$","example":"-startTimeUTC"},"required":false,"in":"query"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/fixtureStatus"},{"$ref":"#/components/parameters/timesUnconfirmed"},{"$ref":"#/components/parameters/toTimeLocal"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/venueId"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"competitorType\":\"PERSON\",\"discipline\":\"INDOOR\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"fromTimeLocal\":\"2018-08-16T18:00:00\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"isHome\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"liveDataAvailable\":\"true\",\"liveVideoAvailable\":\"true\",\"locked\":\"true\",\"offset\":\"10\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":\"1\",\"seriesCode\":\"WC1\",\"sortBy\":\"-startTimeUTC\",\"stageCode\":\"ST1\",\"status\":\"SCHEDULED\",\"timesUnconfirmed\":\"true\",\"toTimeLocal\":\"2018-08-16T18:00:00\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"updated\":\"2018-08-16T02:11:48\",\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seriesCode=WC1&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/entities/{entityId}/fixtures":{"get":{"tags":["Matches"],"summary":"Get a list of matches for a Team","description":"Return a list of matches, for a specific Team","operationId":"fixture_by_entity_all_seasons_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixtures_By_Entity 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/Fixtures_By_EntityModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitorType"},{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/fromTimeLocal"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isHome"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/liveDataAvailable"},{"$ref":"#/components/parameters/liveVideoAvailable"},{"$ref":"#/components/parameters/locked"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"name":"seasonId","description":"The unique identifiers of the seasons (comma-delimited).","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005"},"required":false,"in":"query"},{"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":"^(\\-?startTimeUTC|,)*$","example":"-startTimeUTC"},"required":false,"in":"query"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/fixtureStatus"},{"$ref":"#/components/parameters/timesUnconfirmed"},{"$ref":"#/components/parameters/toTimeLocal"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/venueId"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"competitorType\":\"PERSON\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"fromTimeLocal\":\"2018-08-16T18:00:00\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"isHome\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"liveDataAvailable\":\"true\",\"liveVideoAvailable\":\"true\",\"locked\":\"true\",\"offset\":\"10\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":\"1\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"sortBy\":\"-startTimeUTC\",\"stageCode\":\"ST1\",\"status\":\"SCHEDULED\",\"timesUnconfirmed\":\"true\",\"toTimeLocal\":\"2018-08-16T18:00:00\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"updated\":\"2018-08-16T02:11:48\",\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/entities/{entityId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&isHome=SOME_BOOLEAN_VALUE&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures":{"get":{"tags":["Matches"],"summary":"Get a list of matches for a Competition","description":"Return a list of matches, for a specific Competition","operationId":"fixture_by_competition_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixtures_By_Competition 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/Fixtures_By_CompetitionModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"competitionId","description":"The unique identifier of the competition","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/competitorType"},{"$ref":"#/components/parameters/discipline"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureId"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/fromTimeLocal"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/liveDataAvailable"},{"$ref":"#/components/parameters/liveVideoAvailable"},{"$ref":"#/components/parameters/locked"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/poolCode"},{"$ref":"#/components/parameters/roundCode"},{"$ref":"#/components/parameters/roundNumber"},{"$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":"^(\\-?startTimeUTC|,)*$","example":"-startTimeUTC"},"required":false,"in":"query"},{"$ref":"#/components/parameters/stageCode"},{"$ref":"#/components/parameters/fixtureStatus"},{"$ref":"#/components/parameters/timesUnconfirmed"},{"$ref":"#/components/parameters/toTimeLocal"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/venueId"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"competitorType\":\"PERSON\",\"discipline\":\"INDOOR\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureType\":\"REGULAR\",\"fromTimeLocal\":\"2018-08-16T18:00:00\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"liveDataAvailable\":\"true\",\"liveVideoAvailable\":\"true\",\"locked\":\"true\",\"offset\":\"10\",\"poolCode\":\"P1\",\"roundCode\":\"RN1\",\"roundNumber\":\"1\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"sortBy\":\"-startTimeUTC\",\"stageCode\":\"ST1\",\"status\":\"SCHEDULED\",\"timesUnconfirmed\":\"true\",\"toTimeLocal\":\"2018-08-16T18:00:00\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"updated\":\"2018-08-16T02:11:48\",\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/competitions/{competitionId}/fixtures?added=2018-08-16T02:10:48&competitorType=PERSON&discipline=INDOOR&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fixtureType=REGULAR&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&liveDataAvailable=true&liveVideoAvailable=true&locked=true&offset=10&poolCode=P1&roundCode=RN1&roundNumber=1&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sortBy=-startTimeUTC&stageCode=ST1&status=SCHEDULED&timesUnconfirmed=true&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/career":{"get":{"tags":["Career Statistics"],"summary":"Person career statistics","description":"Return a list of person statistic totals for their career covering all competitions","operationId":"caps_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Career_Person_Statistics 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/Career_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/personIds"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career\"\n\nquerystring = {\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personIds\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career?entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/career/representing":{"get":{"tags":["Career Statistics"],"summary":"Person career representational statistics","description":"Return a list of person statistic totals for their career covering all competitions, groupped by their\n    discipline, age group, and representation","operationId":"caprs_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Career_Person_Representational_Statistics 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/Career_Person_Representational_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/ageGroup"},{"$ref":"#/components/parameters/discipline"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/personIds"},{"$ref":"#/components/parameters/representation"},{"$ref":"#/components/parameters/representing"},{"$ref":"#/components/parameters/representingCountry"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing\"\n\nquerystring = {\"ageGroup\":\"SENIOR\",\"discipline\":\"INDOOR\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personIds\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"representation\":\"CLUB\",\"representing\":\"AUSTRALIA\",\"representingCountry\":\"SOME_STRING_VALUE\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/representing?ageGroup=SENIOR&discipline=INDOOR&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&personIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&representation=CLUB&representing=AUSTRALIA&representingCountry=SOME_STRING_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}":{"get":{"tags":["Career Statistics"],"summary":"Statistics for a person in their career","description":"Return the statistics for a specific person in their career.","operationId":"caps_listperson","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Career_Person_Statistics 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/Career_Person_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}":{"get":{"tags":["Career Statistics"],"summary":"Statistics for a person in their career by season and entity","description":"Return the statistics for a specific person in their career by season and entity.","operationId":"caps_list_person_season","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Career_Person_Season_Statistics 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/Career_Person_Season_StatisticsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureType"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/homeAway"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/isPlayer"},{"$ref":"#/components/parameters/isTeamOfficial"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"personId","description":"The unique identifier of the person","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/starter"},{"$ref":"#/components/parameters/winLoss"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureType\":\"REGULAR\",\"hideNull\":\"true\",\"homeAway\":\"SOME_STRING_VALUE\",\"include\":\"organizations,fixtures,entities\",\"isPlayer\":\"SOME_BOOLEAN_VALUE\",\"isTeamOfficial\":\"SOME_BOOLEAN_VALUE\",\"limit\":\"10\",\"offset\":\"10\",\"starter\":\"SOME_BOOLEAN_VALUE\",\"winLoss\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/statistics/for/person/in/career/seasons/persons/{personId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureType=REGULAR&hideNull=true&homeAway=SOME_STRING_VALUE&include=organizations,fixtures,entities&isPlayer=SOME_BOOLEAN_VALUE&isTeamOfficial=SOME_BOOLEAN_VALUE&limit=10&offset=10&starter=SOME_BOOLEAN_VALUE&winLoss=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock":{"post":{"tags":["Matches"],"summary":"Locking match","description":"Locking a specific match record","operationId":"fixture_locking","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{},"title":"fixture_locking post body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{  };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/lock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock":{"post":{"tags":["Matches"],"summary":"Unlock match","description":"Unlock a specific match record","operationId":"fixture_unlocking","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{},"title":"fixture_locking post body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{  };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/unlock?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable":{"post":{"tags":["Matches"],"summary":"Enable a match live video stream","description":"Enable a specific match live video stream","operationId":"fixture_videostream_enable","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"platformProvider":{"description":"Video Provider platform\n>- `5STREAM` 5Stream\n>- `AV_SPORTRADAR` AV Sportradar\n","type":"string","enum":["5STREAM","AV_SPORTRADAR"],"maxLength":30,"default":"5STREAM","example":"5STREAM"}},"title":"fixture_videosteam post body","required":["fixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  locale: 'fr-FR',\n  platformProvider: '5STREAM'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"locale\": @\"fr-FR\",\n                              @\"platformProvider\": @\"5STREAM\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"locale\": \"fr-FR\",\n    \"platformProvider\": \"5STREAM\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"locale\":\"fr-FR\",\"platformProvider\":\"5STREAM\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable":{"post":{"tags":["Matches"],"summary":"Enable season live video streams for all matches","description":"Enable live video stream for all matches in season","operationId":"season_videostream_enable","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"platformProvider":{"description":"Video Provider platform\n>- `5STREAM` 5Stream\n>- `AV_SPORTRADAR` AV Sportradar\n","type":"string","enum":["5STREAM","AV_SPORTRADAR"],"maxLength":30,"default":"5STREAM","example":"5STREAM"}},"title":"fixture_videosteam post body","required":["fixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  locale: 'fr-FR',\n  platformProvider: '5STREAM'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"locale\": @\"fr-FR\",\n                              @\"platformProvider\": @\"5STREAM\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"locale\": \"fr-FR\",\n    \"platformProvider\": \"5STREAM\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"locale\":\"fr-FR\",\"platformProvider\":\"5STREAM\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable":{"post":{"tags":["Matches"],"summary":"Enable season live video streams for all matches for a venue","description":"Enable live video stream for all matches in season for a venue","operationId":"season_venue_videostream_enable","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"venueId","description":"The unique identifier of the venue","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"platformProvider":{"description":"Video Provider platform\n>- `5STREAM` 5Stream\n>- `AV_SPORTRADAR` AV Sportradar\n","type":"string","enum":["5STREAM","AV_SPORTRADAR"],"maxLength":30,"default":"5STREAM","example":"5STREAM"}},"title":"fixture_videosteam post body","required":["fixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  locale: 'fr-FR',\n  platformProvider: '5STREAM'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"locale\": @\"fr-FR\",\n                              @\"platformProvider\": @\"5STREAM\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"locale\": \"fr-FR\",\n    \"platformProvider\": \"5STREAM\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"locale\":\"fr-FR\",\"platformProvider\":\"5STREAM\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/enable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable":{"post":{"tags":["Matches"],"summary":"Disable season live video streams for all matches","description":"Disable live video stream for all matches in season","operationId":"season_videostream_disable","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"platformProvider":{"description":"Video Provider platform\n>- `5STREAM` 5Stream\n>- `AV_SPORTRADAR` AV Sportradar\n","type":"string","enum":["5STREAM","AV_SPORTRADAR"],"maxLength":30,"default":"5STREAM","example":"5STREAM"}},"title":"fixture_videosteam post body","required":["fixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  locale: 'fr-FR',\n  platformProvider: '5STREAM'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"locale\": @\"fr-FR\",\n                              @\"platformProvider\": @\"5STREAM\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"locale\": \"fr-FR\",\n    \"platformProvider\": \"5STREAM\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"locale\":\"fr-FR\",\"platformProvider\":\"5STREAM\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable":{"post":{"tags":["Matches"],"summary":"Disable a match live video stream","description":"Disable a specific match live video stream","operationId":"fixture_videostream_disable","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"platformProvider":{"description":"Video Provider platform\n>- `5STREAM` 5Stream\n>- `AV_SPORTRADAR` AV Sportradar\n","type":"string","enum":["5STREAM","AV_SPORTRADAR"],"maxLength":30,"default":"5STREAM","example":"5STREAM"}},"title":"fixture_videosteam post body","required":["fixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  locale: 'fr-FR',\n  platformProvider: '5STREAM'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"locale\": @\"fr-FR\",\n                              @\"platformProvider\": @\"5STREAM\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"locale\": \"fr-FR\",\n    \"platformProvider\": \"5STREAM\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"locale\":\"fr-FR\",\"platformProvider\":\"5STREAM\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable":{"post":{"tags":["Matches"],"summary":"Disable season live video streams for all matches for a venue","description":"Disable live video stream for all matches in season for a venue","operationId":"season_venue_videostream_disable","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"venueId","description":"The unique identifier of the venue","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"platformProvider":{"description":"Video Provider platform\n>- `5STREAM` 5Stream\n>- `AV_SPORTRADAR` AV Sportradar\n","type":"string","enum":["5STREAM","AV_SPORTRADAR"],"maxLength":30,"default":"5STREAM","example":"5STREAM"}},"title":"fixture_videosteam post body","required":["fixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  locale: 'fr-FR',\n  platformProvider: '5STREAM'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"locale\": @\"fr-FR\",\n                              @\"platformProvider\": @\"5STREAM\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"locale\": \"fr-FR\",\n    \"platformProvider\": \"5STREAM\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"locale\":\"fr-FR\",\"platformProvider\":\"5STREAM\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/venues/{venueId}/video/streams/disable?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start":{"post":{"tags":["Matches"],"summary":"Start a match live video stream recording","description":"Start a specific match live video stream recording","operationId":"fixture_videostream_start","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"platformProvider":{"description":"Video Provider platform\n>- `5STREAM` 5Stream\n>- `AV_SPORTRADAR` AV Sportradar\n","type":"string","enum":["5STREAM","AV_SPORTRADAR"],"maxLength":30,"default":"5STREAM","example":"5STREAM"}},"title":"fixture_videosteam post body","required":["fixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  locale: 'fr-FR',\n  platformProvider: '5STREAM'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"locale\": @\"fr-FR\",\n                              @\"platformProvider\": @\"5STREAM\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"locale\": \"fr-FR\",\n    \"platformProvider\": \"5STREAM\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"locale\":\"fr-FR\",\"platformProvider\":\"5STREAM\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/start?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop":{"post":{"tags":["Matches"],"summary":"Stop a match live video stream recording","description":"Stop a specific match live video stream recording","operationId":"fixture_videostream_stop","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"platformProvider":{"description":"Video Provider platform\n>- `5STREAM` 5Stream\n>- `AV_SPORTRADAR` AV Sportradar\n","type":"string","enum":["5STREAM","AV_SPORTRADAR"],"maxLength":30,"default":"5STREAM","example":"5STREAM"}},"title":"fixture_videosteam post body","required":["fixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  locale: 'fr-FR',\n  platformProvider: '5STREAM'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"locale\": @\"fr-FR\",\n                              @\"platformProvider\": @\"5STREAM\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"locale\": \"fr-FR\",\n    \"platformProvider\": \"5STREAM\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"locale\":\"fr-FR\",\"platformProvider\":\"5STREAM\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/stop?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset":{"post":{"tags":["Matches"],"summary":"Resets a match live video stream recording","description":"Ressets a specific match live video stream recording","operationId":"fixture_videostream_reset","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"platformProvider":{"description":"Video Provider platform\n>- `5STREAM` 5Stream\n>- `AV_SPORTRADAR` AV Sportradar\n","type":"string","enum":["5STREAM","AV_SPORTRADAR"],"maxLength":30,"default":"5STREAM","example":"5STREAM"}},"title":"fixture_videosteam post body","required":["fixtureId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  locale: 'fr-FR',\n  platformProvider: '5STREAM'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"locale\": @\"fr-FR\",\n                              @\"platformProvider\": @\"5STREAM\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"locale\": \"fr-FR\",\n    \"platformProvider\": \"5STREAM\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"platformProvider\\\":\\\"5STREAM\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"locale\":\"fr-FR\",\"platformProvider\":\"5STREAM\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"locale\": \"fr-FR\",\n  \"platformProvider\": \"5STREAM\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/conferences":{"get":{"tags":["Conferences & Divisions"],"summary":"Get a list of conferences","description":"Return a list of available conferences","operationId":"conference_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Conferences 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/ConferencesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatin"},{"$ref":"#/components/parameters/nameLatinContains"},{"$ref":"#/components/parameters/nameLocal"},{"$ref":"#/components/parameters/nameLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"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":"^(\\-?nameLocal|\\-?nameLatin|,)*$","example":"nameLocal"},"required":false,"in":"query"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatin\":\"SOME_STRING_VALUE\",\"nameLatinContains\":\"Dav and nameLatin='David Johnson'\",\"nameLocal\":\"SOME_STRING_VALUE\",\"nameLocalContains\":\"Dav and nameLocal='David Johnson'\",\"offset\":\"10\",\"sortBy\":\"nameLocal\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'\\''David%20Johnson'\\''&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'\\''David%20Johnson'\\''&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Conferences & Divisions"],"summary":"Create a conference","description":"Create a new conference","operationId":"conference_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Conferences 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/ConferencesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the conference in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the conference in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"}},"title":"conference post body","required":["nameLocal"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  conferenceId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"conferenceId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/conferences/{conferenceId}":{"get":{"tags":["Conferences & Divisions"],"summary":"Get a conference","description":"Return detailed information about a specific conference","operationId":"conference_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Conferences 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/ConferencesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"conferenceId","description":"The unique identifier of the conference","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Conferences & Divisions"],"summary":"Update a conference","description":"Change the information of a specific conference","operationId":"conference_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Conferences 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/ConferencesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"conferenceId","description":"The unique identifier of the conference","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the conference in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the conference in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"}},"title":"conference put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Conferences & Divisions"],"summary":"Delete a conference","description":"Delete a specific conference","operationId":"conference_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Conferences 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/ConferencesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"conferenceId","description":"The unique identifier of the conference","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions":{"get":{"tags":["Conferences & Divisions"],"summary":"Get a list of divisions","description":"Return a list of available divisions for a specific conference","operationId":"division_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Divisions 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/DivisionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"conferenceId","description":"The unique identifier of the conference","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/nameLatin"},{"$ref":"#/components/parameters/nameLatinContains"},{"$ref":"#/components/parameters/nameLocal"},{"$ref":"#/components/parameters/nameLocalContains"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"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":"^(\\-?nameLocal|\\-?nameLatin|,)*$","example":"nameLocal"},"required":false,"in":"query"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"nameLatin\":\"SOME_STRING_VALUE\",\"nameLatinContains\":\"Dav and nameLatin='David Johnson'\",\"nameLocal\":\"SOME_STRING_VALUE\",\"nameLocalContains\":\"Dav and nameLocal='David Johnson'\",\"offset\":\"10\",\"sortBy\":\"nameLocal\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'\\''David%20Johnson'\\''&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'\\''David%20Johnson'\\''&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&nameLatin=SOME_STRING_VALUE&nameLatinContains=Dav%20and%20nameLatin%3D'David%20Johnson'&nameLocal=SOME_STRING_VALUE&nameLocalContains=Dav%20and%20nameLocal%3D'David%20Johnson'&offset=10&sortBy=nameLocal&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Conferences & Divisions"],"summary":"Create a division","description":"Insert a new division","operationId":"division_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Divisions 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/DivisionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"conferenceId","description":"The unique identifier of the conference","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the division in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the division in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"}},"title":"division post body","required":["nameLocal"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  divisionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  conferenceId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"divisionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"conferenceId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"divisionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/conferences/{conferenceId}/divisions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/divisions/{divisionId}":{"get":{"tags":["Conferences & Divisions"],"summary":"Get a division","description":"Return detailed information about a specific division","operationId":"division_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Divisions 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/DivisionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"divisionId","description":"The unique identifier of the division","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Conferences & Divisions"],"summary":"Update a division","description":"Change the information of a specific division","operationId":"division_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Divisions 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/DivisionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"divisionId","description":"The unique identifier of the division","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"abbreviationLocal":{"description":"An abbreviation/short name in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLocal":{"description":"The name of the division in the [local](#section/Introduction/Character-Sets-and-Names) language","type":"string","maxLength":150,"example":"Test name local"},"abbreviationLatin":{"description":"An abbreviation/short name in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":50,"nullable":true,"example":"NFA"},"nameLatin":{"description":"The name of the division in [latin](#section/Introduction/Character-Sets-and-Names) characters","type":"string","maxLength":150,"nullable":true,"example":"Test name latin "},"social":{"title":"Social Media","description":"Social Media contacts","type":"object","nullable":true,"additionalProperties":false,"properties":{"website":{"type":"string","nullable":true,"example":"http://www.example.com","format":"uri"},"facebook":{"type":"string","nullable":true,"example":"@example"},"twitter":{"type":"string","nullable":true,"example":"@example"},"wikipedia":{"type":"string","nullable":true,"example":"https://en.wikipedia.org/wiki/example","format":"uri"},"instagram":{"type":"string","nullable":true,"example":"@example"}}},"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,"example":"A123"}},"title":"division put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"social\": {\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  },\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  conferenceId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  abbreviationLocal: 'NFA',\n  nameLocal: 'Test name local',\n  abbreviationLatin: 'NFA',\n  nameLatin: 'Test name latin ',\n  social: {\n    website: 'http://www.example.com',\n    facebook: '@example',\n    twitter: '@example',\n    wikipedia: 'https://en.wikipedia.org/wiki/example',\n    instagram: '@example'\n  },\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"conferenceId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"abbreviationLocal\": @\"NFA\",\n                              @\"nameLocal\": @\"Test name local\",\n                              @\"abbreviationLatin\": @\"NFA\",\n                              @\"nameLatin\": @\"Test name latin \",\n                              @\"social\": @{ @\"website\": @\"http://www.example.com\", @\"facebook\": @\"@example\", @\"twitter\": @\"@example\", @\"wikipedia\": @\"https://en.wikipedia.org/wiki/example\", @\"instagram\": @\"@example\" },\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"abbreviationLocal\": \"NFA\",\n    \"nameLocal\": \"Test name local\",\n    \"abbreviationLatin\": \"NFA\",\n    \"nameLatin\": \"Test name latin \",\n    \"social\": {\n        \"website\": \"http://www.example.com\",\n        \"facebook\": \"@example\",\n        \"twitter\": \"@example\",\n        \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n        \"instagram\": \"@example\"\n    },\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"abbreviationLocal\\\":\\\"NFA\\\",\\\"nameLocal\\\":\\\"Test name local\\\",\\\"abbreviationLatin\\\":\\\"NFA\\\",\\\"nameLatin\\\":\\\"Test name latin \\\",\\\"social\\\":{\\\"website\\\":\\\"http://www.example.com\\\",\\\"facebook\\\":\\\"@example\\\",\\\"twitter\\\":\\\"@example\\\",\\\"wikipedia\\\":\\\"https://en.wikipedia.org/wiki/example\\\",\\\"instagram\\\":\\\"@example\\\"},\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"abbreviationLocal\":\"NFA\",\"nameLocal\":\"Test name local\",\"abbreviationLatin\":\"NFA\",\"nameLatin\":\"Test name latin \",\"social\":{\"website\":\"http://www.example.com\",\"facebook\":\"@example\",\"twitter\":\"@example\",\"wikipedia\":\"https://en.wikipedia.org/wiki/example\",\"instagram\":\"@example\"},\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"abbreviationLocal\": \"NFA\",\n  \"nameLocal\": \"Test name local\",\n  \"abbreviationLatin\": \"NFA\",\n  \"nameLatin\": \"Test name latin \",\n  \"social\": [\n    \"website\": \"http://www.example.com\",\n    \"facebook\": \"@example\",\n    \"twitter\": \"@example\",\n    \"wikipedia\": \"https://en.wikipedia.org/wiki/example\",\n    \"instagram\": \"@example\"\n  ],\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Conferences & Divisions"],"summary":"Delete a division","description":"Delete a specific division","operationId":"division_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Divisions 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/DivisionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"divisionId","description":"The unique identifier of the division","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/divisions/{divisionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/video/streams/subscriptions":{"get":{"tags":["Video Stream Subscriptions"],"summary":"List video stream subscriptions","description":"Display the list of video stream subscriptions for fixtures.","operationId":"video_subscription_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Subscriptions 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/Video_SubscriptionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureId"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/onlyUpcoming"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"onlyUpcoming\":\"true\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlyUpcoming=true&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Video Stream Subscriptions"],"summary":"Subscribe to a video stream","description":"Subscribe to an upcoming video stream. Any subscription must be in place a minimum of 1 hour before the scheduled start time.","operationId":"video_subscription_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Subscriptions 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/Video_SubscriptionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:video_subscriber"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"subscriptionId":{"description":"The unique identifier of the video stream subscription","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"customerId":{"description":"Customer of the subscription","type":"integer","format":"int32","nullable":true,"example":1},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"provider":{"description":"Provider of the input","type":"string","maxLength":100,"example":"MANUAL"},"locale":{"description":"The locale of the video that matches the input","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"sourceNumber":{"description":"Unique identifier for the video source. This is unique for the provider/fixtureId/locale combination.  Unless the provider is supplying multiple sources per fixture/locale then this is normally 1.","type":"integer","format":"int32","default":1,"example":1},"feedType":{"description":"Type of video input\n>- `ADDITIONAL_ANGLE` Additional angle\n>- `LOW_LATENCY` Low Latency\n>- `PRIMARY` Primary\n","type":"string","enum":["PRIMARY","ADDITIONAL_ANGLE","LOW_LATENCY"],"maxLength":30,"example":"PRIMARY"},"outputResolution":{"description":"The resolution that you want to receive the video in.  This is only valid if outputFormat is `RTMP`.  If outputFormat is not `RTMP` then the output resolution is the same as the input resolution.  If specified the output resolution cannot be higher than the input resolution. You must have specific permission to chose anything other than 720p or 1080p.\n>- `1080` 1920x1080\n>- `1080@50fps` 1920x1080 50fps\n>- `1080i50@10M` SRT 1080i50@10M\n>- `1080p25@10M` SRT 1080p25@10M\n>- `1080p50@10M` SRT 1080p50@10M\n>- `1280x720@2000k` 1280x720@2000k\n>- `1280x720@3000k` 1280x720@3000k\n>- `1280x720@3000k25fps` 1280x720@3000k25fps\n>- `1920x1080@4000k` 1920x1080@4000k\n>- `1920x1080@4000k25fps` 1920x1080@4000k25fps\n>- `1920x1080@4500k` 1920x1080@4500k\n>- `1920x1080@5000k30fps` 1920x1080@5000k30fps\n>- `2000` 2000\n>- `288` 512x288\n>- `640x320@850k` 640x320@850k\n>- `720` 1280x720\n>- `DESKTOP_384x216@280k` DESKTOP_384x216@280k\n>- `DESKTOP_512x288@500k` DESKTOP_512x288@500k\n>- `DESKTOP_768x432@1000k` DESKTOP_768x432@1000k\n>- `MOBILE_320x180@102k` MOBILE_320x180@102k\n>- `MOBILE_320x180@102k_BUFFERED` MOBILE_320x180@102k_BUFFERED\n>- `MOBILE_320x180@232k` MOBILE_320x180@232k\n>- `MOBILE_320x180@232k_BUFFERED` MOBILE_320x180@232k_BUFFERED\n>- `MOBILE_480x270@464k` MOBILE_480x270@464k\n>- `MOBILE_480x270@464k_BUFFERED` MOBILE_480x270@464k_BUFFERED\n>- `MOBILE_768x432@1000k` MOBILE_768x432@1000k\n>- `MOBILE_768x432@1000k_BUFFERED` MOBILE_768x432@1000k_BUFFERED\n","type":"string","enum":["288","720","1080","1080@50fps","2000","DESKTOP_768x432@1000k","DESKTOP_512x288@500k","DESKTOP_384x216@280k","MOBILE_768x432@1000k","MOBILE_480x270@464k","MOBILE_320x180@232k","MOBILE_320x180@102k","1920x1080@4000k","1280x720@2000k","640x320@850k","1280x720@3000k25fps","1920x1080@4000k25fps","1920x1080@4500k","1280x720@3000k","1920x1080@5000k30fps","MOBILE_768x432@1000k_BUFFERED","MOBILE_480x270@464k_BUFFERED","MOBILE_320x180@232k_BUFFERED","MOBILE_320x180@102k_BUFFERED","1080i50@10M","1080p25@10M","1080p50@10M"],"maxLength":30,"example":"1080"},"outputFormat":{"description":"The output format\n>- `HLS` HLS (HTTP Live Streaming)\n>- `RTMP` RTMP (Real-Time Messaging Protocol)\n>- `RTMP_PULL` RTMP Pull (Real-Time Messaging Protocol - Pull)\n>- `SRT` SRT (Secure Reliable Transport)\n","type":"string","enum":["RTMP","RTMP_PULL","HLS","SRT"],"maxLength":30,"example":"RTMP"},"streamName":{"description":"The stream name/stream key of the RTMP destination. This is a unique/secret identifier provided by the stream destination platform - not a text description.","type":"string","maxLength":250,"pattern":"^[0-9A-Za-z.:/&_?=\\-;@]*$"},"outputURL":{"description":"The URL to send the output to. Only valid if outputFormat is 'RTMP' or 'SRT'","type":"string","maxLength":200,"pattern":"^[0-9A-Za-z.:/&_?=\\-;@]*$","example":"rtmp://a.rtmp.youtube.com/live2"},"audio":{"description":"Audio\n>- `AMBIENCE` Only ambience / crowd noise\n>- `BOTH` Both combined\n>- `BOTH_SPLIT_LR` Both (Ambience left channel, Commentary right channel)\n>- `COMMENTARY` Only commentary\n","type":"string","enum":["COMMENTARY","AMBIENCE","BOTH","BOTH_SPLIT_LR"],"maxLength":30,"default":"BOTH","example":"COMMENTARY"},"content":{"description":"Content of the stream\n>- `CLEAN` Output signal is the same as the input signal\n>- `PROGRAM` Score overlays and other enhancements have been added to the stream\n","type":"string","enum":["CLEAN","PROGRAM"],"maxLength":30,"example":"CLEAN"},"muxRate":{"description":"The muxRate of the stream. Required for SRT outputFormat only.","type":"integer","format":"int32","example":"1200000"},"subscriptionName":{"description":"The name of the subscription","type":"string","maxLength":250}},"title":"video subscription post body","required":["fixtureId","provider","locale","sourceNumber","feedType","outputResolution","outputFormat","content"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"subscriptionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"subscriptionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"subscriptionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"subscriptionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"subscriptionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"customerId\": 1,\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"provider\": \"MANUAL\",\n  \"locale\": \"fr-FR\",\n  \"sourceNumber\": 1,\n  \"feedType\": \"PRIMARY\",\n  \"outputResolution\": \"1080\",\n  \"outputFormat\": \"RTMP\",\n  \"streamName\": \"string\",\n  \"outputURL\": \"rtmp://a.rtmp.youtube.com/live2\",\n  \"audio\": \"COMMENTARY\",\n  \"content\": \"CLEAN\",\n  \"muxRate\": \"1200000\",\n  \"subscriptionName\": \"string\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  subscriptionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  customerId: 1,\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  provider: 'MANUAL',\n  locale: 'fr-FR',\n  sourceNumber: 1,\n  feedType: 'PRIMARY',\n  outputResolution: '1080',\n  outputFormat: 'RTMP',\n  streamName: 'string',\n  outputURL: 'rtmp://a.rtmp.youtube.com/live2',\n  audio: 'COMMENTARY',\n  content: 'CLEAN',\n  muxRate: '1200000',\n  subscriptionName: 'string'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"subscriptionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"customerId\": @1,\n                              @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"provider\": @\"MANUAL\",\n                              @\"locale\": @\"fr-FR\",\n                              @\"sourceNumber\": @1,\n                              @\"feedType\": @\"PRIMARY\",\n                              @\"outputResolution\": @\"1080\",\n                              @\"outputFormat\": @\"RTMP\",\n                              @\"streamName\": @\"string\",\n                              @\"outputURL\": @\"rtmp://a.rtmp.youtube.com/live2\",\n                              @\"audio\": @\"COMMENTARY\",\n                              @\"content\": @\"CLEAN\",\n                              @\"muxRate\": @\"1200000\",\n                              @\"subscriptionName\": @\"string\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"subscriptionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"subscriptionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"subscriptionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"subscriptionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"customerId\": 1,\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"provider\": \"MANUAL\",\n    \"locale\": \"fr-FR\",\n    \"sourceNumber\": 1,\n    \"feedType\": \"PRIMARY\",\n    \"outputResolution\": \"1080\",\n    \"outputFormat\": \"RTMP\",\n    \"streamName\": \"string\",\n    \"outputURL\": \"rtmp://a.rtmp.youtube.com/live2\",\n    \"audio\": \"COMMENTARY\",\n    \"content\": \"CLEAN\",\n    \"muxRate\": \"1200000\",\n    \"subscriptionName\": \"string\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"subscriptionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"subscriptionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"customerId\":1,\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"provider\":\"MANUAL\",\"locale\":\"fr-FR\",\"sourceNumber\":1,\"feedType\":\"PRIMARY\",\"outputResolution\":\"1080\",\"outputFormat\":\"RTMP\",\"streamName\":\"string\",\"outputURL\":\"rtmp://a.rtmp.youtube.com/live2\",\"audio\":\"COMMENTARY\",\"content\":\"CLEAN\",\"muxRate\":\"1200000\",\"subscriptionName\":\"string\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"subscriptionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"customerId\": 1,\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"provider\": \"MANUAL\",\n  \"locale\": \"fr-FR\",\n  \"sourceNumber\": 1,\n  \"feedType\": \"PRIMARY\",\n  \"outputResolution\": \"1080\",\n  \"outputFormat\": \"RTMP\",\n  \"streamName\": \"string\",\n  \"outputURL\": \"rtmp://a.rtmp.youtube.com/live2\",\n  \"audio\": \"COMMENTARY\",\n  \"content\": \"CLEAN\",\n  \"muxRate\": \"1200000\",\n  \"subscriptionName\": \"string\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}":{"get":{"tags":["Video Stream Subscriptions"],"summary":"Get a video stream subscription","description":"Return detailed information about a specific video stream subscription.","operationId":"video_subscription_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Subscriptions 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/Video_SubscriptionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"subscriptionId","description":"The unique identifier of the video stream subscription","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Video Stream Subscriptions"],"summary":"Update a video subscription","description":"Change the information of an existing video subscription","operationId":"video_subscriptions_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Subscriptions 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/Video_SubscriptionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:video_subscriber"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"subscriptionId","description":"The unique identifier of the video stream subscription","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"customerId":{"description":"Customer of the subscription","type":"integer","format":"int32","nullable":true,"example":1},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"provider":{"description":"Provider of the input","type":"string","maxLength":100,"example":"MANUAL"},"locale":{"description":"The locale of the video that matches the input","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"sourceNumber":{"description":"Unique identifier for the video source. This is unique for the provider/fixtureId/locale combination.  Unless the provider is supplying multiple sources per fixture/locale then this is normally 1.","type":"integer","format":"int32","default":1,"example":1},"feedType":{"description":"Type of video input\n>- `ADDITIONAL_ANGLE` Additional angle\n>- `LOW_LATENCY` Low Latency\n>- `PRIMARY` Primary\n","type":"string","enum":["PRIMARY","ADDITIONAL_ANGLE","LOW_LATENCY"],"maxLength":30,"example":"PRIMARY"},"outputResolution":{"description":"The resolution that you want to receive the video in.  This is only valid if outputFormat is `RTMP`.  If outputFormat is not `RTMP` then the output resolution is the same as the input resolution.  If specified the output resolution cannot be higher than the input resolution. You must have specific permission to chose anything other than 720p or 1080p.\n>- `1080` 1920x1080\n>- `1080@50fps` 1920x1080 50fps\n>- `1080i50@10M` SRT 1080i50@10M\n>- `1080p25@10M` SRT 1080p25@10M\n>- `1080p50@10M` SRT 1080p50@10M\n>- `1280x720@2000k` 1280x720@2000k\n>- `1280x720@3000k` 1280x720@3000k\n>- `1280x720@3000k25fps` 1280x720@3000k25fps\n>- `1920x1080@4000k` 1920x1080@4000k\n>- `1920x1080@4000k25fps` 1920x1080@4000k25fps\n>- `1920x1080@4500k` 1920x1080@4500k\n>- `1920x1080@5000k30fps` 1920x1080@5000k30fps\n>- `2000` 2000\n>- `288` 512x288\n>- `640x320@850k` 640x320@850k\n>- `720` 1280x720\n>- `DESKTOP_384x216@280k` DESKTOP_384x216@280k\n>- `DESKTOP_512x288@500k` DESKTOP_512x288@500k\n>- `DESKTOP_768x432@1000k` DESKTOP_768x432@1000k\n>- `MOBILE_320x180@102k` MOBILE_320x180@102k\n>- `MOBILE_320x180@102k_BUFFERED` MOBILE_320x180@102k_BUFFERED\n>- `MOBILE_320x180@232k` MOBILE_320x180@232k\n>- `MOBILE_320x180@232k_BUFFERED` MOBILE_320x180@232k_BUFFERED\n>- `MOBILE_480x270@464k` MOBILE_480x270@464k\n>- `MOBILE_480x270@464k_BUFFERED` MOBILE_480x270@464k_BUFFERED\n>- `MOBILE_768x432@1000k` MOBILE_768x432@1000k\n>- `MOBILE_768x432@1000k_BUFFERED` MOBILE_768x432@1000k_BUFFERED\n","type":"string","enum":["288","720","1080","1080@50fps","2000","DESKTOP_768x432@1000k","DESKTOP_512x288@500k","DESKTOP_384x216@280k","MOBILE_768x432@1000k","MOBILE_480x270@464k","MOBILE_320x180@232k","MOBILE_320x180@102k","1920x1080@4000k","1280x720@2000k","640x320@850k","1280x720@3000k25fps","1920x1080@4000k25fps","1920x1080@4500k","1280x720@3000k","1920x1080@5000k30fps","MOBILE_768x432@1000k_BUFFERED","MOBILE_480x270@464k_BUFFERED","MOBILE_320x180@232k_BUFFERED","MOBILE_320x180@102k_BUFFERED","1080i50@10M","1080p25@10M","1080p50@10M"],"maxLength":30,"example":"1080"},"outputFormat":{"description":"The output format\n>- `HLS` HLS (HTTP Live Streaming)\n>- `RTMP` RTMP (Real-Time Messaging Protocol)\n>- `RTMP_PULL` RTMP Pull (Real-Time Messaging Protocol - Pull)\n>- `SRT` SRT (Secure Reliable Transport)\n","type":"string","enum":["RTMP","RTMP_PULL","HLS","SRT"],"maxLength":30,"example":"RTMP"},"streamName":{"description":"The stream name/stream key of the RTMP destination. This is a unique/secret identifier provided by the stream destination platform - not a text description.","type":"string","maxLength":250,"pattern":"^[0-9A-Za-z.:/&_?=\\-;@]*$"},"outputURL":{"description":"The URL to send the output to. Only valid if outputFormat is 'RTMP' or 'SRT'","type":"string","maxLength":200,"pattern":"^[0-9A-Za-z.:/&_?=\\-;@]*$","example":"rtmp://a.rtmp.youtube.com/live2"},"audio":{"description":"Audio\n>- `AMBIENCE` Only ambience / crowd noise\n>- `BOTH` Both combined\n>- `BOTH_SPLIT_LR` Both (Ambience left channel, Commentary right channel)\n>- `COMMENTARY` Only commentary\n","type":"string","enum":["COMMENTARY","AMBIENCE","BOTH","BOTH_SPLIT_LR"],"maxLength":30,"default":"BOTH","example":"COMMENTARY"},"content":{"description":"Content of the stream\n>- `CLEAN` Output signal is the same as the input signal\n>- `PROGRAM` Score overlays and other enhancements have been added to the stream\n","type":"string","enum":["CLEAN","PROGRAM"],"maxLength":30,"example":"CLEAN"},"muxRate":{"description":"The muxRate of the stream. Required for SRT outputFormat only.","type":"integer","format":"int32","example":"1200000"},"subscriptionName":{"description":"The name of the subscription","type":"string","maxLength":250}},"title":"video subscription put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"customerId\": 1,\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"provider\": \"MANUAL\",\n  \"locale\": \"fr-FR\",\n  \"sourceNumber\": 1,\n  \"feedType\": \"PRIMARY\",\n  \"outputResolution\": \"1080\",\n  \"outputFormat\": \"RTMP\",\n  \"streamName\": \"string\",\n  \"outputURL\": \"rtmp://a.rtmp.youtube.com/live2\",\n  \"audio\": \"COMMENTARY\",\n  \"content\": \"CLEAN\",\n  \"muxRate\": \"1200000\",\n  \"subscriptionName\": \"string\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  customerId: 1,\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  provider: 'MANUAL',\n  locale: 'fr-FR',\n  sourceNumber: 1,\n  feedType: 'PRIMARY',\n  outputResolution: '1080',\n  outputFormat: 'RTMP',\n  streamName: 'string',\n  outputURL: 'rtmp://a.rtmp.youtube.com/live2',\n  audio: 'COMMENTARY',\n  content: 'CLEAN',\n  muxRate: '1200000',\n  subscriptionName: 'string'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"customerId\": @1,\n                              @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"provider\": @\"MANUAL\",\n                              @\"locale\": @\"fr-FR\",\n                              @\"sourceNumber\": @1,\n                              @\"feedType\": @\"PRIMARY\",\n                              @\"outputResolution\": @\"1080\",\n                              @\"outputFormat\": @\"RTMP\",\n                              @\"streamName\": @\"string\",\n                              @\"outputURL\": @\"rtmp://a.rtmp.youtube.com/live2\",\n                              @\"audio\": @\"COMMENTARY\",\n                              @\"content\": @\"CLEAN\",\n                              @\"muxRate\": @\"1200000\",\n                              @\"subscriptionName\": @\"string\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"customerId\": 1,\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"provider\": \"MANUAL\",\n    \"locale\": \"fr-FR\",\n    \"sourceNumber\": 1,\n    \"feedType\": \"PRIMARY\",\n    \"outputResolution\": \"1080\",\n    \"outputFormat\": \"RTMP\",\n    \"streamName\": \"string\",\n    \"outputURL\": \"rtmp://a.rtmp.youtube.com/live2\",\n    \"audio\": \"COMMENTARY\",\n    \"content\": \"CLEAN\",\n    \"muxRate\": \"1200000\",\n    \"subscriptionName\": \"string\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"customerId\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"feedType\\\":\\\"PRIMARY\\\",\\\"outputResolution\\\":\\\"1080\\\",\\\"outputFormat\\\":\\\"RTMP\\\",\\\"streamName\\\":\\\"string\\\",\\\"outputURL\\\":\\\"rtmp://a.rtmp.youtube.com/live2\\\",\\\"audio\\\":\\\"COMMENTARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"muxRate\\\":\\\"1200000\\\",\\\"subscriptionName\\\":\\\"string\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"customerId\":1,\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"provider\":\"MANUAL\",\"locale\":\"fr-FR\",\"sourceNumber\":1,\"feedType\":\"PRIMARY\",\"outputResolution\":\"1080\",\"outputFormat\":\"RTMP\",\"streamName\":\"string\",\"outputURL\":\"rtmp://a.rtmp.youtube.com/live2\",\"audio\":\"COMMENTARY\",\"content\":\"CLEAN\",\"muxRate\":\"1200000\",\"subscriptionName\":\"string\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"customerId\": 1,\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"provider\": \"MANUAL\",\n  \"locale\": \"fr-FR\",\n  \"sourceNumber\": 1,\n  \"feedType\": \"PRIMARY\",\n  \"outputResolution\": \"1080\",\n  \"outputFormat\": \"RTMP\",\n  \"streamName\": \"string\",\n  \"outputURL\": \"rtmp://a.rtmp.youtube.com/live2\",\n  \"audio\": \"COMMENTARY\",\n  \"content\": \"CLEAN\",\n  \"muxRate\": \"1200000\",\n  \"subscriptionName\": \"string\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Video Stream Subscriptions"],"summary":"Delete a video stream subscription","description":"Delete an existing subscription","operationId":"video_subscription_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Subscriptions 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/Video_SubscriptionsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:video_subscriber"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"subscriptionId","description":"The unique identifier of the video stream subscription","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/subscriptions/{subscriptionId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files":{"get":{"tags":["Download Video"],"summary":"List available video files for a match","description":"List the video files for a match that are available for downloaded.","operationId":"video_file_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Files 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/Video_FilesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["read:video_files"]}],"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/content"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/feedType"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/video_file_format"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/locale"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/origin"},{"$ref":"#/components/parameters/provider"},{"$ref":"#/components/parameters/sourceNumber"},{"$ref":"#/components/parameters/video_file_status"},{"$ref":"#/components/parameters/storageProvider"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"content\":\"CLEAN\",\"external\":\"entityId,personId\",\"feedType\":\"PRIMARY\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"format\":\"HLS\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"locale\":\"fr_FR\",\"offset\":\"10\",\"origin\":\"STREAM\",\"provider\":\"Test Provider\",\"sourceNumber\":\"1\",\"status\":\"AVAILABLE\",\"storageProvider\":\"KEEMOTION\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&format=HLS&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&origin=STREAM&provider=Test%20Provider&sourceNumber=1&status=AVAILABLE&storageProvider=KEEMOTION&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Download Video"],"summary":"Add a new video file","description":"Add a new video file","operationId":"video_file_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Files 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/Video_FilesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:video_files"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"videoId":{"description":"The unique identifier of the video","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"provider":{"description":"Provider of the input","type":"string","maxLength":100,"example":"MANUAL"},"locale":{"description":"The locale of the video","type":"string","minLength":5,"maxLength":5,"pattern":"^[a-z]{2,2}-[A-Z]{2,2}$","example":"fr-FR"},"sourceNumber":{"description":"Unique identifier for the video source. This is unique for the provider/fixtureId/locale combination.  Unless the provider is supplying multiple sources per fixture/locale then this is normally 1.","type":"integer","format":"int32","default":1,"example":1},"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"resolution":{"description":"The resolution of the video input\n>- `1080` 1920 x 1080\n>- `288` 512 x 288\n>- `720` 1280 x 720\n","type":"string","enum":["288","720","1080"],"maxLength":30,"example":"1080"},"name":{"description":"The name/description of the video file","type":"string","maxLength":200},"feedType":{"description":"Type of video input\n>- `ADDITIONAL_ANGLE` Additional angle\n>- `LOW_LATENCY` Low Latency\n>- `PRIMARY` Primary\n","type":"string","enum":["PRIMARY","ADDITIONAL_ANGLE","LOW_LATENCY"],"maxLength":30,"example":"PRIMARY"},"content":{"description":"Content of the stream\n>- `CLEAN` Output signal is the same as the input signal\n>- `PROGRAM` Score overlays and other enhancements have been added to the stream\n","type":"string","enum":["CLEAN","PROGRAM"],"maxLength":30,"example":"CLEAN"},"fps":{"description":"fps for the video stream","type":"integer","format":"int32","default":25,"example":25},"origin":{"description":"The origin of the video file\n>- None None\n>- `STREAM` Streamed\n>- `UPLOAD` Uploaded\n>- `VENUE` Recorded in venue\n","type":"string","enum":["STREAM","VENUE","UPLOAD",null],"maxLength":30,"nullable":true,"example":"STREAM"},"format":{"description":"The format of the video file\n>- `HLS` A HLS play list\n>- `MP4` One MP4 file\n","type":"string","enum":["HLS","MP4"],"maxLength":30,"example":"HLS"},"storageProvider":{"description":"Where the video file is stored?\n>- None None\n>- `5STREAM` 5stream\n>- `AV_SPORTRADAR` AV Sportradar\n>- `KEEMOTION` Keemotion\n>- `SYNERGY` Synergy\n","type":"string","enum":["5STREAM","AV_SPORTRADAR","KEEMOTION","SYNERGY",null],"maxLength":30,"nullable":true,"example":"KEEMOTION"},"size":{"description":"Size (Mb) of the video (only given if a single file)","type":"number","format":"float","nullable":true,"example":1024.2},"length":{"description":"Lenth (mins) of the video","type":"number","format":"float","nullable":true,"example":123.4},"encoding":{"description":"How is the video/audio encoded. codecs etc.","type":"string","maxLength":30,"example":"H.264/AAC"},"url":{"description":"The URL where the file can be found","type":"string","maxLength":200,"writeOnly":true,"example":"https://hls.host.com/video/index.m3u8"},"status":{"description":"What is the status of the file?\n>- None None\n>- `AVAILABLE` Available for access\n>- `BUILDABLE` Not currently available - but can be built on request\n>- `PENDING` Being added - some parts may be available\n","type":"string","enum":["AVAILABLE","BUILDABLE","PENDING",null],"maxLength":30,"nullable":true,"example":"AVAILABLE"},"startTime":{"description":"The time this recording started (UTC)","type":"string","format":"date-time"},"expiry":{"description":"When does this file expire? (UTC)","type":"string","format":"date-time","nullable":true}},"title":"video file post body","required":["provider","locale","sourceNumber","fixtureId","resolution","feedType","content","fps","url","startTime"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"videoId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"resolution\\\":\\\"1080\\\",\\\"name\\\":\\\"string\\\",\\\"feedType\\\":\\\"PRIMARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"fps\\\":25,\\\"origin\\\":\\\"STREAM\\\",\\\"format\\\":\\\"HLS\\\",\\\"storageProvider\\\":\\\"KEEMOTION\\\",\\\"size\\\":1024.2,\\\"length\\\":123.4,\\\"encoding\\\":\\\"H.264/AAC\\\",\\\"url\\\":\\\"https://hls.host.com/video/index.m3u8\\\",\\\"status\\\":\\\"AVAILABLE\\\",\\\"startTime\\\":\\\"2019-08-24T14:15:22Z\\\",\\\"expiry\\\":\\\"2019-08-24T14:15:22Z\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"videoId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"resolution\\\":\\\"1080\\\",\\\"name\\\":\\\"string\\\",\\\"feedType\\\":\\\"PRIMARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"fps\\\":25,\\\"origin\\\":\\\"STREAM\\\",\\\"format\\\":\\\"HLS\\\",\\\"storageProvider\\\":\\\"KEEMOTION\\\",\\\"size\\\":1024.2,\\\"length\\\":123.4,\\\"encoding\\\":\\\"H.264/AAC\\\",\\\"url\\\":\\\"https://hls.host.com/video/index.m3u8\\\",\\\"status\\\":\\\"AVAILABLE\\\",\\\"startTime\\\":\\\"2019-08-24T14:15:22Z\\\",\\\"expiry\\\":\\\"2019-08-24T14:15:22Z\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"videoId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"resolution\\\":\\\"1080\\\",\\\"name\\\":\\\"string\\\",\\\"feedType\\\":\\\"PRIMARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"fps\\\":25,\\\"origin\\\":\\\"STREAM\\\",\\\"format\\\":\\\"HLS\\\",\\\"storageProvider\\\":\\\"KEEMOTION\\\",\\\"size\\\":1024.2,\\\"length\\\":123.4,\\\"encoding\\\":\\\"H.264/AAC\\\",\\\"url\\\":\\\"https://hls.host.com/video/index.m3u8\\\",\\\"status\\\":\\\"AVAILABLE\\\",\\\"startTime\\\":\\\"2019-08-24T14:15:22Z\\\",\\\"expiry\\\":\\\"2019-08-24T14:15:22Z\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"videoId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"resolution\\\":\\\"1080\\\",\\\"name\\\":\\\"string\\\",\\\"feedType\\\":\\\"PRIMARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"fps\\\":25,\\\"origin\\\":\\\"STREAM\\\",\\\"format\\\":\\\"HLS\\\",\\\"storageProvider\\\":\\\"KEEMOTION\\\",\\\"size\\\":1024.2,\\\"length\\\":123.4,\\\"encoding\\\":\\\"H.264/AAC\\\",\\\"url\\\":\\\"https://hls.host.com/video/index.m3u8\\\",\\\"status\\\":\\\"AVAILABLE\\\",\\\"startTime\\\":\\\"2019-08-24T14:15:22Z\\\",\\\"expiry\\\":\\\"2019-08-24T14:15:22Z\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"videoId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"provider\": \"MANUAL\",\n  \"locale\": \"fr-FR\",\n  \"sourceNumber\": 1,\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"resolution\": \"1080\",\n  \"name\": \"string\",\n  \"feedType\": \"PRIMARY\",\n  \"content\": \"CLEAN\",\n  \"fps\": 25,\n  \"origin\": \"STREAM\",\n  \"format\": \"HLS\",\n  \"storageProvider\": \"KEEMOTION\",\n  \"size\": 1024.2,\n  \"length\": 123.4,\n  \"encoding\": \"H.264/AAC\",\n  \"url\": \"https://hls.host.com/video/index.m3u8\",\n  \"status\": \"AVAILABLE\",\n  \"startTime\": \"2019-08-24T14:15:22Z\",\n  \"expiry\": \"2019-08-24T14:15:22Z\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  videoId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  provider: 'MANUAL',\n  locale: 'fr-FR',\n  sourceNumber: 1,\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  resolution: '1080',\n  name: 'string',\n  feedType: 'PRIMARY',\n  content: 'CLEAN',\n  fps: 25,\n  origin: 'STREAM',\n  format: 'HLS',\n  storageProvider: 'KEEMOTION',\n  size: 1024.2,\n  length: 123.4,\n  encoding: 'H.264/AAC',\n  url: 'https://hls.host.com/video/index.m3u8',\n  status: 'AVAILABLE',\n  startTime: '2019-08-24T14:15:22Z',\n  expiry: '2019-08-24T14:15:22Z'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"videoId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"provider\": @\"MANUAL\",\n                              @\"locale\": @\"fr-FR\",\n                              @\"sourceNumber\": @1,\n                              @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"resolution\": @\"1080\",\n                              @\"name\": @\"string\",\n                              @\"feedType\": @\"PRIMARY\",\n                              @\"content\": @\"CLEAN\",\n                              @\"fps\": @25,\n                              @\"origin\": @\"STREAM\",\n                              @\"format\": @\"HLS\",\n                              @\"storageProvider\": @\"KEEMOTION\",\n                              @\"size\": @1024.2,\n                              @\"length\": @123.4,\n                              @\"encoding\": @\"H.264/AAC\",\n                              @\"url\": @\"https://hls.host.com/video/index.m3u8\",\n                              @\"status\": @\"AVAILABLE\",\n                              @\"startTime\": @\"2019-08-24T14:15:22Z\",\n                              @\"expiry\": @\"2019-08-24T14:15:22Z\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"videoId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"resolution\\\":\\\"1080\\\",\\\"name\\\":\\\"string\\\",\\\"feedType\\\":\\\"PRIMARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"fps\\\":25,\\\"origin\\\":\\\"STREAM\\\",\\\"format\\\":\\\"HLS\\\",\\\"storageProvider\\\":\\\"KEEMOTION\\\",\\\"size\\\":1024.2,\\\"length\\\":123.4,\\\"encoding\\\":\\\"H.264/AAC\\\",\\\"url\\\":\\\"https://hls.host.com/video/index.m3u8\\\",\\\"status\\\":\\\"AVAILABLE\\\",\\\"startTime\\\":\\\"2019-08-24T14:15:22Z\\\",\\\"expiry\\\":\\\"2019-08-24T14:15:22Z\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"videoId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"resolution\\\":\\\"1080\\\",\\\"name\\\":\\\"string\\\",\\\"feedType\\\":\\\"PRIMARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"fps\\\":25,\\\"origin\\\":\\\"STREAM\\\",\\\"format\\\":\\\"HLS\\\",\\\"storageProvider\\\":\\\"KEEMOTION\\\",\\\"size\\\":1024.2,\\\"length\\\":123.4,\\\"encoding\\\":\\\"H.264/AAC\\\",\\\"url\\\":\\\"https://hls.host.com/video/index.m3u8\\\",\\\"status\\\":\\\"AVAILABLE\\\",\\\"startTime\\\":\\\"2019-08-24T14:15:22Z\\\",\\\"expiry\\\":\\\"2019-08-24T14:15:22Z\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"videoId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"resolution\\\":\\\"1080\\\",\\\"name\\\":\\\"string\\\",\\\"feedType\\\":\\\"PRIMARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"fps\\\":25,\\\"origin\\\":\\\"STREAM\\\",\\\"format\\\":\\\"HLS\\\",\\\"storageProvider\\\":\\\"KEEMOTION\\\",\\\"size\\\":1024.2,\\\"length\\\":123.4,\\\"encoding\\\":\\\"H.264/AAC\\\",\\\"url\\\":\\\"https://hls.host.com/video/index.m3u8\\\",\\\"status\\\":\\\"AVAILABLE\\\",\\\"startTime\\\":\\\"2019-08-24T14:15:22Z\\\",\\\"expiry\\\":\\\"2019-08-24T14:15:22Z\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"videoId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"provider\": \"MANUAL\",\n    \"locale\": \"fr-FR\",\n    \"sourceNumber\": 1,\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"resolution\": \"1080\",\n    \"name\": \"string\",\n    \"feedType\": \"PRIMARY\",\n    \"content\": \"CLEAN\",\n    \"fps\": 25,\n    \"origin\": \"STREAM\",\n    \"format\": \"HLS\",\n    \"storageProvider\": \"KEEMOTION\",\n    \"size\": 1024.2,\n    \"length\": 123.4,\n    \"encoding\": \"H.264/AAC\",\n    \"url\": \"https://hls.host.com/video/index.m3u8\",\n    \"status\": \"AVAILABLE\",\n    \"startTime\": \"2019-08-24T14:15:22Z\",\n    \"expiry\": \"2019-08-24T14:15:22Z\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"videoId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"provider\\\":\\\"MANUAL\\\",\\\"locale\\\":\\\"fr-FR\\\",\\\"sourceNumber\\\":1,\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"resolution\\\":\\\"1080\\\",\\\"name\\\":\\\"string\\\",\\\"feedType\\\":\\\"PRIMARY\\\",\\\"content\\\":\\\"CLEAN\\\",\\\"fps\\\":25,\\\"origin\\\":\\\"STREAM\\\",\\\"format\\\":\\\"HLS\\\",\\\"storageProvider\\\":\\\"KEEMOTION\\\",\\\"size\\\":1024.2,\\\"length\\\":123.4,\\\"encoding\\\":\\\"H.264/AAC\\\",\\\"url\\\":\\\"https://hls.host.com/video/index.m3u8\\\",\\\"status\\\":\\\"AVAILABLE\\\",\\\"startTime\\\":\\\"2019-08-24T14:15:22Z\\\",\\\"expiry\\\":\\\"2019-08-24T14:15:22Z\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"videoId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"provider\":\"MANUAL\",\"locale\":\"fr-FR\",\"sourceNumber\":1,\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"resolution\":\"1080\",\"name\":\"string\",\"feedType\":\"PRIMARY\",\"content\":\"CLEAN\",\"fps\":25,\"origin\":\"STREAM\",\"format\":\"HLS\",\"storageProvider\":\"KEEMOTION\",\"size\":1024.2,\"length\":123.4,\"encoding\":\"H.264/AAC\",\"url\":\"https://hls.host.com/video/index.m3u8\",\"status\":\"AVAILABLE\",\"startTime\":\"2019-08-24T14:15:22Z\",\"expiry\":\"2019-08-24T14:15:22Z\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"videoId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"provider\": \"MANUAL\",\n  \"locale\": \"fr-FR\",\n  \"sourceNumber\": 1,\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"resolution\": \"1080\",\n  \"name\": \"string\",\n  \"feedType\": \"PRIMARY\",\n  \"content\": \"CLEAN\",\n  \"fps\": 25,\n  \"origin\": \"STREAM\",\n  \"format\": \"HLS\",\n  \"storageProvider\": \"KEEMOTION\",\n  \"size\": 1024.2,\n  \"length\": 123.4,\n  \"encoding\": \"H.264/AAC\",\n  \"url\": \"https://hls.host.com/video/index.m3u8\",\n  \"status\": \"AVAILABLE\",\n  \"startTime\": \"2019-08-24T14:15:22Z\",\n  \"expiry\": \"2019-08-24T14:15:22Z\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/files?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/video/files/{videoId}/url":{"get":{"tags":["Download Video"],"summary":"Download URL","description":"Generate a url to download a video file for a match. This link is only valid for 30 minutes.","operationId":"video_file_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Files_Download 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/Video_Files_DownloadModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["read:video_files"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"videoId","description":"The unique identifier of the video file","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}/url\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}/url?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/video/files/{videoId}":{"delete":{"tags":["Download Video"],"summary":"Delete a video file","description":"Delete a video file","operationId":"video_file_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Files_Download 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/Video_Files_DownloadModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:video_files"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"videoId","description":"The unique identifier of the video file","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/files/{videoId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/for/{baseType}":{"get":{"tags":["Images"],"summary":"Get a list of images","description":"Return a list of images for the type","operationId":"images_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"baseType","description":"Media Base Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"PERSON"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/imageType"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/rating"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"imageType\":\"LOGO\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"rating\":\"UNKNOWN\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}":{"get":{"tags":["Images"],"summary":"Get a list of images for a fixture","description":"Return a list of images for the fixture","operationId":"images_for_fixture_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"baseType","description":"Base Type. Multiple allowed (comma-delimited).\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"PERSON,ENTITY"},"required":false,"in":"query"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"name":"imageType","description":"Upload Type. Multiple allowed (comma-delimited).\n>- `LOGO` Logo\n>- `LOGO_ALTERNATE` Logo - Alternate\n>- `LOGO_BACKGROUND` Logo Background\n>- `PERSON_HEAD` Head photo\n>- `PERSON_POSE` Posing photo\n>- `PERSON_WAIST` Waist and Head photo\n>- `TEAM_PHOTO` Team Photo\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON_HEAD","PERSON_WAIST","PERSON_POSE","LOGO","LOGO_ALTERNATE","LOGO_BACKGROUND","TEAM_PHOTO","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"LOGO,PERSON_HEAD"},"required":false,"in":"query"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/rating"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"baseType\":\"PERSON,ENTITY\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"imageType\":\"LOGO,PERSON_HEAD\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"rating\":\"UNKNOWN\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/FIXTURE/{fixtureId}?added=2018-08-16T02:10:48&baseType=PERSON,ENTITY&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO,PERSON_HEAD&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/for/ORGANIZATION":{"get":{"tags":["Images"],"summary":"Get a list of images for the Organization","description":"Return a list of images for the Organization","operationId":"images_list_organization","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"baseType","description":"Media Base Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"default":"ORGANIZATION","example":"PERSON"},"required":false,"in":"query"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/imageType"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/rating"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"baseType\":\"PERSON\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"imageType\":\"LOGO\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"rating\":\"UNKNOWN\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION?added=2018-08-16T02:10:48&baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}":{"get":{"tags":["Images"],"summary":"Get a list of images for a specific type and id","description":"Return a list of images for the type and id","operationId":"images_list_id","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"baseId","description":"The unique identifier of the object associated with this record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"baseType","description":"Media Base Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"PERSON"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/imageType"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/rating"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"imageType\":\"LOGO\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"rating\":\"UNKNOWN\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}":{"get":{"tags":["Images"],"summary":"Get a list of images for a type in a secondary Type","description":"Return a list of images assigned to type for a secondary type and Id","operationId":"images_list_secondary","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"baseType","description":"Media Base Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"PERSON"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/imageType"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/rating"},{"name":"secondaryId","description":"The unique identifier of the secondary object associated with this image record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"secondaryType","description":"Media Secondary Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `SEASON` Season\n","schema":{"type":"string","enum":["ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE"],"maxLength":100,"example":"ENTITY"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"imageType\":\"LOGO\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"rating\":\"UNKNOWN\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}":{"get":{"tags":["Images"],"summary":"Get a list of images for a specific base and secondary id","description":"Return a list of images for the base id for a secondary id","operationId":"images_list_id_secondary","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"baseId","description":"The unique identifier of the object associated with this record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"baseType","description":"Media Base Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"PERSON"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/imageType"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/rating"},{"name":"secondaryId","description":"The unique identifier of the secondary object associated with this image record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"secondaryType","description":"Media Secondary Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `SEASON` Season\n","schema":{"type":"string","enum":["ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE"],"maxLength":100,"example":"ENTITY"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"imageType\":\"LOGO\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"rating\":\"UNKNOWN\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&imageType=LOGO&include=organizations,fixtures,entities&limit=10&offset=10&rating=UNKNOWN&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/{imageId}":{"get":{"tags":["Images"],"summary":"Get an image","description":"Return detailed information about a specific image","operationId":"images_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"name":"imageId","description":"The unique identifier of the image record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Images"],"summary":"Delete an image","description":"Delete an image","operationId":"images_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/forceDelete"},{"$ref":"#/components/parameters/hideNull"},{"name":"imageId","description":"The unique identifier of the image record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/{imageId}/rating":{"put":{"tags":["Images"],"summary":"Update the rating for an image","description":"Set the rating for an image","operationId":"images_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:image_rating"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"name":"imageId","description":"The unique identifier of the image record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"rating":{"description":"The rating given to the quality of the image.  All images are LOW by default but are set ad MEDIUM if they are large enough and have transparency.  Images are only marked as HIGH if they have been manually reviewed.  You should take your use-case into account when you go to use the image.\n>- `HIGH` High\n>- `LOW` Low\n>- `MEDIUM` Medium\n","type":"string","enum":["LOW","MEDIUM","HIGH"],"maxLength":100,"example":"LOW"}},"title":"images put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"rating\\\":\\\"LOW\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"rating\\\":\\\"LOW\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"rating\\\":\\\"LOW\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"rating\\\":\\\"LOW\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"rating\": \"LOW\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({rating: 'LOW'}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"rating\": @\"LOW\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"rating\\\":\\\"LOW\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"rating\\\":\\\"LOW\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"rating\\\":\\\"LOW\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}/rating\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\"rating\": \"LOW\"}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"rating\\\":\\\"LOW\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"rating\":\"LOW\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\"rating\": \"LOW\"] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/{imageId}/rating?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}":{"post":{"tags":["Images"],"summary":"Upload a new image","description":"\nYou can upload the image in one of two ways:\n\n- A binary blob in the POST data\n- A 'file' field in a multipart/form-data\n\n\n**Binary Blob**\n\nUpload the image by supplying the image as binary in the POST data.\n\nThe HTTP request would look like\n\n    POST /v1/volleyball/o/b1a23/images/for/PERSON/81814d2c-d640-11e8-9f8b-f2801f1b9fd1/PERSON_HEAD\n    Host: example.com\n    Authorization: Bearer some-token\n    Content-Length: 808\n    Content-Type: image/png\n\n    [file content goes there]\n\n\n**Multi-part form**\n\nUpload the image by supplying it as a 'file' field in a multipart form.\nThe file field must be called `filedata` and the content-type must be set to `multipart/form-data`\n\n**Note**: By uploading the image you confirm that you have the legal right to do so and to allow this image to be distributed.\n","operationId":"images_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"baseId","description":"The unique identifier of the object associated with this record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"baseType","description":"Media Base Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"PERSON"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"name":"imageType","description":"Upload Type\n>- `LOGO` Logo\n>- `LOGO_ALTERNATE` Logo - Alternate\n>- `LOGO_BACKGROUND` Logo Background\n>- `PERSON_HEAD` Head photo\n>- `PERSON_POSE` Posing photo\n>- `PERSON_WAIST` Waist and Head photo\n>- `TEAM_PHOTO` Team Photo\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON_HEAD","PERSON_WAIST","PERSON_POSE","LOGO","LOGO_ALTERNATE","LOGO_BACKGROUND","TEAM_PHOTO","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"LOGO"},"required":true,"in":"path"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/octet-stream\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/octet-stream\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"POST\", url, nil)\n\n\treq.Header.Add(\"content-type\", \"application/octet-stream\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/octet-stream\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/octet-stream\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/octet-stream\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/octet-stream\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/octet-stream\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\n\nClient.call ~headers `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/octet-stream\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = {\n    'content-type': \"application/octet-stream\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\n    \"content-type\": \"application/octet-stream\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/octet-stream'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/octet-stream'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/octet-stream\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL":{"post":{"tags":["Images"],"summary":"Upload a new image from a URL","description":"This method allows a new image to uploaded by providing a URL where the image can be downloaded from.\n\n**Note**: By uploading the image you confirm that you have the legal right to do so and to allow this image to be distributed.\n","operationId":"images_insert_from_url","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"baseId","description":"The unique identifier of the object associated with this record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"baseType","description":"Media Base Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"PERSON"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"name":"imageType","description":"Upload Type\n>- `LOGO` Logo\n>- `LOGO_ALTERNATE` Logo - Alternate\n>- `LOGO_BACKGROUND` Logo Background\n>- `PERSON_HEAD` Head photo\n>- `PERSON_POSE` Posing photo\n>- `PERSON_WAIST` Waist and Head photo\n>- `TEAM_PHOTO` Team Photo\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON_HEAD","PERSON_WAIST","PERSON_POSE","LOGO","LOGO_ALTERNATE","LOGO_BACKGROUND","TEAM_PHOTO","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"LOGO"},"required":true,"in":"path"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"url":{"description":"The URL of the image","type":"string","maxLength":250,"example":"http://www.example.com/images/image1.png"}},"title":"images post body","required":["url"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"url\": \"http://www.example.com/images/image1.png\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({url: 'http://www.example.com/images/image1.png'}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"url\": @\"http://www.example.com/images/image1.png\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\"url\": \"http://www.example.com/images/image1.png\"}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"url\":\"http://www.example.com/images/image1.png\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\"url\": \"http://www.example.com/images/image1.png\"] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}":{"post":{"tags":["Images"],"summary":"Upload a new image in a secondary type","description":"Add a new image for a type in a secondary type.\nYou can upload the image in one of two ways:\n\n- A binary blob in the POST data\n- A 'file' field in a multipart/form-data\n\n\n**Binary Blob**\n\nUpload the image by supplying the image as binary in the POST data.\n\nThe HTTP request would look like\n\n    POST /v1/volleyball/o/b1a23/images/for/PERSON/81814d2c-d640-11e8-9f8b-f2801f1b9fd1/PERSON_HEAD\n    Host: example.com\n    Authorization: Bearer some-token\n    Content-Length: 808\n    Content-Type: image/png\n\n    [file content goes there]\n\n\n**Multi-part form**\n\nUpload the image by supplying it as a 'file' field in a multipart form.\nThe file field must be called `filedata` and the content-type must be set to `multipart/form-data`\n\n**Note**: By uploading the image you confirm that you have the legal right to do so and to allow this image to be distributed.\n","operationId":"images_insert_secondary","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"baseId","description":"The unique identifier of the object associated with this record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"baseType","description":"Media Base Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"PERSON"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"name":"imageType","description":"Upload Type\n>- `LOGO` Logo\n>- `LOGO_ALTERNATE` Logo - Alternate\n>- `LOGO_BACKGROUND` Logo Background\n>- `PERSON_HEAD` Head photo\n>- `PERSON_POSE` Posing photo\n>- `PERSON_WAIST` Waist and Head photo\n>- `TEAM_PHOTO` Team Photo\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON_HEAD","PERSON_WAIST","PERSON_POSE","LOGO","LOGO_ALTERNATE","LOGO_BACKGROUND","TEAM_PHOTO","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"LOGO"},"required":true,"in":"path"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"secondaryId","description":"The unique identifier of the secondary object associated with this image record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"secondaryType","description":"Media Secondary Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `SEASON` Season\n","schema":{"type":"string","enum":["ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE"],"maxLength":100,"example":"ENTITY"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/octet-stream\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/octet-stream\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"POST\", url, nil)\n\n\treq.Header.Add(\"content-type\", \"application/octet-stream\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/octet-stream\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/octet-stream\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/octet-stream\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/octet-stream\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/octet-stream\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\n\nClient.call ~headers `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/octet-stream\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = {\n    'content-type': \"application/octet-stream\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\n    \"content-type\": \"application/octet-stream\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/octet-stream'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/octet-stream'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/octet-stream\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL":{"post":{"tags":["Images"],"summary":"Upload a new image in a secondary type from a URL","description":"This method allows a new image to be uploaded against a secondary type by providing a URL where the image can be downloaded from.\n\n**Note**: By uploading the image you confirm that you have the legal right to do so and to allow this image to be distributed.\n","operationId":"images_insert_secondary_from_url","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"baseId","description":"The unique identifier of the object associated with this record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"baseType","description":"Media Base Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"PERSON"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"name":"imageType","description":"Upload Type\n>- `LOGO` Logo\n>- `LOGO_ALTERNATE` Logo - Alternate\n>- `LOGO_BACKGROUND` Logo Background\n>- `PERSON_HEAD` Head photo\n>- `PERSON_POSE` Posing photo\n>- `PERSON_WAIST` Waist and Head photo\n>- `TEAM_PHOTO` Team Photo\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON_HEAD","PERSON_WAIST","PERSON_POSE","LOGO","LOGO_ALTERNATE","LOGO_BACKGROUND","TEAM_PHOTO","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"LOGO"},"required":true,"in":"path"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"secondaryId","description":"The unique identifier of the secondary object associated with this image record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"secondaryType","description":"Media Secondary Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `SEASON` Season\n","schema":{"type":"string","enum":["ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE"],"maxLength":100,"example":"ENTITY"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"url":{"description":"The URL of the image","type":"string","maxLength":250,"example":"http://www.example.com/images/image1.png"}},"title":"images post body","required":["url"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"url\": \"http://www.example.com/images/image1.png\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({url: 'http://www.example.com/images/image1.png'}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"url\": @\"http://www.example.com/images/image1.png\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\"url\": \"http://www.example.com/images/image1.png\"}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"url\":\"http://www.example.com/images/image1.png\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\"url\": \"http://www.example.com/images/image1.png\"] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/{baseType}/{baseId}/in/{secondaryType}/{secondaryId}/{imageType}/fromURL?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}":{"post":{"tags":["Images"],"summary":"Upload a new image for the organization","description":"Add a new image for the organization.\nYou can upload the image in one of two ways:\n\n- A binary blob in the POST data\n- A 'file' field in a multipart/form-data\n\n\n**Binary Blob**\n\nUpload the image by supplying the image as binary in the POST data.\n\nThe HTTP request would look like\n\n    POST /v1/volleyball/o/b1a23/images/for/PERSON/81814d2c-d640-11e8-9f8b-f2801f1b9fd1/PERSON_HEAD\n    Host: example.com\n    Authorization: Bearer some-token\n    Content-Length: 808\n    Content-Type: image/png\n\n    [file content goes there]\n\n\n**Multi-part form**\n\nUpload the image by supplying it as a 'file' field in a multipart form.\nThe file field must be called `filedata` and the content-type must be set to `multipart/form-data`\n\n**Note**: By uploading the image you confirm that you have the legal right to do so and to allow this image to be distributed.\n","operationId":"images_insert_organization","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"baseType","description":"Media Base Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"default":"ORGANIZATION","example":"PERSON"},"required":false,"in":"query"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"name":"imageType","description":"Upload Type\n>- `LOGO` Logo\n>- `LOGO_ALTERNATE` Logo - Alternate\n>- `LOGO_BACKGROUND` Logo Background\n>- `PERSON_HEAD` Head photo\n>- `PERSON_POSE` Posing photo\n>- `PERSON_WAIST` Waist and Head photo\n>- `TEAM_PHOTO` Team Photo\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON_HEAD","PERSON_WAIST","PERSON_POSE","LOGO","LOGO_ALTERNATE","LOGO_BACKGROUND","TEAM_PHOTO","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"LOGO"},"required":true,"in":"path"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/octet-stream\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/octet-stream\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"POST\", url, nil)\n\n\treq.Header.Add(\"content-type\", \"application/octet-stream\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/octet-stream\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/octet-stream\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/octet-stream\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/octet-stream\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/octet-stream\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\n\nClient.call ~headers `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/octet-stream\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = {\n    'content-type': \"application/octet-stream\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}\"\n\nquerystring = {\"baseType\":\"PERSON\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\n    \"content-type\": \"application/octet-stream\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/octet-stream'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/octet-stream'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/octet-stream\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL":{"post":{"tags":["Images"],"summary":"Upload a new image for the organization from a URL","description":"This method allows a new image to be uploaded against the organization type by providing a URL where the image can be downloaded from.\n\n**Note**: By uploading the image you confirm that you have the legal right to do so and to allow this image to be distributed.\n","operationId":"images_insert_organization_from_url","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Images 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/ImagesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"baseType","description":"Media Base Type\n>- `COMPETITION` Competition\n>- `CONFERENCE` Conference\n>- `DIVISION` Division\n>- `ENTITY` Entity\n>- `ENTITYGROUP` Entity Group\n>- `LEAGUE` League\n>- `ORGANIZATION` Organization\n>- `PERSON` Person\n>- `SEASON` Season\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON","ENTITY","ENTITYGROUP","COMPETITION","SEASON","LEAGUE","ORGANIZATION","DIVISION","CONFERENCE","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"default":"ORGANIZATION","example":"PERSON"},"required":false,"in":"query"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"name":"imageType","description":"Upload Type\n>- `LOGO` Logo\n>- `LOGO_ALTERNATE` Logo - Alternate\n>- `LOGO_BACKGROUND` Logo Background\n>- `PERSON_HEAD` Head photo\n>- `PERSON_POSE` Posing photo\n>- `PERSON_WAIST` Waist and Head photo\n>- `TEAM_PHOTO` Team Photo\n>- `UNIFORM` Uniform\n>- `UNIFORM_ITEM` Uniform Item\n","schema":{"type":"string","enum":["PERSON_HEAD","PERSON_WAIST","PERSON_POSE","LOGO","LOGO_ALTERNATE","LOGO_BACKGROUND","TEAM_PHOTO","UNIFORM","UNIFORM_ITEM"],"maxLength":100,"example":"LOGO"},"required":true,"in":"path"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"url":{"description":"The URL of the image","type":"string","maxLength":250,"example":"http://www.example.com/images/image1.png"}},"title":"images post body","required":["url"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"url\": \"http://www.example.com/images/image1.png\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({url: 'http://www.example.com/images/image1.png'}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"url\": @\"http://www.example.com/images/image1.png\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL\"\n\nquerystring = {\"baseType\":\"PERSON\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\"url\": \"http://www.example.com/images/image1.png\"}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"url\\\":\\\"http://www.example.com/images/image1.png\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"url\":\"http://www.example.com/images/image1.png\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\"url\": \"http://www.example.com/images/image1.png\"] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/images/for/ORGANIZATION/{imageType}/fromURL?baseType=PERSON&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/entities":{"get":{"tags":["Season Teams"],"summary":"Get a list of teams in the season","description":"Return a list of teams for a season","operationId":"season_entities_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entities_List 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/Season_Entities_ListModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/entityNameFullLatinContains"},{"$ref":"#/components/parameters/entityNameFullLocalContains"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityNameFullLatinContains\":\"Dav and entityNameFullLatin='David Johnson'\",\"entityNameFullLocalContains\":\"Dav and entityNameFullLocal='David Johnson'\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'\\''David%20Johnson'\\''&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'\\''David%20Johnson'\\''&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?added=2018-08-16T02:10:48&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Season Teams"],"summary":"Add or Update a team in a season","description":"Depending on primary keys, Add a team or update an existing entitiy in a season","operationId":"season_entities_insert_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entities 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/Season_EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"rosterStatus":{"description":"The status of the TEAM season teams\n>- `APPROVED` Approved\n>- `PENDING` Pending\n>- `REJECTED` Rejected\n>- `SUBMITTED` Submitted\n>- `UNKNOWN` Unknown\n","type":"string","enum":["UNKNOWN","SUBMITTED","PENDING","APPROVED","REJECTED"],"maxLength":100,"default":"UNKNOWN","example":"APPROVED"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"seed":{"description":"Initial seeding","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"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,"example":"A123"}},"title":"season teams post body","required":["seasonId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"rosterStatus\": \"APPROVED\",\n  \"status\": \"ACTIVE\",\n  \"seed\": 1,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  conferenceId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  divisionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  rosterStatus: 'APPROVED',\n  status: 'ACTIVE',\n  seed: 1,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"conferenceId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"divisionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"rosterStatus\": @\"APPROVED\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"seed\": @1,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"rosterStatus\": \"APPROVED\",\n    \"status\": \"ACTIVE\",\n    \"seed\": 1,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"divisionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"rosterStatus\":\"APPROVED\",\"status\":\"ACTIVE\",\"seed\":1,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"rosterStatus\": \"APPROVED\",\n  \"status\": \"ACTIVE\",\n  \"seed\": 1,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/entities/{entityId}":{"get":{"tags":["Season Teams"],"summary":"Get a list of seasons for a team","description":"Return a list of seasons that a team participated in","operationId":"season_entity_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entities_List 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/Season_Entities_ListModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/entities":{"get":{"tags":["Season Teams"],"summary":"Get a list of seasons and its participating teams ","description":"Return a list of seasons and its participating teams","operationId":"season_entity_list_by_multiple_seasons","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entities_List 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/Season_Entities_ListModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/entityIds"},{"$ref":"#/components/parameters/entityNameFullLatinContains"},{"$ref":"#/components/parameters/entityNameFullLocalContains"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/seasonIds"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"entityIds\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"entityNameFullLatinContains\":\"Dav and entityNameFullLatin='David Johnson'\",\"entityNameFullLocalContains\":\"Dav and entityNameFullLocal='David Johnson'\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"seasonIds\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'\\''David%20Johnson'\\''&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'\\''David%20Johnson'\\''&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?added=2018-08-16T02:10:48&entityIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&entityNameFullLatinContains=Dav%20and%20entityNameFullLatin%3D'David%20Johnson'&entityNameFullLocalContains=Dav%20and%20entityNameFullLocal%3D'David%20Johnson'&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonIds=009e9276-5c80-11e8-9c2d-fa7ae01bbebc,de83c6a8-3b29-11eb-bdb7-0242ac130005&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Season Teams"],"summary":"Add or Update a team for seasons","description":"Depending on primary keys, Add a team or update an existing entitiy for seasons","operationId":"season_entities_insert_update_season_payload","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entities 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/Season_EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"conferenceId":{"description":"The unique identifier of the conference","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"divisionId":{"description":"The unique identifier of the division","type":"string","format":"uuid","nullable":true,"example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"rosterStatus":{"description":"The status of the TEAM season teams\n>- `APPROVED` Approved\n>- `PENDING` Pending\n>- `REJECTED` Rejected\n>- `SUBMITTED` Submitted\n>- `UNKNOWN` Unknown\n","type":"string","enum":["UNKNOWN","SUBMITTED","PENDING","APPROVED","REJECTED"],"maxLength":100,"default":"UNKNOWN","example":"APPROVED"},"status":{"description":"Status\n>- `ACTIVE` Active\n>- `INACTIVE` Inactive\n>- `PENDING` Pending\n","type":"string","enum":["ACTIVE","INACTIVE","PENDING"],"maxLength":30,"example":"ACTIVE"},"seed":{"description":"Initial seeding","type":"integer","format":"int32","maxLength":3,"nullable":true,"example":1},"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,"example":"A123"}},"title":"season teams post body","required":["seasonId"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"rosterStatus\": \"APPROVED\",\n  \"status\": \"ACTIVE\",\n  \"seed\": 1,\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  conferenceId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  divisionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  rosterStatus: 'APPROVED',\n  status: 'ACTIVE',\n  seed: 1,\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"conferenceId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"divisionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"rosterStatus\": @\"APPROVED\",\n                              @\"status\": @\"ACTIVE\",\n                              @\"seed\": @1,\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"rosterStatus\": \"APPROVED\",\n    \"status\": \"ACTIVE\",\n    \"seed\": 1,\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"conferenceId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"divisionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"rosterStatus\\\":\\\"APPROVED\\\",\\\"status\\\":\\\"ACTIVE\\\",\\\"seed\\\":1,\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"conferenceId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"divisionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"rosterStatus\":\"APPROVED\",\"status\":\"ACTIVE\",\"seed\":1,\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"conferenceId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"divisionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"rosterStatus\": \"APPROVED\",\n  \"status\": \"ACTIVE\",\n  \"seed\": 1,\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/entities?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}":{"get":{"tags":["Season Teams"],"summary":"Get a team in a season","description":"Return the detail of a specific team in a season","operationId":"season_entities_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entities 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/Season_EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?added=2018-08-16T02:10:48&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Season Teams"],"summary":"Delete a team from a season","description":"Delete a specific team from a season","operationId":"season_entities_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Season_Entities 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/Season_EntitiesModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"entityId","description":"The unique identifier of the entity","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"seasonId","description":"The unique identifier of the season","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/seasons/{seasonId}/entities/{entityId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/transfers":{"get":{"tags":["Transfers"],"summary":"Get a list of transfers","description":"Return a list of transfers~","operationId":"transfers_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Transfers 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/TransfersModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitionId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/transferType"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"transferType\":\"TRANSFER\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&transferType=TRANSFER&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Transfers"],"summary":"Create a transfer","description":"Add a new transfer","operationId":"transfers_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Transfers 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/TransfersModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"transferId":{"description":"The unique identifier of the transfer","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"components":{"type":"array","nullable":true,"title":"Transfer components","description":"List of transfer components","items":{"type":"object","title":"Transfer component","additionalProperties":false,"properties":{"personId":{"description":"The uuid of the person","type":"string"},"fromEntityGroupId":{"description":"The uuid of the source entity group","type":"string"},"toEntityGroupId":{"description":"The uuid of the destination entity group","type":"string"},"extraAllowances":{"description":"Details of additional allowances included in the transfer","type":"string","example":"Cash, 1st Round Pick"}}}},"status":{"description":"Transfer Status\n>- None None\n>- `APPROVED` Approved\n>- `DECLINED` Decline\n>- `PENDING` Pending\n","type":"string","enum":["APPROVED","PENDING","DECLINED",null],"maxLength":30,"nullable":true,"example":"APPROVED"},"reference":{"description":"Transfer reference number","type":"string","maxLength":100},"transferType":{"description":"Type of transfer\n>- `DROPPED` Dropped\n>- `OTHER` Other\n>- `PERMIT` Permit\n>- `TRADE` Trade\n>- `TRANSFER` Transfer\n","type":"string","enum":["TRADE","TRANSFER","DROPPED","PERMIT","OTHER"],"maxLength":100,"example":"TRANSFER"},"dateTransfer":{"description":"Date of transfer","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"datePermitFrom":{"description":"Date the permit started","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"datePermitTo":{"description":"Date the permit ended","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"notes":{"description":"Notes","type":"string","maxLength":1000,"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,"example":"A123"}},"title":"~transfer~ post body","required":["transferType"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"transferId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"transferId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"transferId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"transferId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"transferId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"components\": [\n    {\n      \"personId\": \"string\",\n      \"fromEntityGroupId\": \"string\",\n      \"toEntityGroupId\": \"string\",\n      \"extraAllowances\": \"Cash, 1st Round Pick\"\n    }\n  ],\n  \"status\": \"APPROVED\",\n  \"reference\": \"string\",\n  \"transferType\": \"TRANSFER\",\n  \"dateTransfer\": \"1978-08-24\",\n  \"datePermitFrom\": \"1978-08-24\",\n  \"datePermitTo\": \"1978-08-24\",\n  \"notes\": \"string\",\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  transferId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  competitionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  components: [\n    {\n      personId: 'string',\n      fromEntityGroupId: 'string',\n      toEntityGroupId: 'string',\n      extraAllowances: 'Cash, 1st Round Pick'\n    }\n  ],\n  status: 'APPROVED',\n  reference: 'string',\n  transferType: 'TRANSFER',\n  dateTransfer: '1978-08-24',\n  datePermitFrom: '1978-08-24',\n  datePermitTo: '1978-08-24',\n  notes: 'string',\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"transferId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"competitionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"components\": @[ @{ @\"personId\": @\"string\", @\"fromEntityGroupId\": @\"string\", @\"toEntityGroupId\": @\"string\", @\"extraAllowances\": @\"Cash, 1st Round Pick\" } ],\n                              @\"status\": @\"APPROVED\",\n                              @\"reference\": @\"string\",\n                              @\"transferType\": @\"TRANSFER\",\n                              @\"dateTransfer\": @\"1978-08-24\",\n                              @\"datePermitFrom\": @\"1978-08-24\",\n                              @\"datePermitTo\": @\"1978-08-24\",\n                              @\"notes\": @\"string\",\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"transferId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"transferId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"transferId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"transferId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"components\": [\n        {\n            \"personId\": \"string\",\n            \"fromEntityGroupId\": \"string\",\n            \"toEntityGroupId\": \"string\",\n            \"extraAllowances\": \"Cash, 1st Round Pick\"\n        }\n    ],\n    \"status\": \"APPROVED\",\n    \"reference\": \"string\",\n    \"transferType\": \"TRANSFER\",\n    \"dateTransfer\": \"1978-08-24\",\n    \"datePermitFrom\": \"1978-08-24\",\n    \"datePermitTo\": \"1978-08-24\",\n    \"notes\": \"string\",\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"transferId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"transferId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"components\":[{\"personId\":\"string\",\"fromEntityGroupId\":\"string\",\"toEntityGroupId\":\"string\",\"extraAllowances\":\"Cash, 1st Round Pick\"}],\"status\":\"APPROVED\",\"reference\":\"string\",\"transferType\":\"TRANSFER\",\"dateTransfer\":\"1978-08-24\",\"datePermitFrom\":\"1978-08-24\",\"datePermitTo\":\"1978-08-24\",\"notes\":\"string\",\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"transferId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"components\": [\n    [\n      \"personId\": \"string\",\n      \"fromEntityGroupId\": \"string\",\n      \"toEntityGroupId\": \"string\",\n      \"extraAllowances\": \"Cash, 1st Round Pick\"\n    ]\n  ],\n  \"status\": \"APPROVED\",\n  \"reference\": \"string\",\n  \"transferType\": \"TRANSFER\",\n  \"dateTransfer\": \"1978-08-24\",\n  \"datePermitFrom\": \"1978-08-24\",\n  \"datePermitTo\": \"1978-08-24\",\n  \"notes\": \"string\",\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/transfers/{transferId}":{"get":{"tags":["Transfers"],"summary":"Get a transfer","description":"Return detailed information about a specific transfer","operationId":"transfer_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Transfers 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/TransfersModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"transferId","description":"The unique identifier of the transfer record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Transfers"],"summary":"Update a transfer","description":"Change the information of a specific transfer","operationId":"transfers_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Transfers 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/TransfersModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"},{"name":"transferId","description":"The unique identifier of the transfer record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"competitionId":{"description":"The unique identifier of the competition","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seasonId":{"description":"The unique identifier of the season","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"components":{"type":"array","nullable":true,"title":"Transfer components","description":"List of transfer components","items":{"type":"object","title":"Transfer component","additionalProperties":false,"properties":{"personId":{"description":"The uuid of the person","type":"string"},"fromEntityGroupId":{"description":"The uuid of the source entity group","type":"string"},"toEntityGroupId":{"description":"The uuid of the destination entity group","type":"string"},"extraAllowances":{"description":"Details of additional allowances included in the transfer","type":"string","example":"Cash, 1st Round Pick"}}}},"status":{"description":"Transfer Status\n>- None None\n>- `APPROVED` Approved\n>- `DECLINED` Decline\n>- `PENDING` Pending\n","type":"string","enum":["APPROVED","PENDING","DECLINED",null],"maxLength":30,"nullable":true,"example":"APPROVED"},"reference":{"description":"Transfer reference number","type":"string","maxLength":100},"transferType":{"description":"Type of transfer\n>- `DROPPED` Dropped\n>- `OTHER` Other\n>- `PERMIT` Permit\n>- `TRADE` Trade\n>- `TRANSFER` Transfer\n","type":"string","enum":["TRADE","TRANSFER","DROPPED","PERMIT","OTHER"],"maxLength":100,"example":"TRANSFER"},"dateTransfer":{"description":"Date of transfer","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"datePermitFrom":{"description":"Date the permit started","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"datePermitTo":{"description":"Date the permit ended","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"notes":{"description":"Notes","type":"string","maxLength":1000,"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,"example":"A123"}},"title":"~transfer~ put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"components\": [\n    {\n      \"personId\": \"string\",\n      \"fromEntityGroupId\": \"string\",\n      \"toEntityGroupId\": \"string\",\n      \"extraAllowances\": \"Cash, 1st Round Pick\"\n    }\n  ],\n  \"status\": \"APPROVED\",\n  \"reference\": \"string\",\n  \"transferType\": \"TRANSFER\",\n  \"dateTransfer\": \"1978-08-24\",\n  \"datePermitFrom\": \"1978-08-24\",\n  \"datePermitTo\": \"1978-08-24\",\n  \"notes\": \"string\",\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  competitionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  components: [\n    {\n      personId: 'string',\n      fromEntityGroupId: 'string',\n      toEntityGroupId: 'string',\n      extraAllowances: 'Cash, 1st Round Pick'\n    }\n  ],\n  status: 'APPROVED',\n  reference: 'string',\n  transferType: 'TRANSFER',\n  dateTransfer: '1978-08-24',\n  datePermitFrom: '1978-08-24',\n  datePermitTo: '1978-08-24',\n  notes: 'string',\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"competitionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"components\": @[ @{ @\"personId\": @\"string\", @\"fromEntityGroupId\": @\"string\", @\"toEntityGroupId\": @\"string\", @\"extraAllowances\": @\"Cash, 1st Round Pick\" } ],\n                              @\"status\": @\"APPROVED\",\n                              @\"reference\": @\"string\",\n                              @\"transferType\": @\"TRANSFER\",\n                              @\"dateTransfer\": @\"1978-08-24\",\n                              @\"datePermitFrom\": @\"1978-08-24\",\n                              @\"datePermitTo\": @\"1978-08-24\",\n                              @\"notes\": @\"string\",\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"components\": [\n        {\n            \"personId\": \"string\",\n            \"fromEntityGroupId\": \"string\",\n            \"toEntityGroupId\": \"string\",\n            \"extraAllowances\": \"Cash, 1st Round Pick\"\n        }\n    ],\n    \"status\": \"APPROVED\",\n    \"reference\": \"string\",\n    \"transferType\": \"TRANSFER\",\n    \"dateTransfer\": \"1978-08-24\",\n    \"datePermitFrom\": \"1978-08-24\",\n    \"datePermitTo\": \"1978-08-24\",\n    \"notes\": \"string\",\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"components\\\":[{\\\"personId\\\":\\\"string\\\",\\\"fromEntityGroupId\\\":\\\"string\\\",\\\"toEntityGroupId\\\":\\\"string\\\",\\\"extraAllowances\\\":\\\"Cash, 1st Round Pick\\\"}],\\\"status\\\":\\\"APPROVED\\\",\\\"reference\\\":\\\"string\\\",\\\"transferType\\\":\\\"TRANSFER\\\",\\\"dateTransfer\\\":\\\"1978-08-24\\\",\\\"datePermitFrom\\\":\\\"1978-08-24\\\",\\\"datePermitTo\\\":\\\"1978-08-24\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"components\":[{\"personId\":\"string\",\"fromEntityGroupId\":\"string\",\"toEntityGroupId\":\"string\",\"extraAllowances\":\"Cash, 1st Round Pick\"}],\"status\":\"APPROVED\",\"reference\":\"string\",\"transferType\":\"TRANSFER\",\"dateTransfer\":\"1978-08-24\",\"datePermitFrom\":\"1978-08-24\",\"datePermitTo\":\"1978-08-24\",\"notes\":\"string\",\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"components\": [\n    [\n      \"personId\": \"string\",\n      \"fromEntityGroupId\": \"string\",\n      \"toEntityGroupId\": \"string\",\n      \"extraAllowances\": \"Cash, 1st Round Pick\"\n    ]\n  ],\n  \"status\": \"APPROVED\",\n  \"reference\": \"string\",\n  \"transferType\": \"TRANSFER\",\n  \"dateTransfer\": \"1978-08-24\",\n  \"datePermitFrom\": \"1978-08-24\",\n  \"datePermitTo\": \"1978-08-24\",\n  \"notes\": \"string\",\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Transfers"],"summary":"Delete a transfer","description":"Delete a specific transfer","operationId":"transfers_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Transfers 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/TransfersModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"transferId","description":"The unique identifier of the transfer record","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/transfers/{transferId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/awards":{"get":{"tags":["Awards"],"summary":"Get a list of non-match awards","description":"Return a list of awards not linked to matches","operationId":"awards_list_non_fixtures","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Awards 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/AwardsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/award"},{"$ref":"#/components/parameters/dateFromEnd"},{"$ref":"#/components/parameters/dateFromStart"},{"$ref":"#/components/parameters/dateToEnd"},{"$ref":"#/components/parameters/dateToStart"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"award\":\"MVP\",\"dateFromEnd\":\"2018-08-16\",\"dateFromStart\":\"2018-08-16\",\"dateToEnd\":\"2018-08-16\",\"dateToStart\":\"2018-08-16\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Awards"],"summary":"Create an award","description":"Add a new award","operationId":"awards_insert","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Awards 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/AwardsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"awardId":{"description":"The unique identifier of the award","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"personId":{"description":"The person that this award is for","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroupId":{"description":"The club that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The team that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competitionId":{"description":"The competition that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seasonId":{"description":"The season that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureId":{"description":"The match that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"votes":{"description":"Number of votes","type":"integer","format":"int32","nullable":true,"example":1},"dateFrom":{"description":"Date the award is from","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"dateTo":{"description":"Date the award is until","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"award":{"description":"Award\n>- `ALL_TEAM` All first team\n>- `COACH` Coach Award\n>- `HALL` Hall of Fame\n>- `HONOUR` Honoured\n>- `MIP` Most Improved Player\n>- `MVP` Most Valuable Player\n>- `OTHER` Other\n>- `ROOKIE` Rookie\n","type":"string","enum":["MVP","MIP","ROOKIE","COACH","ALL_TEAM","OTHER","HONOUR","HALL"],"maxLength":100,"example":"MVP"},"awardSubType":{"description":"Award sub type","type":"string","maxLength":100,"nullable":true,"example":"1st Team"},"notes":{"description":"Award Notes","type":"string","maxLength":500,"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,"example":"A123"}},"title":"~award~ post body","required":["personId","award"]}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"awardId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"awardId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"awardId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"awardId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"awardId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"votes\": 1,\n  \"dateFrom\": \"1978-08-24\",\n  \"dateTo\": \"1978-08-24\",\n  \"award\": \"MVP\",\n  \"awardSubType\": \"1st Team\",\n  \"notes\": \"string\",\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  awardId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityGroupId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  competitionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  votes: 1,\n  dateFrom: '1978-08-24',\n  dateTo: '1978-08-24',\n  award: 'MVP',\n  awardSubType: '1st Team',\n  notes: 'string',\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"awardId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityGroupId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"competitionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"votes\": @1,\n                              @\"dateFrom\": @\"1978-08-24\",\n                              @\"dateTo\": @\"1978-08-24\",\n                              @\"award\": @\"MVP\",\n                              @\"awardSubType\": @\"1st Team\",\n                              @\"notes\": @\"string\",\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"awardId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"awardId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"awardId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"awardId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"votes\": 1,\n    \"dateFrom\": \"1978-08-24\",\n    \"dateTo\": \"1978-08-24\",\n    \"award\": \"MVP\",\n    \"awardSubType\": \"1st Team\",\n    \"notes\": \"string\",\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"awardId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"awardId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityGroupId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"votes\":1,\"dateFrom\":\"1978-08-24\",\"dateTo\":\"1978-08-24\",\"award\":\"MVP\",\"awardSubType\":\"1st Team\",\"notes\":\"string\",\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"awardId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"votes\": 1,\n  \"dateFrom\": \"1978-08-24\",\n  \"dateTo\": \"1978-08-24\",\n  \"award\": \"MVP\",\n  \"awardSubType\": \"1st Team\",\n  \"notes\": \"string\",\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/awards/in/seasons":{"get":{"tags":["Awards"],"summary":"Get a list of season awards","description":"Return a list of awards for the organization (linked to seasons)","operationId":"awards_list_seasons","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Awards 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/AwardsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/award"},{"$ref":"#/components/parameters/dateFromEnd"},{"$ref":"#/components/parameters/dateFromStart"},{"$ref":"#/components/parameters/dateToEnd"},{"$ref":"#/components/parameters/dateToStart"},{"$ref":"#/components/parameters/entityId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/seasons\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"award\":\"MVP\",\"dateFromEnd\":\"2018-08-16\",\"dateFromStart\":\"2018-08-16\",\"dateToEnd\":\"2018-08-16\",\"dateToStart\":\"2018-08-16\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/seasons?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/awards/in/fixtures":{"get":{"tags":["Awards"],"summary":"Get a list of match awards","description":"Return a list of awards for the organization (linked to matches)","operationId":"awards_list_fixtures","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Awards 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/AwardsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/award"},{"$ref":"#/components/parameters/dateFromEnd"},{"$ref":"#/components/parameters/dateFromStart"},{"$ref":"#/components/parameters/dateToEnd"},{"$ref":"#/components/parameters/dateToStart"},{"$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/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/personId"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/fixtures\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"award\":\"MVP\",\"dateFromEnd\":\"2018-08-16\",\"dateFromStart\":\"2018-08-16\",\"dateToEnd\":\"2018-08-16\",\"dateToStart\":\"2018-08-16\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/in/fixtures?added=2018-08-16T02:10:48&award=MVP&dateFromEnd=2018-08-16&dateFromStart=2018-08-16&dateToEnd=2018-08-16&dateToStart=2018-08-16&entityId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&personId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/awards/{awardId}":{"get":{"tags":["Awards"],"summary":"Get an award","description":"Return detailed information about a specific award","operationId":"awards_detail","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Awards 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/AwardsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"name":"awardId","description":"The unique identifier of the award","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"put":{"tags":["Awards"],"summary":"Update an award","description":"Change the information of a specific award","operationId":"awards_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Awards 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/AwardsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"awardId","description":"The unique identifier of the award","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"personId":{"description":"The person that this award is for","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityGroupId":{"description":"The club that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The team that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"competitionId":{"description":"The competition that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"seasonId":{"description":"The season that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"fixtureId":{"description":"The match that this award is linked to","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"votes":{"description":"Number of votes","type":"integer","format":"int32","nullable":true,"example":1},"dateFrom":{"description":"Date the award is from","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"dateTo":{"description":"Date the award is until","type":"string","format":"date","nullable":true,"example":"1978-08-24"},"award":{"description":"Award\n>- `ALL_TEAM` All first team\n>- `COACH` Coach Award\n>- `HALL` Hall of Fame\n>- `HONOUR` Honoured\n>- `MIP` Most Improved Player\n>- `MVP` Most Valuable Player\n>- `OTHER` Other\n>- `ROOKIE` Rookie\n","type":"string","enum":["MVP","MIP","ROOKIE","COACH","ALL_TEAM","OTHER","HONOUR","HALL"],"maxLength":100,"example":"MVP"},"awardSubType":{"description":"Award sub type","type":"string","maxLength":100,"nullable":true,"example":"1st Team"},"notes":{"description":"Award Notes","type":"string","maxLength":500,"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,"example":"A123"}},"title":"~award~ put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"votes\": 1,\n  \"dateFrom\": \"1978-08-24\",\n  \"dateTo\": \"1978-08-24\",\n  \"award\": \"MVP\",\n  \"awardSubType\": \"1st Team\",\n  \"notes\": \"string\",\n  \"externalId\": \"A123\"\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityGroupId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  competitionId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  seasonId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  votes: 1,\n  dateFrom: '1978-08-24',\n  dateTo: '1978-08-24',\n  award: 'MVP',\n  awardSubType: '1st Team',\n  notes: 'string',\n  externalId: 'A123'\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityGroupId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"competitionId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"seasonId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"votes\": @1,\n                              @\"dateFrom\": @\"1978-08-24\",\n                              @\"dateTo\": @\"1978-08-24\",\n                              @\"award\": @\"MVP\",\n                              @\"awardSubType\": @\"1st Team\",\n                              @\"notes\": @\"string\",\n                              @\"externalId\": @\"A123\" };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"votes\": 1,\n    \"dateFrom\": \"1978-08-24\",\n    \"dateTo\": \"1978-08-24\",\n    \"award\": \"MVP\",\n    \"awardSubType\": \"1st Team\",\n    \"notes\": \"string\",\n    \"externalId\": \"A123\"\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityGroupId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"competitionId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"seasonId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"votes\\\":1,\\\"dateFrom\\\":\\\"1978-08-24\\\",\\\"dateTo\\\":\\\"1978-08-24\\\",\\\"award\\\":\\\"MVP\\\",\\\"awardSubType\\\":\\\"1st Team\\\",\\\"notes\\\":\\\"string\\\",\\\"externalId\\\":\\\"A123\\\"}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityGroupId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"votes\":1,\"dateFrom\":\"1978-08-24\",\"dateTo\":\"1978-08-24\",\"award\":\"MVP\",\"awardSubType\":\"1st Team\",\"notes\":\"string\",\"externalId\":\"A123\"}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityGroupId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"competitionId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"seasonId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"votes\": 1,\n  \"dateFrom\": \"1978-08-24\",\n  \"dateTo\": \"1978-08-24\",\n  \"award\": \"MVP\",\n  \"awardSubType\": \"1st Team\",\n  \"notes\": \"string\",\n  \"externalId\": \"A123\"\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Awards"],"summary":"Delete an award","description":"Delete a specific award","operationId":"award_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Awards 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/AwardsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"name":"awardId","description":"The unique identifier of the award","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/awards/{awardId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay":{"get":{"tags":["Match PLAY-BY-PLAY"],"summary":"Get a list play-by-play records for a match","description":"Return a list of play-by-play records for a match","operationId":"fixture_pbp_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Pbp_Event 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/Fixture_Pbp_EventModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/flagged"},{"$ref":"#/components/parameters/fromTimestamp"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/pbplimit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/toTimestamp"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"flagged\":\"true\",\"fromTimestamp\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"toTimestamp\":\"2018-08-16T18:00:00\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Match PLAY-BY-PLAY"],"summary":"Delete all play-by-play records for a match","description":"Delete all play-by-play records for a match","operationId":"fixture_pbp_all_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Pbp 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/Fixture_PbpModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live":{"get":{"tags":["Match PLAY-BY-PLAY"],"summary":"Get a list of live play-by-play records for a match","description":"\n    Return a list of live play-by-play records for a match. This call will return records of matches\n    still in-progress if available.  If the match is complete this call operates the same as the non 'live'\n    route.\n\n    Rate limited to 2 requests every minute - returns HTTP 429 Too Many Requests if called more often.\n    ","operationId":"fixture_pbp_list_live","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Pbp_Event 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/Fixture_Pbp_EventModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["read:organization_live"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/flagged"},{"$ref":"#/components/parameters/fromTimestamp"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/pbplimit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/toTimestamp"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"flagged\":\"true\",\"fromTimestamp\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"toTimestamp\":\"2018-08-16T18:00:00\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&flagged=true&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/playbyplay/flagged":{"get":{"tags":["Match PLAY-BY-PLAY"],"summary":"Get a list of flagged play-by-play records","description":"Return a list of play-by-play records that have been flagged across all matches","operationId":"fixture_pbp_flagged_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Pbp_Event 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/Fixture_Pbp_EventModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["read:admin"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fromTimestamp"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/pbplimit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/fixtureStatus"},{"$ref":"#/components/parameters/toTimestamp"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/playbyplay/flagged\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fromTimestamp\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"status\":\"SCHEDULED\",\"toTimestamp\":\"2018-08-16T18:00:00\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/playbyplay/flagged?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&status=SCHEDULED&toTimestamp=2018-08-16T18:00:00\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export":{"get":{"tags":["Match PLAY-BY-PLAY"],"summary":"Get a full list of match events, suitable for subsequent import.","description":"Includes play-by-play and setup events for a match","operationId":"fixture_pbp_export","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["read:admin"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/pbplimit"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/onlySetup"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/withScores"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"onlySetup\":\"SOME_BOOLEAN_VALUE\",\"periodId\":\"SOME_INTEGER_VALUE\",\"withScores\":\"SOME_BOOLEAN_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&onlySetup=SOME_BOOLEAN_VALUE&periodId=SOME_INTEGER_VALUE&withScores=SOME_BOOLEAN_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import":{"post":{"tags":["Match PLAY-BY-PLAY"],"summary":"Add or Update historical play-by-play records for a match","description":"\n    Depending on primary keys, Add a match play-by-play or update an existing record.  This call operates\n    in bulk for all events in a specific period. <b>Note:</b>This call should only be used to import historical data.\n    Changes to current/live data show be peformed only via your live capture software.  If this call is used data may\n    become invalid as statistics/actions may not be recalculated.\n    ","operationId":"fixture_pbp_events_import","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:admin"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"POST\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"POST\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay":{"delete":{"tags":["Match PLAY-BY-PLAY"],"summary":"Delete a match play-by-play","description":"Delete a specific period play-by-play from a match","operationId":"fixture_pbp_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Pbp 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/Fixture_PbpModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"periodId","description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","schema":{"type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"required":true,"in":"path"},{"name":"section","description":"The section of the period (sub-period)","schema":{"type":"string","maxLength":100},"required":false,"in":"query"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"section\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"post":{"tags":["Match PLAY-BY-PLAY"],"summary":"Add an individual a match play-by-play event","description":"Add a specific period play-by-play from a match event","operationId":"fixture_pbp_event_add","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Pbp_Event 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/Fixture_Pbp_EventModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:admin"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"periodId","description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","schema":{"type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"required":true,"in":"path"},{"name":"section","description":"The section of the period (sub-period)","schema":{"type":"string","maxLength":100},"required":false,"in":"query"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"fixtureId":{"description":"The unique identifier of the match","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"periodId":{"description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"section":{"description":"The section of the period (sub-period)","type":"string","maxLength":100},"events":{},"class":{"description":"The class of the event\n>- `clock` Information about the current status of the clock match\n>- `sport` A sporting action that relates to the running of the match\n","type":"string","enum":["sport","clock"],"maxLength":100,"default":"sport","example":"sport"},"eventType":{"description":"See [Event Types](http://developer.connect.sportradar.com/datacore/streaming.html#section/Message-Types/event) for more information","type":"string","maxLength":100,"example":"substitution"},"eventId":{"description":"Unique identifier of this event","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"playId":{"description":"Unique identifier of this play (group of events)","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"subType":{"description":"The Sub Type of event. See <b>Streaming API</b> documenation for more information.","type":"string","maxLength":100,"example":"out"},"options":{},"received":{"description":"The UNIX timestamp when the event was received.","type":"integer","format":"int32"},"status":{"description":"The status of this message.  Options are `added` (Default); `updated` - meaning the content of this event has been edited; `deleted` - meaning this event has been deleted; `enriched` - meaning further information has been added to the event (not changed).","type":"string"},"success":{"description":"Whether the action was successful","type":"boolean"},"x":{"description":"The x co-ordinate of the event. Represented as percentage from left (0) to right (100).","type":"number","format":"float","example":56},"y":{"description":"The y co-ordinate of the event. Represented as precentage from top (0) to bottom (100).","type":"number","format":"float","example":23},"z":{"description":"The z co-ordinate of the event. Represented as precentage from ground (0) to ceiling (100).","type":"number","format":"float","example":10},"clock":{"description":"The time on the clock when the event occurred. ISO 8601 format. PTmmMss.ccS","type":"string","example":"PT12M34.5S"},"shotClock":{"description":"The time on the shot clock when the event occurred. ISO 8601 format. PTss.ccS","type":"string","example":"PT34.2S"},"eventTime":{"description":"The date/time (UTC) this event occurred. For inserted actions, this should be the time the action would have occurred, not the time of insertion.","type":"string","format":"date-time","example":"2016-09-08T02:02:00Z"},"officialId":{"description":"The unique ID of the official making this decision","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"zone":{"description":"See [Event Types]() for more information","type":"string","maxLength":50},"scores":{"title":"Current scores","description":"The current scores","type":"object","nullable":true,"additionalProperties":{"description":"The current score of the entity (given by the key).  For insertions this should still be the current (maximum) score (not the score at the time of event being inserted)","type":"string","maxLength":50}},"flagged":{"description":"This event has been flagged for further review and may be changed later","type":"boolean"},"highlight":{"description":"This event may be a highlight of the game.","type":"boolean"},"timestamp":{"description":"The date/time (UTC) this event was sent.","type":"string","format":"date-time","example":"2016-09-08T02:02:00Z"},"clientType":{"description":"Type of the client that sent the event","type":"string","maxLength":200,"example":"InGame"},"clientId":{"description":"ID of the client that sent the event","type":"string","maxLength":200,"example":"InGame:0.9"},"sport":{"description":"Sport one letter code","type":"string","maxLength":1,"example":"h"},"topic":{"description":"MQTT topic where the event was sent","type":"string","maxLength":200,"example":"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e"},"type":{"description":"Type of the event message","type":"string","maxLength":100,"example":"event"},"sequence":{"description":"Client event sequence number","type":"integer","format":"int32","nullable":true,"example":10}},"title":"Fixture PBP Event post body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\",\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\",\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE\"\n\n\tpayload := strings.NewReader(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\",\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\",\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"periodId\": 0,\n  \"section\": \"string\",\n  \"events\": null,\n  \"class\": \"sport\",\n  \"eventType\": \"substitution\",\n  \"eventId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"playId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"subType\": \"out\",\n  \"options\": null,\n  \"received\": 0,\n  \"status\": \"string\",\n  \"success\": true,\n  \"x\": 56,\n  \"y\": 23,\n  \"z\": 10,\n  \"clock\": \"PT12M34.5S\",\n  \"shotClock\": \"PT34.2S\",\n  \"eventTime\": \"2016-09-08T02:02:00Z\",\n  \"officialId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"zone\": \"string\",\n  \"scores\": {\n    \"property1\": \"string\",\n    \"property2\": \"string\"\n  },\n  \"flagged\": true,\n  \"highlight\": true,\n  \"timestamp\": \"2016-09-08T02:02:00Z\",\n  \"clientType\": \"InGame\",\n  \"clientId\": \"InGame:0.9\",\n  \"sport\": \"h\",\n  \"topic\": \"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\",\n  \"type\": \"event\",\n  \"sequence\": 10\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  fixtureId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  periodId: 0,\n  section: 'string',\n  events: null,\n  class: 'sport',\n  eventType: 'substitution',\n  eventId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  playId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  subType: 'out',\n  options: null,\n  received: 0,\n  status: 'string',\n  success: true,\n  x: 56,\n  y: 23,\n  z: 10,\n  clock: 'PT12M34.5S',\n  shotClock: 'PT34.2S',\n  eventTime: '2016-09-08T02:02:00Z',\n  officialId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  zone: 'string',\n  scores: {property1: 'string', property2: 'string'},\n  flagged: true,\n  highlight: true,\n  timestamp: '2016-09-08T02:02:00Z',\n  clientType: 'InGame',\n  clientId: 'InGame:0.9',\n  sport: 'h',\n  topic: 's/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e',\n  type: 'event',\n  sequence: 10\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"fixtureId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"periodId\": @0,\n                              @\"section\": @\"string\",\n                              @\"events\": ,\n                              @\"class\": @\"sport\",\n                              @\"eventType\": @\"substitution\",\n                              @\"eventId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"playId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"subType\": @\"out\",\n                              @\"options\": ,\n                              @\"received\": @0,\n                              @\"status\": @\"string\",\n                              @\"success\": @YES,\n                              @\"x\": @56,\n                              @\"y\": @23,\n                              @\"z\": @10,\n                              @\"clock\": @\"PT12M34.5S\",\n                              @\"shotClock\": @\"PT34.2S\",\n                              @\"eventTime\": @\"2016-09-08T02:02:00Z\",\n                              @\"officialId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"zone\": @\"string\",\n                              @\"scores\": @{ @\"property1\": @\"string\", @\"property2\": @\"string\" },\n                              @\"flagged\": @YES,\n                              @\"highlight\": @YES,\n                              @\"timestamp\": @\"2016-09-08T02:02:00Z\",\n                              @\"clientType\": @\"InGame\",\n                              @\"clientId\": @\"InGame:0.9\",\n                              @\"sport\": @\"h\",\n                              @\"topic\": @\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\",\n                              @\"type\": @\"event\",\n                              @\"sequence\": @10 };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\",\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\",\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\",\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay\"\n\nquerystring = {\"external\":\"entityId,personId\",\"section\":\"SOME_STRING_VALUE\"}\n\npayload = {\n    \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"periodId\": 0,\n    \"section\": \"string\",\n    \"events\": None,\n    \"class\": \"sport\",\n    \"eventType\": \"substitution\",\n    \"eventId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"playId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"subType\": \"out\",\n    \"options\": None,\n    \"received\": 0,\n    \"status\": \"string\",\n    \"success\": True,\n    \"x\": 56,\n    \"y\": 23,\n    \"z\": 10,\n    \"clock\": \"PT12M34.5S\",\n    \"shotClock\": \"PT34.2S\",\n    \"eventTime\": \"2016-09-08T02:02:00Z\",\n    \"officialId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"zone\": \"string\",\n    \"scores\": {\n        \"property1\": \"string\",\n        \"property2\": \"string\"\n    },\n    \"flagged\": True,\n    \"highlight\": True,\n    \"timestamp\": \"2016-09-08T02:02:00Z\",\n    \"clientType\": \"InGame\",\n    \"clientId\": \"InGame:0.9\",\n    \"sport\": \"h\",\n    \"topic\": \"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\",\n    \"type\": \"event\",\n    \"sequence\": 10\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"fixtureId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"periodId\\\":0,\\\"section\\\":\\\"string\\\",\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"periodId\":0,\"section\":\"string\",\"events\":null,\"class\":\"sport\",\"eventType\":\"substitution\",\"eventId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"playId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"subType\":\"out\",\"options\":null,\"received\":0,\"status\":\"string\",\"success\":true,\"x\":56,\"y\":23,\"z\":10,\"clock\":\"PT12M34.5S\",\"shotClock\":\"PT34.2S\",\"eventTime\":\"2016-09-08T02:02:00Z\",\"officialId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"zone\":\"string\",\"scores\":{\"property1\":\"string\",\"property2\":\"string\"},\"flagged\":true,\"highlight\":true,\"timestamp\":\"2016-09-08T02:02:00Z\",\"clientType\":\"InGame\",\"clientId\":\"InGame:0.9\",\"sport\":\"h\",\"topic\":\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\",\"type\":\"event\",\"sequence\":10}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"fixtureId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"periodId\": 0,\n  \"section\": \"string\",\n  \"events\": ,\n  \"class\": \"sport\",\n  \"eventType\": \"substitution\",\n  \"eventId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"playId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"subType\": \"out\",\n  \"options\": ,\n  \"received\": 0,\n  \"status\": \"string\",\n  \"success\": true,\n  \"x\": 56,\n  \"y\": 23,\n  \"z\": 10,\n  \"clock\": \"PT12M34.5S\",\n  \"shotClock\": \"PT34.2S\",\n  \"eventTime\": \"2016-09-08T02:02:00Z\",\n  \"officialId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"zone\": \"string\",\n  \"scores\": [\n    \"property1\": \"string\",\n    \"property2\": \"string\"\n  ],\n  \"flagged\": true,\n  \"highlight\": true,\n  \"timestamp\": \"2016-09-08T02:02:00Z\",\n  \"clientType\": \"InGame\",\n  \"clientId\": \"InGame:0.9\",\n  \"sport\": \"h\",\n  \"topic\": \"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\",\n  \"type\": \"event\",\n  \"sequence\": 10\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay?external=entityId,personId&section=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}":{"put":{"tags":["Match PLAY-BY-PLAY"],"summary":"Update an individual a match play-by-play event","description":"Update a specific period play-by-play from a match event","operationId":"fixture_pbp_event_update","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Pbp_Event 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/Fixture_Pbp_EventModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:admin"]}],"parameters":[{"name":"eventId","description":"The unique identifier of an event in a match","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"periodId","description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","schema":{"type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"required":true,"in":"path"},{"name":"section","description":"The section of the period (sub-period)","schema":{"type":"string","maxLength":100},"required":false,"in":"query"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"events":{},"class":{"description":"The class of the event\n>- `clock` Information about the current status of the clock match\n>- `sport` A sporting action that relates to the running of the match\n","type":"string","enum":["sport","clock"],"maxLength":100,"default":"sport","example":"sport"},"eventType":{"description":"See [Event Types](http://developer.connect.sportradar.com/datacore/streaming.html#section/Message-Types/event) for more information","type":"string","maxLength":100,"example":"substitution"},"eventId":{"description":"Unique identifier of this event","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"playId":{"description":"Unique identifier of this play (group of events)","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"entityId":{"description":"The unique identifier of the team","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"personId":{"description":"The unique identifier of the person","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"subType":{"description":"The Sub Type of event. See <b>Streaming API</b> documenation for more information.","type":"string","maxLength":100,"example":"out"},"options":{},"received":{"description":"The UNIX timestamp when the event was received.","type":"integer","format":"int32"},"status":{"description":"The status of this message.  Options are `added` (Default); `updated` - meaning the content of this event has been edited; `deleted` - meaning this event has been deleted; `enriched` - meaning further information has been added to the event (not changed).","type":"string"},"success":{"description":"Whether the action was successful","type":"boolean"},"x":{"description":"The x co-ordinate of the event. Represented as percentage from left (0) to right (100).","type":"number","format":"float","example":56},"y":{"description":"The y co-ordinate of the event. Represented as precentage from top (0) to bottom (100).","type":"number","format":"float","example":23},"z":{"description":"The z co-ordinate of the event. Represented as precentage from ground (0) to ceiling (100).","type":"number","format":"float","example":10},"clock":{"description":"The time on the clock when the event occurred. ISO 8601 format. PTmmMss.ccS","type":"string","example":"PT12M34.5S"},"shotClock":{"description":"The time on the shot clock when the event occurred. ISO 8601 format. PTss.ccS","type":"string","example":"PT34.2S"},"eventTime":{"description":"The date/time (UTC) this event occurred. For inserted actions, this should be the time the action would have occurred, not the time of insertion.","type":"string","format":"date-time","example":"2016-09-08T02:02:00Z"},"officialId":{"description":"The unique ID of the official making this decision","type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"zone":{"description":"See [Event Types]() for more information","type":"string","maxLength":50},"scores":{"title":"Current scores","description":"The current scores","type":"object","nullable":true,"additionalProperties":{"description":"The current score of the entity (given by the key).  For insertions this should still be the current (maximum) score (not the score at the time of event being inserted)","type":"string","maxLength":50}},"flagged":{"description":"This event has been flagged for further review and may be changed later","type":"boolean"},"highlight":{"description":"This event may be a highlight of the game.","type":"boolean"},"timestamp":{"description":"The date/time (UTC) this event was sent.","type":"string","format":"date-time","example":"2016-09-08T02:02:00Z"},"clientType":{"description":"Type of the client that sent the event","type":"string","maxLength":200,"example":"InGame"},"clientId":{"description":"ID of the client that sent the event","type":"string","maxLength":200,"example":"InGame:0.9"},"sport":{"description":"Sport one letter code","type":"string","maxLength":1,"example":"h"},"topic":{"description":"MQTT topic where the event was sent","type":"string","maxLength":200,"example":"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e"},"type":{"description":"Type of the event message","type":"string","maxLength":100,"example":"event"},"sequence":{"description":"Client event sequence number","type":"integer","format":"int32","nullable":true,"example":10}},"title":"Fixture PBP Event put body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.PUT);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE\"\n\n\tpayload := strings.NewReader(\"{\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\")\n\n\treq, _ := http.NewRequest(\"PUT\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.put(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({\n  \"events\": null,\n  \"class\": \"sport\",\n  \"eventType\": \"substitution\",\n  \"eventId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"playId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"subType\": \"out\",\n  \"options\": null,\n  \"received\": 0,\n  \"status\": \"string\",\n  \"success\": true,\n  \"x\": 56,\n  \"y\": 23,\n  \"z\": 10,\n  \"clock\": \"PT12M34.5S\",\n  \"shotClock\": \"PT34.2S\",\n  \"eventTime\": \"2016-09-08T02:02:00Z\",\n  \"officialId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"zone\": \"string\",\n  \"scores\": {\n    \"property1\": \"string\",\n    \"property2\": \"string\"\n  },\n  \"flagged\": true,\n  \"highlight\": true,\n  \"timestamp\": \"2016-09-08T02:02:00Z\",\n  \"clientType\": \"InGame\",\n  \"clientId\": \"InGame:0.9\",\n  \"sport\": \"h\",\n  \"topic\": \"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\",\n  \"type\": \"event\",\n  \"sequence\": 10\n});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"PUT\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"PUT\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({\n  events: null,\n  class: 'sport',\n  eventType: 'substitution',\n  eventId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  playId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  entityId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  personId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  subType: 'out',\n  options: null,\n  received: 0,\n  status: 'string',\n  success: true,\n  x: 56,\n  y: 23,\n  z: 10,\n  clock: 'PT12M34.5S',\n  shotClock: 'PT34.2S',\n  eventTime: '2016-09-08T02:02:00Z',\n  officialId: '009e9276-5c80-11e8-9c2d-fa7ae01bbebc',\n  zone: 'string',\n  scores: {property1: 'string', property2: 'string'},\n  flagged: true,\n  highlight: true,\n  timestamp: '2016-09-08T02:02:00Z',\n  clientType: 'InGame',\n  clientId: 'InGame:0.9',\n  sport: 'h',\n  topic: 's/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e',\n  type: 'event',\n  sequence: 10\n}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{ @\"events\": ,\n                              @\"class\": @\"sport\",\n                              @\"eventType\": @\"substitution\",\n                              @\"eventId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"playId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"entityId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"personId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"subType\": @\"out\",\n                              @\"options\": ,\n                              @\"received\": @0,\n                              @\"status\": @\"string\",\n                              @\"success\": @YES,\n                              @\"x\": @56,\n                              @\"y\": @23,\n                              @\"z\": @10,\n                              @\"clock\": @\"PT12M34.5S\",\n                              @\"shotClock\": @\"PT34.2S\",\n                              @\"eventTime\": @\"2016-09-08T02:02:00Z\",\n                              @\"officialId\": @\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n                              @\"zone\": @\"string\",\n                              @\"scores\": @{ @\"property1\": @\"string\", @\"property2\": @\"string\" },\n                              @\"flagged\": @YES,\n                              @\"highlight\": @YES,\n                              @\"timestamp\": @\"2016-09-08T02:02:00Z\",\n                              @\"clientType\": @\"InGame\",\n                              @\"clientId\": @\"InGame:0.9\",\n                              @\"sport\": @\"h\",\n                              @\"topic\": @\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\",\n                              @\"type\": @\"event\",\n                              @\"sequence\": @10 };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"PUT\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\" in\n\nClient.call ~headers ~body `PUT uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"PUT\",\n  CURLOPT_POSTFIELDS => \"{\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"PUT\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"section\":\"SOME_STRING_VALUE\"}\n\npayload = {\n    \"events\": None,\n    \"class\": \"sport\",\n    \"eventType\": \"substitution\",\n    \"eventId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"playId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"subType\": \"out\",\n    \"options\": None,\n    \"received\": 0,\n    \"status\": \"string\",\n    \"success\": True,\n    \"x\": 56,\n    \"y\": 23,\n    \"z\": 10,\n    \"clock\": \"PT12M34.5S\",\n    \"shotClock\": \"PT34.2S\",\n    \"eventTime\": \"2016-09-08T02:02:00Z\",\n    \"officialId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n    \"zone\": \"string\",\n    \"scores\": {\n        \"property1\": \"string\",\n        \"property2\": \"string\"\n    },\n    \"flagged\": True,\n    \"highlight\": True,\n    \"timestamp\": \"2016-09-08T02:02:00Z\",\n    \"clientType\": \"InGame\",\n    \"clientId\": \"InGame:0.9\",\n    \"sport\": \"h\",\n    \"topic\": \"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\",\n    \"type\": \"event\",\n    \"sequence\": 10\n}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{\\\"events\\\":null,\\\"class\\\":\\\"sport\\\",\\\"eventType\\\":\\\"substitution\\\",\\\"eventId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"playId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"entityId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"personId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"subType\\\":\\\"out\\\",\\\"options\\\":null,\\\"received\\\":0,\\\"status\\\":\\\"string\\\",\\\"success\\\":true,\\\"x\\\":56,\\\"y\\\":23,\\\"z\\\":10,\\\"clock\\\":\\\"PT12M34.5S\\\",\\\"shotClock\\\":\\\"PT34.2S\\\",\\\"eventTime\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"officialId\\\":\\\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\\\",\\\"zone\\\":\\\"string\\\",\\\"scores\\\":{\\\"property1\\\":\\\"string\\\",\\\"property2\\\":\\\"string\\\"},\\\"flagged\\\":true,\\\"highlight\\\":true,\\\"timestamp\\\":\\\"2016-09-08T02:02:00Z\\\",\\\"clientType\\\":\\\"InGame\\\",\\\"clientId\\\":\\\"InGame:0.9\\\",\\\"sport\\\":\\\"h\\\",\\\"topic\\\":\\\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\\\",\\\"type\\\":\\\"event\\\",\\\"sequence\\\":10}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request PUT \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{\"events\":null,\"class\":\"sport\",\"eventType\":\"substitution\",\"eventId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"playId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"entityId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"personId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"subType\":\"out\",\"options\":null,\"received\":0,\"status\":\"string\",\"success\":true,\"x\":56,\"y\":23,\"z\":10,\"clock\":\"PT12M34.5S\",\"shotClock\":\"PT34.2S\",\"eventTime\":\"2016-09-08T02:02:00Z\",\"officialId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"zone\":\"string\",\"scores\":{\"property1\":\"string\",\"property2\":\"string\"},\"flagged\":true,\"highlight\":true,\"timestamp\":\"2016-09-08T02:02:00Z\",\"clientType\":\"InGame\",\"clientId\":\"InGame:0.9\",\"sport\":\"h\",\"topic\":\"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\",\"type\":\"event\",\"sequence\":10}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [\n  \"events\": ,\n  \"class\": \"sport\",\n  \"eventType\": \"substitution\",\n  \"eventId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"playId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"entityId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"personId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"subType\": \"out\",\n  \"options\": ,\n  \"received\": 0,\n  \"status\": \"string\",\n  \"success\": true,\n  \"x\": 56,\n  \"y\": 23,\n  \"z\": 10,\n  \"clock\": \"PT12M34.5S\",\n  \"shotClock\": \"PT34.2S\",\n  \"eventTime\": \"2016-09-08T02:02:00Z\",\n  \"officialId\": \"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"zone\": \"string\",\n  \"scores\": [\n    \"property1\": \"string\",\n    \"property2\": \"string\"\n  ],\n  \"flagged\": true,\n  \"highlight\": true,\n  \"timestamp\": \"2016-09-08T02:02:00Z\",\n  \"clientType\": \"InGame\",\n  \"clientId\": \"InGame:0.9\",\n  \"sport\": \"h\",\n  \"topic\": \"s/h/h1s44/3c467c99-9e5d-11ee-91d0-2b012330fcf5/w/e\",\n  \"type\": \"event\",\n  \"sequence\": 10\n] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&section=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"PUT\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Match PLAY-BY-PLAY"],"summary":"Delete a match play-by-play event","description":"Delete a specific period play-by-play from a match event","operationId":"fixture_pbp_event_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Pbp_Event 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/Fixture_Pbp_EventModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:admin"]}],"parameters":[{"name":"eventId","description":"The unique identifier of an event in a match","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"name":"periodId","description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","schema":{"type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"required":true,"in":"path"},{"name":"section","description":"The section of the period (sub-period)","schema":{"type":"string","maxLength":100},"required":false,"in":"query"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"section\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/{eventId}?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external":{"get":{"tags":["Match External PLAY-BY-PLAY"],"summary":"Get a list play-by-play external records for a match","description":"Return a list of play-by-play external records for a match","operationId":"fixture_pbp_external_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Pbp_External 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/Fixture_Pbp_ExternalModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/fromTimestamp"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/pbplimit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/toTimestamp"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fromTimestamp\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"toTimestamp\":\"2018-08-16T18:00:00\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]},"delete":{"tags":["Match External PLAY-BY-PLAY"],"summary":"Delete all play-by-play external records for a match","description":"Delete all play-by-play external records for a match","operationId":"fixture_pbp_external_all_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Pbp_External 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/Fixture_Pbp_ExternalModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live":{"get":{"tags":["Match External PLAY-BY-PLAY"],"summary":"Get a list of live play-by-play external records for a match","description":"\n    Return a list of live play-by-play external records for a match. This call will return external records of matches\n    still in-progress if available.  If the match is complete this call operates the same as the non 'live'\n    route.\n\n    Rate limited to 2 requests every minute - returns HTTP 429 Too Many Requests if called more often.\n    ","operationId":"fixture_pbp_external_list_live","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Pbp_External 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/Fixture_Pbp_ExternalModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["read:organization_live"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/fromTimestamp"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/pbplimit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"},{"$ref":"#/components/parameters/toTimestamp"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fromTimestamp\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\",\"toTimestamp\":\"2018-08-16T18:00:00\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/playbyplay/external/live?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimestamp=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE&toTimestamp=2018-08-16T18:00:00\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external":{"get":{"tags":["Match External PLAY-BY-PLAY"],"summary":"Get a full list of match external events, suitable for subsequent import.","description":"Includes play-by-play external events for a match","operationId":"fixture_pbp_external_export","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["read:admin"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/periodId"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"offset\":\"10\",\"periodId\":\"SOME_INTEGER_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/export/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&offset=10&periodId=SOME_INTEGER_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external":{"post":{"tags":["Match External PLAY-BY-PLAY"],"summary":"Add or Update historical play-by-play external records for a match","description":"\n    Depending on primary keys, Add a match play-by-play or update an existing external record.  This call operates\n    in bulk for all external events in a specific period. <b>Note:</b>This call should only be used to import historical data.\n    Changes to current/live data show be performed only via your live capture software.  If this call is used data may\n    become invalid as statistics/actions may not be recalculated.\n    ","operationId":"fixture_pbp_external_events_import","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:admin"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"\n\n\treq, _ := http.NewRequest(\"POST\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"POST\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/events/import/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external":{"delete":{"tags":["Match External PLAY-BY-PLAY"],"summary":"Delete a match play-by-play external","description":"Delete a specific period play-by-play external from a match","operationId":"fixture_pbp_external_delete","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Fixture_Pbp_External 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/Fixture_Pbp_ExternalModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"},{"name":"periodId","description":"The identifier for the period\n>- None Total match\n>- `1` Period 1\n>- `2` Period 2\n>- `3` Period 3\n>- `4` Period 4\n>- `10` Overtime 1\n>- `11` Overtime 2\n>- `12` Overtime 3\n>- `13` Overtime 4\n>- `14` Overtime 5\n>- `15` Overtime 6\n","schema":{"type":"integer","format":"int32","enum":[0,1,2,3,4,10,11,12,13,14,15]},"required":true,"in":"path"},{"name":"section","description":"The section of the period (sub-period)","schema":{"type":"string","maxLength":100},"required":false,"in":"query"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"DELETE\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\");\nvar request = new RestRequest(Method.DELETE);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.delete(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"DELETE\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"DELETE\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"DELETE\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `DELETE uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"DELETE\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"DELETE\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"section\":\"SOME_STRING_VALUE\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request DELETE \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/periods/{periodId}/playbyplay/external?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities&section=SOME_STRING_VALUE\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"DELETE\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset":{"post":{"tags":["Matches"],"summary":"Reset match","description":"Reset a specific match record. Removes statistics, events and PLAY-BY-PLAY records","operationId":"fixture_reset","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Success 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/SuccessModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:organization"]}],"parameters":[{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$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,"example":"b1a23"},"required":true,"in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{},"title":"fixture_reset post body"}}}},"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"POST\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"content-type: application/json\");\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\ncurl_easy_setopt(hnd, CURLOPT_POSTFIELDS, \"{}\");\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nvar request = new RestRequest(Method.POST);\nrequest.AddHeader(\"content-type\", \"application/json\");\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nrequest.AddParameter(\"application/json\", \"{}\", ParameterType.RequestBody);\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"\n\n\tpayload := strings.NewReader(\"{}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.post(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n  .header(\"content-type\", \"application/json\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .body(\"{}\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = JSON.stringify({});\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"POST\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\");\nxhr.setRequestHeader(\"content-type\", \"application/json\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"POST\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  \"headers\": {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.write(JSON.stringify({}));\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"content-type\": @\"application/json\",\n                           @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\nNSDictionary *parameters = @{  };\n\nNSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"POST\"];\n[request setAllHTTPHeaderFields:headers];\n[request setHTTPBody:postData];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\" in\nlet headers = Header.add_list (Header.init ()) [\n  (\"content-type\", \"application/json\");\n  (\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n] in\nlet body = Cohttp_lwt_body.of_string \"{}\" in\n\nClient.call ~headers ~body `POST uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"POST\",\n  CURLOPT_POSTFIELDS => \"{}\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\",\n    \"content-type: application/json\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\npayload = \"{}\"\n\nheaders = {\n    'content-type': \"application/json\",\n    'Authorization': \"Bearer REPLACE_BEARER_TOKEN\"\n    }\n\nconn.request(\"POST\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\", payload, headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset\"\n\nquerystring = {\"external\":\"entityId,personId\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"forceDelete\":\"true\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\"}\n\npayload = {}\nheaders = {\n    \"content-type\": \"application/json\",\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"content-type\"] = 'application/json'\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\nrequest.body = \"{}\"\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request POST \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \\\n  --header 'content-type: application/json' \\\n  --data '{}'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\n  \"content-type\": \"application/json\",\n  \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n]\nlet parameters = [] as [String : Any]\n\nlet postData = JSONSerialization.data(withJSONObject: parameters, options: [])\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/reset?external=entityId,personId&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&forceDelete=true&hideNull=true&include=organizations,fixtures,entities\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"POST\"\nrequest.allHTTPHeaderFields = headers\nrequest.httpBody = postData as Data\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/masterVenues/{masterVenueId}/video/streams/inputs":{"get":{"tags":["Video Stream Inputs"],"summary":"List available video inputs for a master venue","description":"Display the list of video stream inputs for a master venue. This will only display inputs for matches in the future and from 12 hours in the past that have not been completed/cancelled.","operationId":"video_stream_inputs_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Stream_Inputs 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/Video_Stream_InputsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:video_provider"]}],"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitionId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/feedType"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureId"},{"$ref":"#/components/parameters/fromTimeLocal"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/locale"},{"name":"masterVenueId","description":"The unique identifier of the master venue","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/offset"},{"$ref":"#/components/parameters/provider"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/sourceNumber"},{"$ref":"#/components/parameters/toTimeLocal"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/venueId"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"feedType\":\"PRIMARY\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fromTimeLocal\":\"2018-08-16T18:00:00\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"locale\":\"fr_FR\",\"offset\":\"10\",\"provider\":\"Test Provider\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"sourceNumber\":\"1\",\"toTimeLocal\":\"2018-08-16T18:00:00\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"updated\":\"2018-08-16T02:11:48\",\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/masterVenues/{masterVenueId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/video/streams/inputs":{"get":{"tags":["Video Stream Inputs"],"summary":"List available video inputs for an organization","description":"Display the list of video inputs for an organization. This will only display inputs for matches in the future and from 12 hours in the past that have not been completed/cancelled.","operationId":"video_stream_inputs_org_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Stream_Inputs 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/Video_Stream_InputsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:video_provider"]}],"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitionId"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/feedType"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fixtureId"},{"$ref":"#/components/parameters/fromTimeLocal"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/locale"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/provider"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/sourceNumber"},{"$ref":"#/components/parameters/toTimeLocal"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/venueId"},{"$ref":"#/components/parameters/videoInputId"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/inputs\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"external\":\"entityId,personId\",\"feedType\":\"PRIMARY\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fixtureId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"fromTimeLocal\":\"2018-08-16T18:00:00\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"locale\":\"fr_FR\",\"offset\":\"10\",\"provider\":\"Test Provider\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"sourceNumber\":\"1\",\"toTimeLocal\":\"2018-08-16T18:00:00\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"updated\":\"2018-08-16T02:11:48\",\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"videoInputId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/inputs?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fixtureId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&fromTimeLocal=2018-08-16T18:00:00&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeLocal=2018-08-16T18:00:00&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs":{"get":{"tags":["Video Stream Inputs"],"summary":"List available video inputs for a match","description":"Display the list of video inputs for a match","operationId":"video_stream_inputs_fixture_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Stream_Inputs 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/Video_Stream_InputsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"security":[{"OAuth2":["write:video_provider"]}],"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/feedType"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/locale"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/provider"},{"$ref":"#/components/parameters/sourceNumber"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/videoInputId"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"external\":\"entityId,personId\",\"feedType\":\"PRIMARY\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"locale\":\"fr_FR\",\"offset\":\"10\",\"provider\":\"Test Provider\",\"sourceNumber\":\"1\",\"updated\":\"2018-08-16T02:11:48\",\"videoInputId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/inputs?added=2018-08-16T02:10:48&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48&videoInputId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/video/streams/available":{"get":{"tags":["Video Streams Available"],"summary":"List available video streams for an organization","description":"Display the list of video streams for an organization. Streams for completed matches and those older than 12 hours, will not be displayed.","operationId":"video_stream_outputs_org_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Stream_Outputs 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/Video_Stream_OutputsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitionId"},{"$ref":"#/components/parameters/content"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/feedType"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/locale"},{"$ref":"#/components/parameters/masterVenueId"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/provider"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/sourceNumber"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/venueId"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/available\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"content\":\"CLEAN\",\"external\":\"entityId,personId\",\"feedType\":\"PRIMARY\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"locale\":\"fr_FR\",\"masterVenueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"offset\":\"10\",\"provider\":\"Test Provider\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"sourceNumber\":\"1\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"updated\":\"2018-08-16T02:11:48\",\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available":{"get":{"tags":["Video Streams Available"],"summary":"List available video streams for a match","description":"Display the list of video streams for a match","operationId":"video_stream_outputs_fixture_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Stream_Outputs 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/Video_Stream_OutputsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/content"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/feedType"},{"$ref":"#/components/parameters/fields"},{"name":"fixtureId","description":"The unique identifier of the fixture","schema":{"type":"string","format":"uuid","example":"009e9276-5c80-11e8-9c2d-fa7ae01bbebc"},"required":true,"in":"path"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/locale"},{"$ref":"#/components/parameters/offset"},{"name":"organizationId","description":"The unique identifier of the organization","schema":{"type":"string","minLength":5,"maxLength":5,"example":"b1a23"},"required":true,"in":"path"},{"$ref":"#/components/parameters/provider"},{"$ref":"#/components/parameters/sourceNumber"},{"$ref":"#/components/parameters/updated"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"content\":\"CLEAN\",\"external\":\"entityId,personId\",\"feedType\":\"PRIMARY\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"locale\":\"fr_FR\",\"offset\":\"10\",\"provider\":\"Test Provider\",\"sourceNumber\":\"1\",\"updated\":\"2018-08-16T02:11:48\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Authorization\"] = 'Bearer REPLACE_BEARER_TOKEN'\n\nresponse = http.request(request)\nputs response.read_body"},{"lang":"Shell + Curl","source":"curl --request GET \\\n  --url 'https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48' \\\n  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'"},{"lang":"Swift + Nsurlsession","source":"import Foundation\n\nlet headers = [\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"]\n\nlet request = NSMutableURLRequest(url: NSURL(string: \"https://api.dc.connect.sportradar.com/v1/volleyball/o/{organizationId}/fixtures/{fixtureId}/video/streams/available?added=2018-08-16T02:10:48&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&offset=10&provider=Test%20Provider&sourceNumber=1&updated=2018-08-16T02:11:48\")! as URL,\n                                        cachePolicy: .useProtocolCachePolicy,\n                                    timeoutInterval: 10.0)\nrequest.httpMethod = \"GET\"\nrequest.allHTTPHeaderFields = headers\n\nlet session = URLSession.shared\nlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in\n  if (error != nil) {\n    print(error)\n  } else {\n    let httpResponse = response as? HTTPURLResponse\n    print(httpResponse)\n  }\n})\n\ndataTask.resume()"}]}},"/volleyball/orgGroup/{organizationGroupCode}/video/streams/available":{"get":{"tags":["Video Streams Available"],"summary":"List available video streams for the ~organization group~","description":"Display the list of video streams for the organization group. Streams for completed matches and those older than 12 hours, will not be displayed.","operationId":"video_stream_outputs_orggroup_list","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","title":"Video_Stream_Outputs 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/Video_Stream_OutputsModel"}}}}}}},"default":{"$ref":"#/components/responses/ErrorResponse"}},"x-hideTryItPanel":true,"parameters":[{"$ref":"#/components/parameters/added"},{"$ref":"#/components/parameters/competitionId"},{"$ref":"#/components/parameters/content"},{"$ref":"#/components/parameters/external"},{"$ref":"#/components/parameters/feedType"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/fromTimeUTC"},{"$ref":"#/components/parameters/hideNull"},{"$ref":"#/components/parameters/include"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/locale"},{"$ref":"#/components/parameters/masterVenueId"},{"$ref":"#/components/parameters/offset"},{"name":"organizationGroupCode","description":"The unique identifier of the organization group","schema":{"type":"string","minLength":3,"maxLength":150,"example":"aubb"},"required":true,"in":"path"},{"$ref":"#/components/parameters/provider"},{"$ref":"#/components/parameters/seasonId"},{"$ref":"#/components/parameters/sourceNumber"},{"$ref":"#/components/parameters/toTimeUTC"},{"$ref":"#/components/parameters/updated"},{"$ref":"#/components/parameters/venueId"}],"x-codeSamples":[{"lang":"C + Libcurl","source":"CURL *hnd = curl_easy_init();\n\ncurl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, \"GET\");\ncurl_easy_setopt(hnd, CURLOPT_URL, \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\n\nstruct curl_slist *headers = NULL;\nheaders = curl_slist_append(headers, \"Authorization: Bearer REPLACE_BEARER_TOKEN\");\ncurl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);\n\nCURLcode ret = curl_easy_perform(hnd);"},{"lang":"Csharp + Restsharp","source":"var client = new RestClient(\"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nvar request = new RestRequest(Method.GET);\nrequest.AddHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\nIRestResponse response = client.Execute(request);"},{"lang":"Go + Native","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}"},{"lang":"Java + Unirest","source":"HttpResponse<String> response = Unirest.get(\"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\")\n  .header(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\")\n  .asString();"},{"lang":"Javascript + Xhr","source":"const data = null;\n\nconst xhr = new XMLHttpRequest();\nxhr.withCredentials = true;\n\nxhr.addEventListener(\"readystatechange\", function () {\n  if (this.readyState === this.DONE) {\n    console.log(this.responseText);\n  }\n});\n\nxhr.open(\"GET\", \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\");\nxhr.setRequestHeader(\"Authorization\", \"Bearer REPLACE_BEARER_TOKEN\");\n\nxhr.send(data);"},{"lang":"Node + Native","source":"const http = require(\"https\");\n\nconst options = {\n  \"method\": \"GET\",\n  \"hostname\": \"api.dc.connect.sportradar.com\",\n  \"port\": null,\n  \"path\": \"/v1/volleyball/orgGroup/{organizationGroupCode}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  \"headers\": {\n    \"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"\n  }\n};\n\nconst req = http.request(options, function (res) {\n  const chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function () {\n    const body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n});\n\nreq.end();"},{"lang":"Objc + Nsurlsession","source":"#import <Foundation/Foundation.h>\n\nNSDictionary *headers = @{ @\"Authorization\": @\"Bearer REPLACE_BEARER_TOKEN\" };\n\nNSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@\"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"]\n                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy\n                                                   timeoutInterval:10.0];\n[request setHTTPMethod:@\"GET\"];\n[request setAllHTTPHeaderFields:headers];\n\nNSURLSession *session = [NSURLSession sharedSession];\nNSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request\n                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {\n                                                if (error) {\n                                                    NSLog(@\"%@\", error);\n                                                } else {\n                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;\n                                                    NSLog(@\"%@\", httpResponse);\n                                                }\n                                            }];\n[dataTask resume];"},{"lang":"Ocaml + Cohttp","source":"open Cohttp_lwt_unix\nopen Cohttp\nopen Lwt\n\nlet uri = Uri.of_string \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\" in\nlet headers = Header.add (Header.init ()) \"Authorization\" \"Bearer REPLACE_BEARER_TOKEN\" in\n\nClient.call ~headers `GET uri\n>>= fun (res, body_stream) ->\n  (* Do stuff with the result *)"},{"lang":"Php + Curl","source":"<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n  CURLOPT_URL => \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\n  CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_ENCODING => \"\",\n  CURLOPT_MAXREDIRS => 10,\n  CURLOPT_TIMEOUT => 30,\n  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n  CURLOPT_CUSTOMREQUEST => \"GET\",\n  CURLOPT_HTTPHEADER => [\n    \"Authorization: Bearer REPLACE_BEARER_TOKEN\"\n  ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n  echo \"cURL Error #:\" . $err;\n} else {\n  echo $response;\n}"},{"lang":"Python + Python3","source":"import http.client\n\nconn = http.client.HTTPSConnection(\"api.dc.connect.sportradar.com\")\n\nheaders = { 'Authorization': \"Bearer REPLACE_BEARER_TOKEN\" }\n\nconn.request(\"GET\", \"/v1/volleyball/orgGroup/{organizationGroupCode}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&sourceNumber=1&toTimeUTC=2018-08-16T18:00:00&updated=2018-08-16T02:11:48&venueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc\", headers=headers)\n\nres = conn.getresponse()\ndata = res.read()\n\nprint(data.decode(\"utf-8\"))"},{"lang":"Python + Requests","source":"import requests\n\nurl = \"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/video/streams/available\"\n\nquerystring = {\"added\":\"2018-08-16T02:10:48\",\"competitionId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"content\":\"CLEAN\",\"external\":\"entityId,personId\",\"feedType\":\"PRIMARY\",\"fields\":\"dob,firstName,organization(id),organizations[name], teams[name,details/metrics/*,tags(id)]\",\"fromTimeUTC\":\"2018-08-16T18:00:00\",\"hideNull\":\"true\",\"include\":\"organizations,fixtures,entities\",\"limit\":\"10\",\"locale\":\"fr_FR\",\"masterVenueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"offset\":\"10\",\"provider\":\"Test Provider\",\"seasonId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\",\"sourceNumber\":\"1\",\"toTimeUTC\":\"2018-08-16T18:00:00\",\"updated\":\"2018-08-16T02:11:48\",\"venueId\":\"009e9276-5c80-11e8-9c2d-fa7ae01bbebc\"}\n\nheaders = {\"Authorization\": \"Bearer REPLACE_BEARER_TOKEN\"}\n\nresponse = requests.request(\"GET\", url, headers=headers, params=querystring)\n\nprint(response.text)"},{"lang":"Ruby + Native","source":"require 'uri'\nrequire 'net/http'\nrequire 'openssl'\n\nurl = URI(\"https://api.dc.connect.sportradar.com/v1/volleyball/orgGroup/{organizationGroupCode}/video/streams/available?added=2018-08-16T02:10:48&competitionId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&content=CLEAN&external=entityId,personId&feedType=PRIMARY&fields=dob,firstName,organization(id),organizations[name],%20teams[name,details%2Fmetrics%2F*,tags(id)]&fromTimeUTC=2018-08-16T18:00:00&hideNull=true&include=organizations,fixtures,entities&limit=10&locale=fr_FR&masterVenueId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&offset=10&provider=Test%20Provider&seasonId=009e9276-5c80-11e8-9c2d-fa7ae01bbebc&so