API
⌘K
My Developer Account

Conflict

A conflict between two events caused by overlapping event resource requests.

If the conflict has been resolved, resolved_at will be present.

Example Request

curl https://api.planningcenteronline.com/calendar/v2/conflicts

View in API Explorer →

Example Object

{
  "type": "Conflict",
  "id": "1",
  "attributes": {
    "created_at": "2000-01-01T12:00:00Z",
    "note": "string",
    "resolved_at": "2000-01-01T12:00:00Z",
    "updated_at": "2000-01-01T12:00:00Z"
  },
  "relationships": {
    "resource": {
      "data": {
        "type": "Resource",
        "id": "1"
      }
    },
    "resolved_by": {
      "data": {
        "type": "Person",
        "id": "1"
      }
    },
    "winner": {
      "data": {
        "type": "Event",
        "id": "1"
      }
    }
  }
}

Attributes

Name Type Description
created_at date_time

UTC time at which the conflict was created

id primary_key

Unique identifier for the conflict

note string

Additional information about the conflict or resolution

resolved_at date_time

UTC time at which the conflict was resolved

updated_at date_time

UTC time at which the conflict was updated

Relationships

Name Type Association Type Note
resource Resource to_one
resolved_by Person to_one
winner Event to_one

Can Include

Parameter Value Description Assignable
include resolved_by

include associated resolved_by

create and update
include resource

include associated resource

create and update
include winner

include associated winner

create and update

Order By

Parameter Value Type Description
order resolved_at string

prefix with a hyphen (-resolved_at) to reverse the order

Pagination

Name Parameter Type Description
per_page per_page integer

how many records to return per page (min=1, max=100, default=25)

offset offset integer

get results from given offset

Endpoints

Listing

HTTP Method Endpoint
GET /calendar/v2/conflicts

Reading

HTTP Method Endpoint
GET /calendar/v2/conflicts/{id}

Associations

HTTP Method Endpoint Returns Details Filter By
GET https://api.planningcenteronline.com/calendar/v2/conflicts/{conflict_id}/resolved_by Person
GET https://api.planningcenteronline.com/calendar/v2/conflicts/{conflict_id}/resource Resource
GET https://api.planningcenteronline.com/calendar/v2/conflicts/{conflict_id}/winner Event

Belongs To

HTTP Method Endpoint Association Details Filter By
GET https://api.planningcenteronline.com/calendar/v2/events/{event_id}/conflicts Event
GET https://api.planningcenteronline.com/calendar/v2/conflicts Organization
  • future
  • resolved
  • unresolved
GET https://api.planningcenteronline.com/calendar/v2/resources/{resource_id}/conflicts Resource