POST Task/UpdateIssuesAndRisks

Request Information

URI Parameters

None.

Body Parameters

IssuesAndRiskDto
NameDescriptionTypeAdditional information
ID

integer

None.

SpanId

integer

None.

IssueTypeId

integer

None.

IssueType

string

None.

Comment

string

None.

FromGP

string

None.

ToGP

string

None.

CreatedOn

date

None.

StatusId

integer

None.

NextApprovalId

integer

None.

ApprovalAction

integer

None.

NextApprovalName

string

None.

PrevApprovalName

string

None.

ApprovalTypeId

integer

None.

NextApprovalLevel2Name

string

None.

Status

string

None.

UserId

integer

None.

NextApproval

integer

None.

NextApprovalLevel

integer

None.

PrevApprovalId

integer

None.

IsFinalApproval

boolean

None.

UserName

string

None.

SpanName

string

None.

TaskIssueImages

Collection of TaskIssueFilesDto

None.

IsRejected

boolean

None.

type

integer

None.

RingId

integer

None.

SpanLength

string

None.

NatureofHindrance

string

None.

ChainageFrom

string

None.

ChainageTo

string

None.

FromLat

string

None.

FromLong

string

None.

ToLat

string

None.

ToLong

string

None.

Itemsofwork

string

None.

DateofStart

date

None.

DateofRemoval

date

None.

OverlappingPeriod

string

None.

NetHindaranceindays

string

None.

Remarks

string

None.

PackageName

string

None.

ZoneName

string

None.

DistrictName

string

None.

MandalName

string

None.

DownloadPath

string

None.

SpanIDText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "SpanId": 1,
  "IssueTypeId": 2,
  "IssueType": "sample string 3",
  "Comment": "sample string 4",
  "FromGP": "sample string 5",
  "ToGP": "sample string 6",
  "CreatedOn": "2025-12-12T20:10:19.4922226+05:30",
  "StatusId": 1,
  "NextApprovalId": 1,
  "ApprovalAction": 1,
  "NextApprovalName": "sample string 7",
  "PrevApprovalName": "sample string 8",
  "ApprovalTypeId": 1,
  "NextApprovalLevel2Name": "sample string 9",
  "Status": "sample string 10",
  "UserId": 11,
  "NextApproval": 1,
  "NextApprovalLevel": 1,
  "PrevApprovalId": 1,
  "IsFinalApproval": true,
  "UserName": "sample string 13",
  "SpanName": "sample string 14",
  "TaskIssueImages": [
    {
      "FileName": "sample string 1",
      "FilePath": "sample string 2",
      "IssueId": 3
    },
    {
      "FileName": "sample string 1",
      "FilePath": "sample string 2",
      "IssueId": 3
    }
  ],
  "IsRejected": true,
  "type": 1,
  "RingId": 1,
  "SpanLength": "sample string 16",
  "NatureofHindrance": "sample string 17",
  "ChainageFrom": "sample string 18",
  "ChainageTo": "sample string 19",
  "FromLat": "sample string 20",
  "FromLong": "sample string 21",
  "ToLat": "sample string 22",
  "ToLong": "sample string 23",
  "Itemsofwork": "sample string 24",
  "DateofStart": "2025-12-12T20:10:19.4922226+05:30",
  "DateofRemoval": "2025-12-12T20:10:19.4922226+05:30",
  "OverlappingPeriod": "sample string 25",
  "NetHindaranceindays": "sample string 26",
  "Remarks": "sample string 27",
  "PackageName": "sample string 28",
  "ZoneName": "sample string 29",
  "DistrictName": "sample string 30",
  "MandalName": "sample string 31",
  "DownloadPath": "sample string 32",
  "SpanIDText": "sample string 33"
}

text/html

Sample:
{"ID":1,"SpanId":1,"IssueTypeId":2,"IssueType":"sample string 3","Comment":"sample string 4","FromGP":"sample string 5","ToGP":"sample string 6","CreatedOn":"2025-12-12T20:10:19.4922226+05:30","StatusId":1,"NextApprovalId":1,"ApprovalAction":1,"NextApprovalName":"sample string 7","PrevApprovalName":"sample string 8","ApprovalTypeId":1,"NextApprovalLevel2Name":"sample string 9","Status":"sample string 10","UserId":11,"NextApproval":1,"NextApprovalLevel":1,"PrevApprovalId":1,"IsFinalApproval":true,"UserName":"sample string 13","SpanName":"sample string 14","TaskIssueImages":[{"FileName":"sample string 1","FilePath":"sample string 2","IssueId":3},{"FileName":"sample string 1","FilePath":"sample string 2","IssueId":3}],"IsRejected":true,"type":1,"RingId":1,"SpanLength":"sample string 16","NatureofHindrance":"sample string 17","ChainageFrom":"sample string 18","ChainageTo":"sample string 19","FromLat":"sample string 20","FromLong":"sample string 21","ToLat":"sample string 22","ToLong":"sample string 23","Itemsofwork":"sample string 24","DateofStart":"2025-12-12T20:10:19.4922226+05:30","DateofRemoval":"2025-12-12T20:10:19.4922226+05:30","OverlappingPeriod":"sample string 25","NetHindaranceindays":"sample string 26","Remarks":"sample string 27","PackageName":"sample string 28","ZoneName":"sample string 29","DistrictName":"sample string 30","MandalName":"sample string 31","DownloadPath":"sample string 32","SpanIDText":"sample string 33"}

application/xml, text/xml

Sample:
<IssuesAndRiskDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tracking.Entity">
  <ApprovalAction>1</ApprovalAction>
  <ApprovalTypeId>1</ApprovalTypeId>
  <ChainageFrom>sample string 18</ChainageFrom>
  <ChainageTo>sample string 19</ChainageTo>
  <Comment>sample string 4</Comment>
  <CreatedOn>2025-12-12T20:10:19.4922226+05:30</CreatedOn>
  <DateofRemoval>2025-12-12T20:10:19.4922226+05:30</DateofRemoval>
  <DateofStart>2025-12-12T20:10:19.4922226+05:30</DateofStart>
  <DistrictName>sample string 30</DistrictName>
  <DownloadPath>sample string 32</DownloadPath>
  <FromGP>sample string 5</FromGP>
  <FromLat>sample string 20</FromLat>
  <FromLong>sample string 21</FromLong>
  <ID>1</ID>
  <IsFinalApproval>true</IsFinalApproval>
  <IsRejected>true</IsRejected>
  <IssueType>sample string 3</IssueType>
  <IssueTypeId>2</IssueTypeId>
  <Itemsofwork>sample string 24</Itemsofwork>
  <MandalName>sample string 31</MandalName>
  <NatureofHindrance>sample string 17</NatureofHindrance>
  <NetHindaranceindays>sample string 26</NetHindaranceindays>
  <NextApproval>1</NextApproval>
  <NextApprovalId>1</NextApprovalId>
  <NextApprovalLevel>1</NextApprovalLevel>
  <NextApprovalLevel2Name>sample string 9</NextApprovalLevel2Name>
  <NextApprovalName>sample string 7</NextApprovalName>
  <OverlappingPeriod>sample string 25</OverlappingPeriod>
  <PackageName>sample string 28</PackageName>
  <PrevApprovalId>1</PrevApprovalId>
  <PrevApprovalName>sample string 8</PrevApprovalName>
  <Remarks>sample string 27</Remarks>
  <RingId>1</RingId>
  <SpanIDText>sample string 33</SpanIDText>
  <SpanId>1</SpanId>
  <SpanLength>sample string 16</SpanLength>
  <SpanName>sample string 14</SpanName>
  <Status>sample string 10</Status>
  <StatusId>1</StatusId>
  <TaskIssueImages xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tracking.Entity.StoredProcedureResponse">
    <d2p1:TaskIssueFilesDto>
      <d2p1:FileName>sample string 1</d2p1:FileName>
      <d2p1:FilePath>sample string 2</d2p1:FilePath>
      <d2p1:IssueId>3</d2p1:IssueId>
    </d2p1:TaskIssueFilesDto>
    <d2p1:TaskIssueFilesDto>
      <d2p1:FileName>sample string 1</d2p1:FileName>
      <d2p1:FilePath>sample string 2</d2p1:FilePath>
      <d2p1:IssueId>3</d2p1:IssueId>
    </d2p1:TaskIssueFilesDto>
  </TaskIssueImages>
  <ToGP>sample string 6</ToGP>
  <ToLat>sample string 22</ToLat>
  <ToLong>sample string 23</ToLong>
  <UserId>11</UserId>
  <UserName>sample string 13</UserName>
  <ZoneName>sample string 29</ZoneName>
  <type>1</type>
</IssuesAndRiskDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IssuesAndRiskDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.