GET api/UserChurch?id={id}

Documentation for 'GetUserChurches'.

Request Information

Parameters

NameDescriptionAdditional information
id
Documentation for 'id'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "UserId": 1,
    "ChurchId": 2,
    "Name": "sample string 3",
    "DistrictId": 4
  },
  {
    "UserId": 1,
    "ChurchId": 2,
    "Name": "sample string 3",
    "DistrictId": 4
  },
  {
    "UserId": 1,
    "ChurchId": 2,
    "Name": "sample string 3",
    "DistrictId": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserChurch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeConference.Models">
  <UserChurch>
    <ChurchId>2</ChurchId>
    <DistrictId>4</DistrictId>
    <Name>sample string 3</Name>
    <UserId>1</UserId>
  </UserChurch>
  <UserChurch>
    <ChurchId>2</ChurchId>
    <DistrictId>4</DistrictId>
    <Name>sample string 3</Name>
    <UserId>1</UserId>
  </UserChurch>
  <UserChurch>
    <ChurchId>2</ChurchId>
    <DistrictId>4</DistrictId>
    <Name>sample string 3</Name>
    <UserId>1</UserId>
  </UserChurch>
</ArrayOfUserChurch>