Lists Test
Reporting/Lists/{listId}/Contents
Import constituent ids into an existing list.
Http Verb PUT
Resource URL https://ts-stg-appgw.calacademy.org/TessituraService/Reporting/Lists/{listId}/Contents

URI Parameters

Parameter Name Data Type Required Notes
listId integer Y

Request Body

Request object type : ListImportRequest

Request object type ListImportRequest has the following properties.
Property Name Data Type Length Required Readonly Notes
ConstituentIds Collection of integer
{
  "ConstituentIds": [
    1,
    2
  ]
}
<ListImportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <ConstituentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ConstituentIds>
</ListImportRequest>

Response object type : ListImportResponse

Response object type ListImportResponse has the following properties.
Property Name Data Type Length Required Readonly Notes
Errors Collection of ListImportError
SuccessfulImports integer
{
  "SuccessfulImports": 1,
  "Errors": [
    {
      "Row": 1,
      "ConstituentId": 2,
      "Message": "sample string 3"
    },
    {
      "Row": 1,
      "ConstituentId": 2,
      "Message": "sample string 3"
    }
  ]
}
<ListImportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Errors>
    <ListImportError>
      <ConstituentId>2</ConstituentId>
      <Message>sample string 3</Message>
      <Row>1</Row>
    </ListImportError>
    <ListImportError>
      <ConstituentId>2</ConstituentId>
      <Message>sample string 3</Message>
      <Row>1</Row>
    </ListImportError>
  </Errors>
  <SuccessfulImports>1</SuccessfulImports>
</ListImportResponse>

No entries in change log for this operation.