PUT api/Organization

Request Information

URI Parameters

None.

Body Parameters

ShortOrganization
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

iconClass

string

None.

address1

string

None.

address2

string

None.

city

string

None.

zip

string

None.

stateId

integer

None.

stateName

string

None.

phone

string

None.

website

string

None.

budgetId

integer

None.

budgetName

string

None.

orgTypeId

integer

None.

orgTypeName

string

None.

orgAdmin

string

None.

orgAdminEmail

string

None.

orgContactId

integer

None.

sites

Collection of ShortSite

None.

isActive

boolean

None.

county

string

None.

canCreateAssessments

boolean

None.

isApproved

boolean

None.

isDenied

boolean

None.

denyReason

string

None.

contactFirstName

string

None.

contactLastName

string

None.

requestedon

date

None.

approvedon

date

None.

deniedon

date

None.

captchaResponse

string

None.

needsUpdate

boolean

None.

salesforceId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "iconClass": "sample string 3",
  "address1": "sample string 4",
  "address2": "sample string 5",
  "city": "sample string 6",
  "zip": "sample string 7",
  "stateId": 8,
  "stateName": "sample string 9",
  "phone": "sample string 10",
  "website": "sample string 11",
  "budgetId": 12,
  "budgetName": "sample string 13",
  "orgTypeId": 14,
  "orgTypeName": "sample string 15",
  "orgAdmin": "sample string 16",
  "orgAdminEmail": "sample string 17",
  "orgContactId": 1,
  "sites": [
    {
      "name": "sample string 1",
      "id": 2,
      "organizationName": "sample string 3",
      "organizationId": 4,
      "iconClass": "sample string 5",
      "address1": "sample string 6",
      "address2": "sample string 7",
      "city": "sample string 8",
      "zip": "sample string 9",
      "stateId": 10,
      "stateName": "sample string 11",
      "phone": "sample string 12",
      "orgTypeId": 13,
      "orgTypeName": "sample string 14",
      "siteAdmin": "sample string 15",
      "siteAdminEmail": "sample string 16",
      "siteAdminId": 1,
      "isActive": true,
      "canCreateAssessments": true,
      "counties": "sample string 19",
      "schoolDurationId": 1,
      "schoolDurationName": "sample string 20",
      "cycText": "sample string 21",
      "totalServedLastYear": "sample string 22",
      "totalServedLastSummer": "sample string 23",
      "average30days": "sample string 24",
      "otherNeed": "sample string 25",
      "grades": [
        {
          "name": "sample string 1",
          "id": 2,
          "isActive": true
        },
        {
          "name": "sample string 1",
          "id": 2,
          "isActive": true
        }
      ],
      "activities": [
        {
          "name": "sample string 1",
          "id": 2,
          "isActive": true
        },
        {
          "name": "sample string 1",
          "id": 2,
          "isActive": true
        }
      ],
      "specialDesignations": [
        {
          "name": "sample string 1",
          "id": 2,
          "isActive": true
        },
        {
          "name": "sample string 1",
          "id": 2,
          "isActive": true
        }
      ],
      "needsUpdate": true,
      "salesforceId": "sample string 27"
    },
    {
      "name": "sample string 1",
      "id": 2,
      "organizationName": "sample string 3",
      "organizationId": 4,
      "iconClass": "sample string 5",
      "address1": "sample string 6",
      "address2": "sample string 7",
      "city": "sample string 8",
      "zip": "sample string 9",
      "stateId": 10,
      "stateName": "sample string 11",
      "phone": "sample string 12",
      "orgTypeId": 13,
      "orgTypeName": "sample string 14",
      "siteAdmin": "sample string 15",
      "siteAdminEmail": "sample string 16",
      "siteAdminId": 1,
      "isActive": true,
      "canCreateAssessments": true,
      "counties": "sample string 19",
      "schoolDurationId": 1,
      "schoolDurationName": "sample string 20",
      "cycText": "sample string 21",
      "totalServedLastYear": "sample string 22",
      "totalServedLastSummer": "sample string 23",
      "average30days": "sample string 24",
      "otherNeed": "sample string 25",
      "grades": [
        {
          "name": "sample string 1",
          "id": 2,
          "isActive": true
        },
        {
          "name": "sample string 1",
          "id": 2,
          "isActive": true
        }
      ],
      "activities": [
        {
          "name": "sample string 1",
          "id": 2,
          "isActive": true
        },
        {
          "name": "sample string 1",
          "id": 2,
          "isActive": true
        }
      ],
      "specialDesignations": [
        {
          "name": "sample string 1",
          "id": 2,
          "isActive": true
        },
        {
          "name": "sample string 1",
          "id": 2,
          "isActive": true
        }
      ],
      "needsUpdate": true,
      "salesforceId": "sample string 27"
    }
  ],
  "isActive": true,
  "county": "sample string 19",
  "canCreateAssessments": true,
  "isApproved": true,
  "isDenied": true,
  "denyReason": "sample string 23",
  "contactFirstName": "sample string 24",
  "contactLastName": "sample string 25",
  "requestedon": "2019-05-27T05:26:37.7041918+00:00",
  "approvedon": "2019-05-27T05:26:37.7041918+00:00",
  "deniedon": "2019-05-27T05:26:37.7041918+00:00",
  "captchaResponse": "sample string 27",
  "needsUpdate": true,
  "salesforceId": "sample string 29"
}

application/xml, text/xml

Sample:
<ShortOrganization xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IAN_QPSA.Models">
  <address1>sample string 4</address1>
  <address2>sample string 5</address2>
  <approvedon>2019-05-27T05:26:37.7041918+00:00</approvedon>
  <budgetId>12</budgetId>
  <budgetName>sample string 13</budgetName>
  <canCreateAssessments>true</canCreateAssessments>
  <captchaResponse>sample string 27</captchaResponse>
  <city>sample string 6</city>
  <contactFirstName>sample string 24</contactFirstName>
  <contactLastName>sample string 25</contactLastName>
  <county>sample string 19</county>
  <deniedon>2019-05-27T05:26:37.7041918+00:00</deniedon>
  <denyReason>sample string 23</denyReason>
  <iconClass>sample string 3</iconClass>
  <id>1</id>
  <isActive>true</isActive>
  <isApproved>true</isApproved>
  <isDenied>true</isDenied>
  <name>sample string 2</name>
  <needsUpdate>true</needsUpdate>
  <orgAdmin>sample string 16</orgAdmin>
  <orgAdminEmail>sample string 17</orgAdminEmail>
  <orgContactId>1</orgContactId>
  <orgTypeId>14</orgTypeId>
  <orgTypeName>sample string 15</orgTypeName>
  <phone>sample string 10</phone>
  <requestedon>2019-05-27T05:26:37.7041918+00:00</requestedon>
  <salesforceId>sample string 29</salesforceId>
  <sites>
    <ShortSite>
      <activities>
        <DropdownItem>
          <id>2</id>
          <isActive>true</isActive>
          <name>sample string 1</name>
        </DropdownItem>
        <DropdownItem>
          <id>2</id>
          <isActive>true</isActive>
          <name>sample string 1</name>
        </DropdownItem>
      </activities>
      <address1>sample string 6</address1>
      <address2>sample string 7</address2>
      <average30days>sample string 24</average30days>
      <canCreateAssessments>true</canCreateAssessments>
      <city>sample string 8</city>
      <counties>sample string 19</counties>
      <cycText>sample string 21</cycText>
      <grades>
        <DropdownItem>
          <id>2</id>
          <isActive>true</isActive>
          <name>sample string 1</name>
        </DropdownItem>
        <DropdownItem>
          <id>2</id>
          <isActive>true</isActive>
          <name>sample string 1</name>
        </DropdownItem>
      </grades>
      <iconClass>sample string 5</iconClass>
      <id>2</id>
      <isActive>true</isActive>
      <name>sample string 1</name>
      <needsUpdate>true</needsUpdate>
      <orgTypeId>13</orgTypeId>
      <orgTypeName>sample string 14</orgTypeName>
      <organizationId>4</organizationId>
      <organizationName>sample string 3</organizationName>
      <otherNeed>sample string 25</otherNeed>
      <phone>sample string 12</phone>
      <salesforceId>sample string 27</salesforceId>
      <schoolDurationId>1</schoolDurationId>
      <schoolDurationName>sample string 20</schoolDurationName>
      <siteAdmin>sample string 15</siteAdmin>
      <siteAdminEmail>sample string 16</siteAdminEmail>
      <siteAdminId>1</siteAdminId>
      <specialDesignations>
        <DropdownItem>
          <id>2</id>
          <isActive>true</isActive>
          <name>sample string 1</name>
        </DropdownItem>
        <DropdownItem>
          <id>2</id>
          <isActive>true</isActive>
          <name>sample string 1</name>
        </DropdownItem>
      </specialDesignations>
      <stateId>10</stateId>
      <stateName>sample string 11</stateName>
      <totalServedLastSummer>sample string 23</totalServedLastSummer>
      <totalServedLastYear>sample string 22</totalServedLastYear>
      <zip>sample string 9</zip>
    </ShortSite>
    <ShortSite>
      <activities>
        <DropdownItem>
          <id>2</id>
          <isActive>true</isActive>
          <name>sample string 1</name>
        </DropdownItem>
        <DropdownItem>
          <id>2</id>
          <isActive>true</isActive>
          <name>sample string 1</name>
        </DropdownItem>
      </activities>
      <address1>sample string 6</address1>
      <address2>sample string 7</address2>
      <average30days>sample string 24</average30days>
      <canCreateAssessments>true</canCreateAssessments>
      <city>sample string 8</city>
      <counties>sample string 19</counties>
      <cycText>sample string 21</cycText>
      <grades>
        <DropdownItem>
          <id>2</id>
          <isActive>true</isActive>
          <name>sample string 1</name>
        </DropdownItem>
        <DropdownItem>
          <id>2</id>
          <isActive>true</isActive>
          <name>sample string 1</name>
        </DropdownItem>
      </grades>
      <iconClass>sample string 5</iconClass>
      <id>2</id>
      <isActive>true</isActive>
      <name>sample string 1</name>
      <needsUpdate>true</needsUpdate>
      <orgTypeId>13</orgTypeId>
      <orgTypeName>sample string 14</orgTypeName>
      <organizationId>4</organizationId>
      <organizationName>sample string 3</organizationName>
      <otherNeed>sample string 25</otherNeed>
      <phone>sample string 12</phone>
      <salesforceId>sample string 27</salesforceId>
      <schoolDurationId>1</schoolDurationId>
      <schoolDurationName>sample string 20</schoolDurationName>
      <siteAdmin>sample string 15</siteAdmin>
      <siteAdminEmail>sample string 16</siteAdminEmail>
      <siteAdminId>1</siteAdminId>
      <specialDesignations>
        <DropdownItem>
          <id>2</id>
          <isActive>true</isActive>
          <name>sample string 1</name>
        </DropdownItem>
        <DropdownItem>
          <id>2</id>
          <isActive>true</isActive>
          <name>sample string 1</name>
        </DropdownItem>
      </specialDesignations>
      <stateId>10</stateId>
      <stateName>sample string 11</stateName>
      <totalServedLastSummer>sample string 23</totalServedLastSummer>
      <totalServedLastYear>sample string 22</totalServedLastYear>
      <zip>sample string 9</zip>
    </ShortSite>
  </sites>
  <stateId>8</stateId>
  <stateName>sample string 9</stateName>
  <website>sample string 11</website>
  <zip>sample string 7</zip>
</ShortOrganization>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.