PUT associations({associationId})/Jobs({itemId})

This method updates a Job

Request Information

Parameters

NameDescriptionAdditional information
associationId
Association identifier

Define this parameter in the request URI.

itemId
Item identifier

Define this parameter in the request URI.

job
Job to update

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "Description": "sample string 3",
  "BusinessName": "sample string 4",
  "ContactRepName": "sample string 5",
  "Street": "sample string 6",
  "City": "sample string 7",
  "State": "sample string 8",
  "Zip": "sample string 9",
  "LocalPhone": "sample string 10",
  "Email": "sample string 11",
  "WebsiteAddress": "sample string 12",
  "ActiveDates": "11/21/2024 to 11/28/2024",
  "StartDate": "2024-11-21T13:04:36.5424552-06:00",
  "EndDate": "2024-11-21T13:04:36.5424552-06:00",
  "FullWeek": true,
  "JobCategoryId": 14,
  "MemberId": 15,
  "Status": 1,
  "Purchased": true,
  "Subscriptions": [
    {
      "Date": "2024-11-21T13:04:36.5424552-06:00",
      "FullWeek": true
    },
    {
      "Date": "2024-11-21T13:04:36.5424552-06:00",
      "FullWeek": true
    },
    {
      "Date": "2024-11-21T13:04:36.5424552-06:00",
      "FullWeek": true
    }
  ],
  "Images": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "Fax": "sample string 16",
  "Slug": "sample string 17"
}

application/xml, text/xml

Sample:
<JobResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <ActiveDates>11/21/2024 to 11/28/2024</ActiveDates>
  <BusinessName>sample string 4</BusinessName>
  <City>sample string 7</City>
  <ContactRepName>sample string 5</ContactRepName>
  <Description>sample string 3</Description>
  <Email>sample string 11</Email>
  <EndDate>2024-11-21T13:04:36.5424552-06:00</EndDate>
  <Fax>sample string 16</Fax>
  <FullWeek>true</FullWeek>
  <Id>1</Id>
  <Images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </Images>
  <JobCategoryId>14</JobCategoryId>
  <LocalPhone>sample string 10</LocalPhone>
  <MemberId>15</MemberId>
  <Purchased>true</Purchased>
  <Slug>sample string 17</Slug>
  <StartDate>2024-11-21T13:04:36.5424552-06:00</StartDate>
  <State>sample string 8</State>
  <Status>1</Status>
  <Street>sample string 6</Street>
  <Subscriptions>
    <Subscription>
      <Date>2024-11-21T13:04:36.5424552-06:00</Date>
      <FullWeek>true</FullWeek>
    </Subscription>
    <Subscription>
      <Date>2024-11-21T13:04:36.5424552-06:00</Date>
      <FullWeek>true</FullWeek>
    </Subscription>
    <Subscription>
      <Date>2024-11-21T13:04:36.5424552-06:00</Date>
      <FullWeek>true</FullWeek>
    </Subscription>
  </Subscriptions>
  <Title>sample string 2</Title>
  <WebsiteAddress>sample string 12</WebsiteAddress>
  <Zip>sample string 9</Zip>
</JobResource>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Modified job

Response body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "Description": "sample string 3",
  "BusinessName": "sample string 4",
  "ContactRepName": "sample string 5",
  "Street": "sample string 6",
  "City": "sample string 7",
  "State": "sample string 8",
  "Zip": "sample string 9",
  "LocalPhone": "sample string 10",
  "Email": "sample string 11",
  "WebsiteAddress": "sample string 12",
  "ActiveDates": "11/21/2024 to 11/28/2024",
  "StartDate": "2024-11-21T13:04:36.5424552-06:00",
  "EndDate": "2024-11-21T13:04:36.5424552-06:00",
  "FullWeek": true,
  "JobCategoryId": 14,
  "MemberId": 15,
  "Status": 1,
  "Purchased": true,
  "Subscriptions": [
    {
      "Date": "2024-11-21T13:04:36.5424552-06:00",
      "FullWeek": true
    },
    {
      "Date": "2024-11-21T13:04:36.5424552-06:00",
      "FullWeek": true
    },
    {
      "Date": "2024-11-21T13:04:36.5424552-06:00",
      "FullWeek": true
    }
  ],
  "Images": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "Fax": "sample string 16",
  "Slug": "sample string 17"
}

application/xml, text/xml

Sample:
<JobResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources">
  <ActiveDates>11/21/2024 to 11/28/2024</ActiveDates>
  <BusinessName>sample string 4</BusinessName>
  <City>sample string 7</City>
  <ContactRepName>sample string 5</ContactRepName>
  <Description>sample string 3</Description>
  <Email>sample string 11</Email>
  <EndDate>2024-11-21T13:04:36.5424552-06:00</EndDate>
  <Fax>sample string 16</Fax>
  <FullWeek>true</FullWeek>
  <Id>1</Id>
  <Images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </Images>
  <JobCategoryId>14</JobCategoryId>
  <LocalPhone>sample string 10</LocalPhone>
  <MemberId>15</MemberId>
  <Purchased>true</Purchased>
  <Slug>sample string 17</Slug>
  <StartDate>2024-11-21T13:04:36.5424552-06:00</StartDate>
  <State>sample string 8</State>
  <Status>1</Status>
  <Street>sample string 6</Street>
  <Subscriptions>
    <Subscription>
      <Date>2024-11-21T13:04:36.5424552-06:00</Date>
      <FullWeek>true</FullWeek>
    </Subscription>
    <Subscription>
      <Date>2024-11-21T13:04:36.5424552-06:00</Date>
      <FullWeek>true</FullWeek>
    </Subscription>
    <Subscription>
      <Date>2024-11-21T13:04:36.5424552-06:00</Date>
      <FullWeek>true</FullWeek>
    </Subscription>
  </Subscriptions>
  <Title>sample string 2</Title>
  <WebsiteAddress>sample string 12</WebsiteAddress>
  <Zip>sample string 9</Zip>
</JobResource>