POST api/SessionRegistrations
Create a new Session Registration record
Possible Service Responses:
201/Created - Session Registration created successfully and returned in the body of the response.
500/Internal Server - unexpected server error, details in the body of the response.
Request Information
URI Parameters
None.
Body Parameters
The session registration to create
Altai.Web.Services.Models.SessionRegistration| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | System.String |
None. |
|
| Name | System.String |
None. |
|
| Session | Altai.Web.Services.Models.Session |
None. |
|
| WebProductId | System.String |
None. |
|
| EventId | System.String |
None. |
|
| ContactId | System.String |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"Name": "sample string 2",
"Session": {
"Id": "sample string 1",
"Name": "sample string 2",
"SessionGroup": {
"Id": "sample string 1",
"Name": "sample string 2",
"DisplayOrder": 3.0
},
"PreRequisiteSessions": [],
"TwoOption1": true,
"IsGuestSession": true
},
"WebProductId": "sample string 3",
"EventId": "sample string 4",
"ContactId": "sample string 5"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | System.String |
None. |
|
| Headers | System.Net.Http.Headers.HttpResponseHeaders |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | System.Boolean |
None. |