This service allows an organization to determine its association to a specified
list of students or all the students for a School.
Namespace: PASI.ServiceContract
Assembly: PASI.ServiceContract (in PASI.ServiceContract.dll) Version: 9.25.26.0 (9.25.26.0)
Syntax
OrganizationAssociationResponse GetOrganizationAssociation( OrganizationAssociationRequest request )
Parameters
- request
- Type: PASI.DataContract.V2009OrganizationAssociationRequest
The request OrganizationAssociationRequest contains a list of state province ids to consider. If no state province Ids are passed the OrganizationCode on the request will be used to return all students if the code is a School code.
Return Value
Type: OrganizationAssociationResponseThe response OrganizationAssociationResponse contains a list of organization associations which shows the association each student has with the client's organization. If a Student's StateProvinceId has been deactivated only a client representing the Ministry is associated to the student.
Service Validations
The following codes can be returned from the service operation. This list also shows core alerts that could be generated as a result calling this service. These codes are in addition to the standard set of codes that can be returned defined as in the Approach to Error Reporting. Click the link for the details.
5001Remarks
Request and Response Class Diagram
Request Fields
Full Property Name | Type | Required | Other Attributes |
---|---|---|---|
CallerInfo | CallerInfo | Yes | |
CallerInfo.ClientMessageID | String | Yes | Value must be no more than 50 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF] |
CallerInfo.SentUtcTime | DateTime | Yes | |
CallerInfo.Software | Software | Yes | |
CallerInfo.Software.BuildNumber | String | Yes | Value must be no more than 30 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF] |
CallerInfo.Software.Manufacturer | String | Yes | Value must be no more than 100 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF] |
CallerInfo.Software.Product | String | Yes | Value must be no more than 100 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF] |
CallerInfo.Software.Version | String | Yes | Value must be no more than 30 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF] |
CallerInfo.User | User | Yes | |
CallerInfo.User.IPAddress | String | Yes | Value must be no more than 50 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF] |
CallerInfo.User.LocalID | String | Yes | Value must be no more than 50 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF] |
CallerInfo.User.Name | String | Yes | Value must be no more than 100 characters Value must not have control characters, leading, trailing or multiple embedded spaces. Content must not match regular expression: ^\s|\s{2,}|\s$|[\x00-\x19]|[\x7F-\x9F]|[^\x00-\xFF] |
CallerInfo.User.OrganizationCode | String | Yes | Value must be no more than 6 characters |
OrganizationCode | String | Yes | Value must be no more than 6 characters |
StateProvinceIds | List<String> | No |
Response Fields
Full Property Name | Type | Required | Other Attributes |
---|---|---|---|
OrganizationAssociationResponse.OrganizationAssociations | List<OrganizationAssociation> | Yes | |
OrganizationAssociationResponse.OrganizationAssociations.AssociationType | String | Yes | Value must be an appropriate OrganizationAssociationType code value |
OrganizationAssociationResponse.OrganizationAssociations.IsStudentRecordCustodian | Boolean | Yes | |
OrganizationAssociationResponse.OrganizationAssociations.StateProvinceId | String | Yes | |
OrganizationAssociationResponse.OrganizationAssociations.SyncStatus | String | Yes |
See Also