PUT api/MissionEvent?id={id}

Documentation for 'PutMissionEvent'.

Request Information

Parameters

NameDescriptionAdditional information
id
Documentation for 'id'.

Define this parameter in the request URI.

missionevent
Documentation for 'missionevent'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "EventId": 1,
  "ChurchId": 2,
  "ProjectName": "sample string 3",
  "DateOfTrip": "2020-12-01T05:57:28.6561797-05:00",
  "EndDate": "2020-12-01T05:57:28.6561797-05:00",
  "Location": "sample string 4",
  "Denomination": "sample string 5",
  "WorkDone": "sample string 6",
  "WorkDays": 7,
  "TeamType": "sample string 8",
  "NumberOfMembers": 1,
  "NumberOfAdultMembers": 1,
  "NumberOfYouthMembers": 1,
  "MonetaryContributions": 9.0,
  "InKindContributions": 10.0,
  "TeamExpenses": 11.0,
  "ChurchesRepresented": "sample string 12",
  "TeamLeader": "sample string 13",
  "TeamLeaderEMail": "sample string 14",
  "WorkbookId": 15,
  "AreaServed": "sample string 16",
  "Hours": 1,
  "Contributions": 1.0,
  "Volunteers": 1,
  "UMCORKits": 1,
  "WorkDoneType": "sample string 17",
  "TeamLeaderAddress": "sample string 18",
  "TeamLeaderCity": "sample string 19",
  "TeamLeaderState": "sample string 20",
  "TeamLeaderPostalCode": "sample string 21",
  "TeamLeaderPhone": "sample string 22",
  "OtherWork": "sample string 23",
  "Sponsor": "sample string 24",
  "SponsorName": "sample string 25",
  "ConstructionContributions": 1.0,
  "MedicalContributions": 1.0,
  "EvangelismContributions": 1.0,
  "EducationContributions": 1.0,
  "OtherContributions": 1.0
}

application/xml, text/xml

Sample:
<MissionEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeConference.Models">
  <AreaServed>sample string 16</AreaServed>
  <ChurchId>2</ChurchId>
  <ChurchesRepresented>sample string 12</ChurchesRepresented>
  <ConstructionContributions>1</ConstructionContributions>
  <Contributions>1</Contributions>
  <DateOfTrip>2020-12-01T05:57:28.6561797-05:00</DateOfTrip>
  <Denomination>sample string 5</Denomination>
  <EducationContributions>1</EducationContributions>
  <EndDate>2020-12-01T05:57:28.6561797-05:00</EndDate>
  <EvangelismContributions>1</EvangelismContributions>
  <EventId>1</EventId>
  <Hours>1</Hours>
  <InKindContributions>10</InKindContributions>
  <Location>sample string 4</Location>
  <MedicalContributions>1</MedicalContributions>
  <MonetaryContributions>9</MonetaryContributions>
  <NumberOfAdultMembers>1</NumberOfAdultMembers>
  <NumberOfMembers>1</NumberOfMembers>
  <NumberOfYouthMembers>1</NumberOfYouthMembers>
  <OtherContributions>1</OtherContributions>
  <OtherWork>sample string 23</OtherWork>
  <ProjectName>sample string 3</ProjectName>
  <Sponsor>sample string 24</Sponsor>
  <SponsorName>sample string 25</SponsorName>
  <TeamExpenses>11</TeamExpenses>
  <TeamLeader>sample string 13</TeamLeader>
  <TeamLeaderAddress>sample string 18</TeamLeaderAddress>
  <TeamLeaderCity>sample string 19</TeamLeaderCity>
  <TeamLeaderEMail>sample string 14</TeamLeaderEMail>
  <TeamLeaderPhone>sample string 22</TeamLeaderPhone>
  <TeamLeaderPostalCode>sample string 21</TeamLeaderPostalCode>
  <TeamLeaderState>sample string 20</TeamLeaderState>
  <TeamType>sample string 8</TeamType>
  <UMCORKits>1</UMCORKits>
  <Volunteers>1</Volunteers>
  <WorkDays>7</WorkDays>
  <WorkDone>sample string 6</WorkDone>
  <WorkDoneType>sample string 17</WorkDoneType>
  <WorkbookId>15</WorkbookId>
</MissionEvent>

application/x-www-form-urlencoded

Sample:

Sample not available.