/* Options:
Date: 2025-05-10 02:39:08
Version: 8.40
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://active-ewebservice.biz/aeservices30/api
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: True
//ExportValueTypes: False
IncludeTypes: C2BGetDistrictInfoRequest.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using AIM.WebService;
using AIM;
namespace AIM
{
[DataContract]
public partial class C2BDistrictGeneric
{
[DataMember]
public virtual string DistrictName { get; set; }
[DataMember]
public virtual int SchoolCount { get; set; }
[DataMember]
public virtual int TeacherCount { get; set; }
[DataMember]
public virtual string Topic { get; set; }
[DataMember]
public virtual long Id { get; set; }
}
}
namespace AIM.WebService
{
[DataContract]
public partial class BaseRequest
{
///
///This is your AIM API Key provided by Tri-Tech
///
[DataMember]
[ApiMember(DataType="string", Description="This is your AIM API Key provided by Tri-Tech", IsRequired=true, Name="ApiKey", ParameterType="header")]
public virtual string ApiKey { get; set; }
[DataMember]
[ApiMember(DataType="string", Name="OAuthToken", ParameterType="header")]
public virtual string OAuthToken { get; set; }
}
[DataContract]
public partial class BaseResponse
{
///
///
///
[DataMember]
[ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body")]
public virtual BaseResponseResult Status { get; set; }
}
///
///C2BGetDistrictInfoRequires active-e Contracts Service.
///
[Route("/C2BGetDistrictInfo", "POST, GET")]
[DataContract]
public partial class C2BGetDistrictInfoRequest
: BaseRequest, IReturn
{
///
///If sent, only districts with schools of the sent plan code will be returned.
///
[DataMember]
[ApiMember(DataType="string", Description="If sent, only districts with schools of the sent plan code will be returned.", Format="date", Name="PlanCode", ParameterType="query")]
public virtual string PlanCode { get; set; }
///
///ID of the Instrument record. Optional.
///
[DataMember]
[ApiMember(DataType="integer", Description="ID of the Instrument record. Optional.", Format="int64", Name="RinPk", ParameterType="query")]
public virtual long? RinPk { get; set; }
///
///Optional Request Type. Valid values are Contract and Shipping.
///
[DataMember]
[ApiMember(DataType="string", Description="Optional Request Type. Valid values are Contract and Shipping.", Name="RequestType", ParameterType="query")]
public virtual string RequestType { get; set; }
}
[DataContract]
public partial class C2BGetDistrictInfoResponse
: BaseResponse
{
public C2BGetDistrictInfoResponse()
{
Districts = new List{};
}
[DataMember]
public virtual List Districts { get; set; }
[DataMember]
public virtual bool TeacherTableExists { get; set; }
}
}