POST v1/events/{eventName}/sponsors
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| eventName | string |
Required |
Body Parameters
SponsorCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| SponsorText | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"SponsorText": "sample string 1"
}
application/xml, text/xml
Sample:
<SponsorCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.Sponsor"> <SponsorText>sample string 1</SponsorText> </SponsorCreate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SponsorDto| Name | Description | Type | Additional information |
|---|---|---|---|
| SponsorId | integer |
None. |
|
| SponsorText | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SponsorId": 1,
"SponsorText": "sample string 2"
}
application/xml, text/xml
Sample:
<SponsorDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.Sponsor"> <SponsorId>1</SponsorId> <SponsorText>sample string 2</SponsorText> </SponsorDto>