POST api/shoot/tasks

Request Information

URI Parameters

None.

Body Parameters

Collection of TaskDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ClubGroundId

integer

None.

NeedsSync

boolean

None.

HasDuplication

boolean

None.

MembershipId

integer

None.

FirstName

string

None.

Intials

string

None.

Surname

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "d15fc650-7cea-4f0d-8a9c-1aba48f658ba",
    "ClubGroundId": 2,
    "NeedsSync": true,
    "HasDuplication": true,
    "MembershipId": 5,
    "FirstName": "sample string 6",
    "Intials": "sample string 7",
    "Surname": "sample string 8"
  },
  {
    "Id": "d15fc650-7cea-4f0d-8a9c-1aba48f658ba",
    "ClubGroundId": 2,
    "NeedsSync": true,
    "HasDuplication": true,
    "MembershipId": 5,
    "FirstName": "sample string 6",
    "Intials": "sample string 7",
    "Surname": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTaskDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShootDtos.Models">
  <TaskDto>
    <ClubGroundId>2</ClubGroundId>
    <FirstName>sample string 6</FirstName>
    <HasDuplication>true</HasDuplication>
    <Id>d15fc650-7cea-4f0d-8a9c-1aba48f658ba</Id>
    <Intials>sample string 7</Intials>
    <MembershipId>5</MembershipId>
    <NeedsSync>true</NeedsSync>
    <Surname>sample string 8</Surname>
  </TaskDto>
  <TaskDto>
    <ClubGroundId>2</ClubGroundId>
    <FirstName>sample string 6</FirstName>
    <HasDuplication>true</HasDuplication>
    <Id>d15fc650-7cea-4f0d-8a9c-1aba48f658ba</Id>
    <Intials>sample string 7</Intials>
    <MembershipId>5</MembershipId>
    <NeedsSync>true</NeedsSync>
    <Surname>sample string 8</Surname>
  </TaskDto>
</ArrayOfTaskDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.