http://www.FatTail.com/api
Agency Complex Type
http://www.FatTail.com/api : Agency Complex Type
Description
Agency information.
Namespace http://www.FatTail.com/api
Base Type
Extension of Account Complex Type
Overview
Agency Extension of Account Complex Type
Agency information.
Sequence
Address optional xs:string
Number and street.
City optional xs:string
City element of the address.
Country optional xs:string
Country element of the address.
ExternalID optional xs:string
Third party system ID used for mapping external entities to AdBook clients and agencies.
Fax optional xs:string
Fax number for the client or agency.
Name xs:string
Name of the account entity.
Notes optional xs:string
Free form text field assigned to the account.
Phone optional xs:string
Phone number of the account.
PostalCode optional xs:string
Postal code for the account address.
State optional xs:string
State the account resides in.
URL optional xs:string
URL for the account.
CRMID optional xs:string
Mapping ID for a CRM entity if the Agency is associated with an entity in a CRM system.
IsCreditRisk optional xs:boolean
Flag to indicate credit status of the Agency.
ReadonlyProperties optional ArrayOfReadonlyPropertyValue Complex Type
Sequence
Sequence
PropertyName optional xs:string
Value optional xs:string
AgencyID optional xs:long
Primary key for the Agency.
CustomerCode optional xs:string
Third party system ID.  Usually used for mapping an Agency to the appropriate entity in a billing/invoicing system.
ParentAgencyID optional xs:long
Reference to the parent company of the Agency.  This will be the AgencyID of another Agency.
AgencyDynamicProperties optional ArrayOfDynamicPropertyValue Complex Type
User defined properties for the Agency.
Sequence
Sequence
DynamicPropertyID optional xs:long
AdBook system ID for the DynamicProperty.
Value optional xs:string
Value being assigned to the dynamic property.  The format of the value depends on the type specified in the DynamicProperty definition.
Used By
Agency Element
Agency Element
agency Element
CreateAgencyResult Element
GetAgencyResult Element
agency Element
Source
<xs:complexType name="Agency" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexContent mixed="false">
    <xs:extension xmlns:q181="http://www.FatTail.com/api" base="q181:Account">
      <xs:sequence>
        <xs:element minOccurs="0" name="AgencyID" type="xs:long">
          <xs:annotation>
            <xs:appinfo />
            <xs:documentation>&lt;summary&gt;Primary key for the Agency.&lt;/summary&gt;</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="CustomerCode" nillable="true" type="xs:string">
          <xs:annotation>
            <xs:appinfo>
              <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
            </xs:appinfo>
            <xs:documentation>&lt;summary&gt;Third party system ID.  Usually used for mapping an Agency to the appropriate entity in a billing/invoicing system.&lt;/summary&gt;</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="ParentAgencyID" nillable="true" type="xs:long">
          <xs:annotation>
            <xs:appinfo>
              <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="AgencyDynamicProperties" nillable="true" type="q181:ArrayOfDynamicPropertyValue">
          <xs:annotation>
            <xs:appinfo>
              <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>
See Also
http://www.FatTail.com/api