POST api/v1/fee-variation-request/update-variation-request

Request Information

URI Parameters

None.

Body Parameters

FeeVariationModel
NameDescriptionTypeAdditional information
JobId

integer

None.

JobPermissionLevel

integer

None.

PriorityId

byte

None.

AssignedToId

integer

None.

DateDue

date

None.

Comments

string

None.

VariationRequestDetails

VariationRequestDetailsModel

None.

BackgroundInfomationAndActivityHistory

BackgroundInfomationAndActivityHistoryModel

None.

Request Formats

application/json, text/json

Sample:
{
  "JobId": 1,
  "JobPermissionLevel": 2,
  "PriorityId": 64,
  "AssignedToId": 1,
  "DateDue": "2025-04-28T09:24:52.1701685Z",
  "Comments": "sample string 3",
  "VariationRequestDetails": {
    "Flag1": "sample string 1",
    "Flag2": "sample string 2",
    "Notes": "sample string 3",
    "JobLookups": [
      {
        "JLUId": 1,
        "JobId": 2,
        "LUId": 1,
        "JLUDescription": "sample string 3",
        "JLUFees": 1.0,
        "JLUHours": 1.0,
        "JLUComments": "sample string 4"
      },
      {
        "JLUId": 1,
        "JobId": 2,
        "LUId": 1,
        "JLUDescription": "sample string 3",
        "JLUFees": 1.0,
        "JLUHours": 1.0,
        "JLUComments": "sample string 4"
      }
    ],
    "EditRemarks": "sample string 4",
    "DateStarted": "2025-04-28T09:24:52.1701685Z",
    "VarScope": true,
    "OptionStep": 5,
    "DateVariationLetter": "2025-04-28T09:24:52.1701685Z",
    "DateSent": "2025-04-28T09:24:52.1701685Z",
    "DateApproved": "2025-04-28T09:24:52.1701685Z",
    "DateUploaded": "2025-04-28T09:24:52.1701685Z",
    "Counter": 1
  },
  "BackgroundInfomationAndActivityHistory": {
    "CreatedByName": "sample string 1",
    "DateCreated": "2025-04-28T09:24:52.1701685Z",
    "JobName": "sample string 2",
    "JobClient": "sample string 3",
    "JobStatus": "sample string 4",
    "JobPriority": "sample string 5",
    "JobQuote": 1.0,
    "JobQuoteNow": 1.0,
    "ClientName": "sample string 6",
    "Salutation": "sample string 7",
    "PhoneWork": "sample string 8",
    "PhoneMobile": "sample string 9",
    "PhoneHome": "sample string 10",
    "Fax": "sample string 11",
    "Email": "sample string 12",
    "Skype": "sample string 13",
    "ContactNote": "sample string 14",
    "ActivityHistories": [
      {
        "JobLogID": 1,
        "DateTime": "2025-04-28T09:24:52.1701685Z",
        "Label": "sample string 2",
        "TMSIdentifier": "sample string 3"
      },
      {
        "JobLogID": 1,
        "DateTime": "2025-04-28T09:24:52.1701685Z",
        "Label": "sample string 2",
        "TMSIdentifier": "sample string 3"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<FeeVariationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iPMS.Models.FeeVariation">
  <AssignedToId>1</AssignedToId>
  <BackgroundInfomationAndActivityHistory>
    <ActivityHistories xmlns:d3p1="http://schemas.datacontract.org/2004/07/iPMS.Models.Jobs">
      <d3p1:JobLogModel>
        <d3p1:DateTime>2025-04-28T09:24:52.1701685Z</d3p1:DateTime>
        <d3p1:JobLogID>1</d3p1:JobLogID>
        <d3p1:Label>sample string 2</d3p1:Label>
        <d3p1:TMSIdentifier>sample string 3</d3p1:TMSIdentifier>
      </d3p1:JobLogModel>
      <d3p1:JobLogModel>
        <d3p1:DateTime>2025-04-28T09:24:52.1701685Z</d3p1:DateTime>
        <d3p1:JobLogID>1</d3p1:JobLogID>
        <d3p1:Label>sample string 2</d3p1:Label>
        <d3p1:TMSIdentifier>sample string 3</d3p1:TMSIdentifier>
      </d3p1:JobLogModel>
    </ActivityHistories>
    <ClientName>sample string 6</ClientName>
    <ContactNote>sample string 14</ContactNote>
    <CreatedByName>sample string 1</CreatedByName>
    <DateCreated>2025-04-28T09:24:52.1701685Z</DateCreated>
    <Email>sample string 12</Email>
    <Fax>sample string 11</Fax>
    <JobClient>sample string 3</JobClient>
    <JobName>sample string 2</JobName>
    <JobPriority>sample string 5</JobPriority>
    <JobQuote>1</JobQuote>
    <JobQuoteNow>1</JobQuoteNow>
    <JobStatus>sample string 4</JobStatus>
    <PhoneHome>sample string 10</PhoneHome>
    <PhoneMobile>sample string 9</PhoneMobile>
    <PhoneWork>sample string 8</PhoneWork>
    <Salutation>sample string 7</Salutation>
    <Skype>sample string 13</Skype>
  </BackgroundInfomationAndActivityHistory>
  <Comments>sample string 3</Comments>
  <DateDue>2025-04-28T09:24:52.1701685Z</DateDue>
  <JobId>1</JobId>
  <JobPermissionLevel>2</JobPermissionLevel>
  <PriorityId>64</PriorityId>
  <VariationRequestDetails>
    <Counter>1</Counter>
    <DateApproved>2025-04-28T09:24:52.1701685Z</DateApproved>
    <DateSent>2025-04-28T09:24:52.1701685Z</DateSent>
    <DateStarted>2025-04-28T09:24:52.1701685Z</DateStarted>
    <DateUploaded>2025-04-28T09:24:52.1701685Z</DateUploaded>
    <DateVariationLetter>2025-04-28T09:24:52.1701685Z</DateVariationLetter>
    <EditRemarks>sample string 4</EditRemarks>
    <Flag1>sample string 1</Flag1>
    <Flag2>sample string 2</Flag2>
    <JobLookups xmlns:d3p1="http://schemas.datacontract.org/2004/07/iPMS.Models.Jobs">
      <d3p1:JobLookupModel>
        <d3p1:JLUComments>sample string 4</d3p1:JLUComments>
        <d3p1:JLUDescription>sample string 3</d3p1:JLUDescription>
        <d3p1:JLUFees>1</d3p1:JLUFees>
        <d3p1:JLUHours>1</d3p1:JLUHours>
        <d3p1:JLUId>1</d3p1:JLUId>
        <d3p1:JobId>2</d3p1:JobId>
        <d3p1:LUId>1</d3p1:LUId>
      </d3p1:JobLookupModel>
      <d3p1:JobLookupModel>
        <d3p1:JLUComments>sample string 4</d3p1:JLUComments>
        <d3p1:JLUDescription>sample string 3</d3p1:JLUDescription>
        <d3p1:JLUFees>1</d3p1:JLUFees>
        <d3p1:JLUHours>1</d3p1:JLUHours>
        <d3p1:JLUId>1</d3p1:JLUId>
        <d3p1:JobId>2</d3p1:JobId>
        <d3p1:LUId>1</d3p1:LUId>
      </d3p1:JobLookupModel>
    </JobLookups>
    <Notes>sample string 3</Notes>
    <OptionStep>5</OptionStep>
    <VarScope>true</VarScope>
  </VariationRequestDetails>
</FeeVariationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.