POST api/ems/eventParticipant/createEdit

Request Information

URI Parameters

None.

Body Parameters

EmsEventParticipantCreateEditView
NameDescriptionTypeAdditional information
Id

integer

None.

IsCreate

boolean

None.

People

PeopleSelectListItemView

None.

PeopleId

integer

None.

Event

PeopleSelectListItemView

None.

EventId

integer

None.

CustomFieldDatas

Collection of CoreCustomFieldDataCreateEditView

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IsCreate": true,
  "People": {
    "AvatarPath": "sample string 1",
    "PhoneNumber": "sample string 2",
    "PeopleType": 0,
    "IsNew": true,
    "GroupId": "sample string 4",
    "GroupName": "sample string 5",
    "Order": 6,
    "Disabled": true,
    "Group": {
      "Disabled": true,
      "Name": "sample string 2"
    },
    "Selected": true,
    "Text": "sample string 9",
    "Value": "sample string 10"
  },
  "PeopleId": 3,
  "Event": {
    "AvatarPath": "sample string 1",
    "PhoneNumber": "sample string 2",
    "PeopleType": 0,
    "IsNew": true,
    "GroupId": "sample string 4",
    "GroupName": "sample string 5",
    "Order": 6,
    "Disabled": true,
    "Group": {
      "Disabled": true,
      "Name": "sample string 2"
    },
    "Selected": true,
    "Text": "sample string 9",
    "Value": "sample string 10"
  },
  "EventId": 4,
  "CustomFieldDatas": [
    {
      "Field": {
        "FieldId": 1,
        "FieldDataTypeId": 2,
        "DataType": 0,
        "Title": "sample string 3",
        "Value": {},
        "Items": [
          {
            "Disabled": true,
            "Group": {
              "Disabled": true,
              "Name": "sample string 2"
            },
            "Selected": true,
            "Text": "sample string 3",
            "Value": "sample string 4"
          },
          {
            "Disabled": true,
            "Group": {
              "Disabled": true,
              "Name": "sample string 2"
            },
            "Selected": true,
            "Text": "sample string 3",
            "Value": "sample string 4"
          }
        ],
        "IsUnique": true,
        "IsRequired": true,
        "GridSize": 64,
        "CustomFieldDataId": 1,
        "IsPrimaryKey": true,
        "RelatedType": {
          "Id": 1,
          "Code": "sample string 2",
          "ParentCode": "sample string 3",
          "Icon": "sample string 4",
          "NameSingular": "sample string 5",
          "NamePlural": "sample string 6",
          "Route": "sample string 7",
          "HasBoard": true,
          "HasPeople": true,
          "HasPeopleMultiple": true,
          "HasCard": true,
          "HasCrmSourceId": true
        },
        "SelectUrl": "sample string 9",
        "SelectIsSearchable": true,
        "DisplayableValue": "sample string 11",
        "Key": "sample string 12"
      },
      "Group": {
        "Id": 1,
        "Title": "sample string 2"
      },
      "IsLabelMuted": true
    },
    {
      "Field": {
        "FieldId": 1,
        "FieldDataTypeId": 2,
        "DataType": 0,
        "Title": "sample string 3",
        "Value": {},
        "Items": [
          {
            "Disabled": true,
            "Group": {
              "Disabled": true,
              "Name": "sample string 2"
            },
            "Selected": true,
            "Text": "sample string 3",
            "Value": "sample string 4"
          },
          {
            "Disabled": true,
            "Group": {
              "Disabled": true,
              "Name": "sample string 2"
            },
            "Selected": true,
            "Text": "sample string 3",
            "Value": "sample string 4"
          }
        ],
        "IsUnique": true,
        "IsRequired": true,
        "GridSize": 64,
        "CustomFieldDataId": 1,
        "IsPrimaryKey": true,
        "RelatedType": {
          "Id": 1,
          "Code": "sample string 2",
          "ParentCode": "sample string 3",
          "Icon": "sample string 4",
          "NameSingular": "sample string 5",
          "NamePlural": "sample string 6",
          "Route": "sample string 7",
          "HasBoard": true,
          "HasPeople": true,
          "HasPeopleMultiple": true,
          "HasCard": true,
          "HasCrmSourceId": true
        },
        "SelectUrl": "sample string 9",
        "SelectIsSearchable": true,
        "DisplayableValue": "sample string 11",
        "Key": "sample string 12"
      },
      "Group": {
        "Id": 1,
        "Title": "sample string 2"
      },
      "IsLabelMuted": true
    }
  ]
}

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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.