POST api/Zone/AllReturnDTRById

Request Information

URI Parameters

None.

Body Parameters

TxnReport
NameDescriptionTypeAdditional information
id

integer

None.

dtrname

string

None.

dtrcode

string

None.

dtrlat

string

None.

dtrlon

string

None.

zone

string

None.

feedername

string

None.

supplytype

string

None.

ratedcap

string

None.

rfname

string

None.

rrlname

string

None.

remail

string

None.

rphone

string

None.

faulttype

string

None.

fault

string

None.

rlat

string

None.

rlon

string

None.

lvl

string

None.

comment

string

None.

requested_date

date

None.

rp_status

string

None.

pcm_comment

string

None.

hq_approved

string

None.

hq_email

string

None.

keyn

string

None.

accept_dtr

string

None.

prerepair

string

None.

postrepair

string

None.

procument

string

None.

tid

string

None.

msg

string

None.

backresponse

string

None.

ptrfm

string

None.

feedback

string

None.

agm_feedback

string

None.

confirmok

string

None.

wrkready

string

None.

dtrtype

string

None.

siterepaired

string

None.

close_status

string

None.

dtr_comment

string

None.

ntm_comment

string

None.

mte_comment

string

None.

pc_comment

string

None.

hne_comment

string

None.

prc_comment

string

None.

wrk_comment

string

None.

cto_comment

string

None.

ntm_approved_status

string

None.

dtr_file

string

None.

ntm_file

string

None.

mte_file

string

None.

pc_file

string

None.

hne_file

string

None.

prc_file

string

None.

wrk_file

string

None.

cto_file

string

None.

pcm_file

string

None.

dtr_comment_date

date

None.

ntm_comment_date

date

None.

mte_comment_date

date

None.

pc_comment_date

date

None.

hne_comment_date

date

None.

prc_comment_date

date

None.

wrk_comment_date

date

None.

cto_comment_date

date

None.

pcm_comment_date

date

None.

rfile

string

None.

manufactureyr

string

None.

manufacturer

string

None.

feeder11code

string

None.

feeder11name

string

None.

feeder33code

string

None.

metered_status

string

None.

wrk_complete_status

string

None.

pcm_return

string

None.

prc_return

string

None.

ntm_return

string

None.

pcm_confirm_return

string

None.

pcm_closed_status

string

None.

pcm_reject_return

string

None.

oil_date

string

None.

hne_comment_approval

string

None.

hne_comment_date_approval

date

None.

wrk_complete_status_date

date

None.

pcm_return_date

date

None.

ntm_return_date

date

None.

pcm_confirm_return_date

date

None.

pcm_closed_status_date

date

None.

pcm_reject_return_date

date

None.

approvehqreport

string

None.

approvehqreportdate

date

None.

cso_comment

string

None.

cso_comment_date

date

None.

is_material_required

decimal number

None.

close_out_status

string

None.

cso_reject_Reason

string

None.

cso_file

string

None.

DTRMaterialID

integer

None.

pc_and_m_confirm_reason

string

None.

ntm_pcm_reject_reason

string

None.

hpm_reject_reason

string

None.

CTO_MATERIAL_APPROVAL_COMMENT

string

None.

CTO_MATERIAL_APPROVAL_COMMENT_DATE

date

None.

CTO_MATERIAL_REJECTION_COMMENT

string

None.

PRC_REJECT_REASON

string

None.

NTM_APPROVED_FEEDBACK

string

None.

NTM_MSG_FEEDBACK

string

None.

HPM_APPROVED_FEEDBACK

string

None.

CTO_APPROVED_FEEDBACK

string

None.

CSO_APPROVED_FEEDBACK

string

None.

PRC_APPROVED_FEEDBACK

string

None.

HPM_APPROVEDHQ_FEEDBACK

string

None.

CTO_APPROVED_MATERIAL_FEEDBACK

string

None.

WRK_APPROVED_MATERIAL_FEEDBACK

string

None.

CONFIRM_OK_DATE

date

None.

CLOSE_OUT_OIL_LEVEL

string

None.

OIL_TYPE

string

None.

OIL_NUMBER_LITERS

string

None.

AMOUNT_OIL_RECEIVED

string

None.

AMOUNT_OIL_LEAVING_WRK

string

None.

OIL_DATE_MODIFIED

date

None.

PCM_REPORT_OIL_LEVEL

string

None.

HPM_HQ_REJECT_REASON

string

None.

HPM_APPROVED_REPORT_FEEDBACK

string

None.

HPM_APPROVED_REJECT_REASON

string

None.

NTM_REPORT_REJECT_REASON

string

None.

MATERIALS_REQUIRED_FRM_WRK

decimal number

None.

GIS_VALIDATION_STATUS

decimal number

None.

GIS_COMMENT

string

None.

GIS_VALIDATION_DATE

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "dtrname": "sample string 2",
  "dtrcode": "sample string 3",
  "dtrlat": "sample string 4",
  "dtrlon": "sample string 5",
  "zone": "sample string 6",
  "feedername": "sample string 7",
  "supplytype": "sample string 8",
  "ratedcap": "sample string 9",
  "rfname": "sample string 10",
  "rrlname": "sample string 11",
  "remail": "sample string 12",
  "rphone": "sample string 13",
  "faulttype": "sample string 14",
  "fault": "sample string 15",
  "rlat": "sample string 16",
  "rlon": "sample string 17",
  "lvl": "sample string 18",
  "comment": "sample string 19",
  "requested_date": "2026-05-12T15:02:03.0513795+01:00",
  "rp_status": "sample string 20",
  "pcm_comment": "sample string 21",
  "hq_approved": "sample string 22",
  "hq_email": "sample string 23",
  "keyn": "sample string 24",
  "accept_dtr": "sample string 25",
  "prerepair": "sample string 26",
  "postrepair": "sample string 27",
  "procument": "sample string 28",
  "tid": "sample string 29",
  "msg": "sample string 30",
  "backresponse": "sample string 31",
  "ptrfm": "sample string 32",
  "feedback": "sample string 33",
  "agm_feedback": "sample string 34",
  "confirmok": "sample string 35",
  "wrkready": "sample string 36",
  "dtrtype": "sample string 37",
  "siterepaired": "sample string 38",
  "close_status": "sample string 39",
  "dtr_comment": "sample string 40",
  "ntm_comment": "sample string 41",
  "mte_comment": "sample string 42",
  "pc_comment": "sample string 43",
  "hne_comment": "sample string 44",
  "prc_comment": "sample string 45",
  "wrk_comment": "sample string 46",
  "cto_comment": "sample string 47",
  "ntm_approved_status": "sample string 48",
  "dtr_file": "sample string 49",
  "ntm_file": "sample string 50",
  "mte_file": "sample string 51",
  "pc_file": "sample string 52",
  "hne_file": "sample string 53",
  "prc_file": "sample string 54",
  "wrk_file": "sample string 55",
  "cto_file": "sample string 56",
  "pcm_file": "sample string 57",
  "dtr_comment_date": "2026-05-12T15:02:03.0513795+01:00",
  "ntm_comment_date": "2026-05-12T15:02:03.0513795+01:00",
  "mte_comment_date": "2026-05-12T15:02:03.0513795+01:00",
  "pc_comment_date": "2026-05-12T15:02:03.0513795+01:00",
  "hne_comment_date": "2026-05-12T15:02:03.0513795+01:00",
  "prc_comment_date": "2026-05-12T15:02:03.0513795+01:00",
  "wrk_comment_date": "2026-05-12T15:02:03.0513795+01:00",
  "cto_comment_date": "2026-05-12T15:02:03.0513795+01:00",
  "pcm_comment_date": "2026-05-12T15:02:03.0513795+01:00",
  "rfile": "sample string 58",
  "manufactureyr": "sample string 59",
  "manufacturer": "sample string 60",
  "feeder11code": "sample string 61",
  "feeder11name": "sample string 62",
  "feeder33code": "sample string 63",
  "metered_status": "sample string 64",
  "wrk_complete_status": "sample string 65",
  "pcm_return": "sample string 66",
  "prc_return": "sample string 67",
  "ntm_return": "sample string 68",
  "pcm_confirm_return": "sample string 69",
  "pcm_closed_status": "sample string 70",
  "pcm_reject_return": "sample string 71",
  "oil_date": "sample string 72",
  "hne_comment_approval": "sample string 73",
  "hne_comment_date_approval": "2026-05-12T15:02:03.0513795+01:00",
  "wrk_complete_status_date": "2026-05-12T15:02:03.0513795+01:00",
  "pcm_return_date": "2026-05-12T15:02:03.0513795+01:00",
  "ntm_return_date": "2026-05-12T15:02:03.0513795+01:00",
  "pcm_confirm_return_date": "2026-05-12T15:02:03.0513795+01:00",
  "pcm_closed_status_date": "2026-05-12T15:02:03.0513795+01:00",
  "pcm_reject_return_date": "2026-05-12T15:02:03.0513795+01:00",
  "approvehqreport": "sample string 74",
  "approvehqreportdate": "2026-05-12T15:02:03.0513795+01:00",
  "cso_comment": "sample string 75",
  "cso_comment_date": "2026-05-12T15:02:03.0513795+01:00",
  "is_material_required": 1.0,
  "close_out_status": "sample string 76",
  "cso_reject_Reason": "sample string 77",
  "cso_file": "sample string 78",
  "DTRMaterialID": 79,
  "pc_and_m_confirm_reason": "sample string 80",
  "ntm_pcm_reject_reason": "sample string 81",
  "hpm_reject_reason": "sample string 82",
  "CTO_MATERIAL_APPROVAL_COMMENT": "sample string 83",
  "CTO_MATERIAL_APPROVAL_COMMENT_DATE": "2026-05-12T15:02:03.0513795+01:00",
  "CTO_MATERIAL_REJECTION_COMMENT": "sample string 84",
  "PRC_REJECT_REASON": "sample string 85",
  "NTM_APPROVED_FEEDBACK": "sample string 86",
  "NTM_MSG_FEEDBACK": "sample string 87",
  "HPM_APPROVED_FEEDBACK": "sample string 88",
  "CTO_APPROVED_FEEDBACK": "sample string 89",
  "CSO_APPROVED_FEEDBACK": "sample string 90",
  "PRC_APPROVED_FEEDBACK": "sample string 91",
  "HPM_APPROVEDHQ_FEEDBACK": "sample string 92",
  "CTO_APPROVED_MATERIAL_FEEDBACK": "sample string 93",
  "WRK_APPROVED_MATERIAL_FEEDBACK": "sample string 94",
  "CONFIRM_OK_DATE": "2026-05-12T15:02:03.0513795+01:00",
  "CLOSE_OUT_OIL_LEVEL": "sample string 95",
  "OIL_TYPE": "sample string 96",
  "OIL_NUMBER_LITERS": "sample string 97",
  "AMOUNT_OIL_RECEIVED": "sample string 98",
  "AMOUNT_OIL_LEAVING_WRK": "sample string 99",
  "OIL_DATE_MODIFIED": "2026-05-12T15:02:03.0513795+01:00",
  "PCM_REPORT_OIL_LEVEL": "sample string 100",
  "HPM_HQ_REJECT_REASON": "sample string 101",
  "HPM_APPROVED_REPORT_FEEDBACK": "sample string 102",
  "HPM_APPROVED_REJECT_REASON": "sample string 103",
  "NTM_REPORT_REJECT_REASON": "sample string 104",
  "MATERIALS_REQUIRED_FRM_WRK": 1.0,
  "GIS_VALIDATION_STATUS": 1.0,
  "GIS_COMMENT": "sample string 105",
  "GIS_VALIDATION_DATE": "2026-05-12T15:02:03.0513795+01:00"
}

application/xml, text/xml

Sample:
<TxnReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FaultAnalysisAPI.Models">
  <AMOUNT_OIL_LEAVING_WRK>sample string 99</AMOUNT_OIL_LEAVING_WRK>
  <AMOUNT_OIL_RECEIVED>sample string 98</AMOUNT_OIL_RECEIVED>
  <CLOSE_OUT_OIL_LEVEL>sample string 95</CLOSE_OUT_OIL_LEVEL>
  <CONFIRM_OK_DATE>2026-05-12T15:02:03.0513795+01:00</CONFIRM_OK_DATE>
  <CSO_APPROVED_FEEDBACK>sample string 90</CSO_APPROVED_FEEDBACK>
  <CTO_APPROVED_FEEDBACK>sample string 89</CTO_APPROVED_FEEDBACK>
  <CTO_APPROVED_MATERIAL_FEEDBACK>sample string 93</CTO_APPROVED_MATERIAL_FEEDBACK>
  <CTO_MATERIAL_APPROVAL_COMMENT>sample string 83</CTO_MATERIAL_APPROVAL_COMMENT>
  <CTO_MATERIAL_APPROVAL_COMMENT_DATE>2026-05-12T15:02:03.0513795+01:00</CTO_MATERIAL_APPROVAL_COMMENT_DATE>
  <CTO_MATERIAL_REJECTION_COMMENT>sample string 84</CTO_MATERIAL_REJECTION_COMMENT>
  <DTRMaterialID>79</DTRMaterialID>
  <GIS_COMMENT>sample string 105</GIS_COMMENT>
  <GIS_VALIDATION_DATE>2026-05-12T15:02:03.0513795+01:00</GIS_VALIDATION_DATE>
  <GIS_VALIDATION_STATUS>1</GIS_VALIDATION_STATUS>
  <HPM_APPROVEDHQ_FEEDBACK>sample string 92</HPM_APPROVEDHQ_FEEDBACK>
  <HPM_APPROVED_FEEDBACK>sample string 88</HPM_APPROVED_FEEDBACK>
  <HPM_APPROVED_REJECT_REASON>sample string 103</HPM_APPROVED_REJECT_REASON>
  <HPM_APPROVED_REPORT_FEEDBACK>sample string 102</HPM_APPROVED_REPORT_FEEDBACK>
  <HPM_HQ_REJECT_REASON>sample string 101</HPM_HQ_REJECT_REASON>
  <MATERIALS_REQUIRED_FRM_WRK>1</MATERIALS_REQUIRED_FRM_WRK>
  <NTM_APPROVED_FEEDBACK>sample string 86</NTM_APPROVED_FEEDBACK>
  <NTM_MSG_FEEDBACK>sample string 87</NTM_MSG_FEEDBACK>
  <NTM_REPORT_REJECT_REASON>sample string 104</NTM_REPORT_REJECT_REASON>
  <OIL_DATE_MODIFIED>2026-05-12T15:02:03.0513795+01:00</OIL_DATE_MODIFIED>
  <OIL_NUMBER_LITERS>sample string 97</OIL_NUMBER_LITERS>
  <OIL_TYPE>sample string 96</OIL_TYPE>
  <PCM_REPORT_OIL_LEVEL>sample string 100</PCM_REPORT_OIL_LEVEL>
  <PRC_APPROVED_FEEDBACK>sample string 91</PRC_APPROVED_FEEDBACK>
  <PRC_REJECT_REASON>sample string 85</PRC_REJECT_REASON>
  <WRK_APPROVED_MATERIAL_FEEDBACK>sample string 94</WRK_APPROVED_MATERIAL_FEEDBACK>
  <accept_dtr>sample string 25</accept_dtr>
  <agm_feedback>sample string 34</agm_feedback>
  <approvehqreport>sample string 74</approvehqreport>
  <approvehqreportdate>2026-05-12T15:02:03.0513795+01:00</approvehqreportdate>
  <backresponse>sample string 31</backresponse>
  <close_out_status>sample string 76</close_out_status>
  <close_status>sample string 39</close_status>
  <comment>sample string 19</comment>
  <confirmok>sample string 35</confirmok>
  <cso_comment>sample string 75</cso_comment>
  <cso_comment_date>2026-05-12T15:02:03.0513795+01:00</cso_comment_date>
  <cso_file>sample string 78</cso_file>
  <cso_reject_Reason>sample string 77</cso_reject_Reason>
  <cto_comment>sample string 47</cto_comment>
  <cto_comment_date>2026-05-12T15:02:03.0513795+01:00</cto_comment_date>
  <cto_file>sample string 56</cto_file>
  <dtr_comment>sample string 40</dtr_comment>
  <dtr_comment_date>2026-05-12T15:02:03.0513795+01:00</dtr_comment_date>
  <dtr_file>sample string 49</dtr_file>
  <dtrcode>sample string 3</dtrcode>
  <dtrlat>sample string 4</dtrlat>
  <dtrlon>sample string 5</dtrlon>
  <dtrname>sample string 2</dtrname>
  <dtrtype>sample string 37</dtrtype>
  <fault>sample string 15</fault>
  <faulttype>sample string 14</faulttype>
  <feedback>sample string 33</feedback>
  <feeder11code>sample string 61</feeder11code>
  <feeder11name>sample string 62</feeder11name>
  <feeder33code>sample string 63</feeder33code>
  <feedername>sample string 7</feedername>
  <hne_comment>sample string 44</hne_comment>
  <hne_comment_approval>sample string 73</hne_comment_approval>
  <hne_comment_date>2026-05-12T15:02:03.0513795+01:00</hne_comment_date>
  <hne_comment_date_approval>2026-05-12T15:02:03.0513795+01:00</hne_comment_date_approval>
  <hne_file>sample string 53</hne_file>
  <hpm_reject_reason>sample string 82</hpm_reject_reason>
  <hq_approved>sample string 22</hq_approved>
  <hq_email>sample string 23</hq_email>
  <id>1</id>
  <is_material_required>1</is_material_required>
  <keyn>sample string 24</keyn>
  <lvl>sample string 18</lvl>
  <manufacturer>sample string 60</manufacturer>
  <manufactureyr>sample string 59</manufactureyr>
  <metered_status>sample string 64</metered_status>
  <msg>sample string 30</msg>
  <mte_comment>sample string 42</mte_comment>
  <mte_comment_date>2026-05-12T15:02:03.0513795+01:00</mte_comment_date>
  <mte_file>sample string 51</mte_file>
  <ntm_approved_status>sample string 48</ntm_approved_status>
  <ntm_comment>sample string 41</ntm_comment>
  <ntm_comment_date>2026-05-12T15:02:03.0513795+01:00</ntm_comment_date>
  <ntm_file>sample string 50</ntm_file>
  <ntm_pcm_reject_reason>sample string 81</ntm_pcm_reject_reason>
  <ntm_return>sample string 68</ntm_return>
  <ntm_return_date>2026-05-12T15:02:03.0513795+01:00</ntm_return_date>
  <oil_date>sample string 72</oil_date>
  <pc_and_m_confirm_reason>sample string 80</pc_and_m_confirm_reason>
  <pc_comment>sample string 43</pc_comment>
  <pc_comment_date>2026-05-12T15:02:03.0513795+01:00</pc_comment_date>
  <pc_file>sample string 52</pc_file>
  <pcm_closed_status>sample string 70</pcm_closed_status>
  <pcm_closed_status_date>2026-05-12T15:02:03.0513795+01:00</pcm_closed_status_date>
  <pcm_comment>sample string 21</pcm_comment>
  <pcm_comment_date>2026-05-12T15:02:03.0513795+01:00</pcm_comment_date>
  <pcm_confirm_return>sample string 69</pcm_confirm_return>
  <pcm_confirm_return_date>2026-05-12T15:02:03.0513795+01:00</pcm_confirm_return_date>
  <pcm_file>sample string 57</pcm_file>
  <pcm_reject_return>sample string 71</pcm_reject_return>
  <pcm_reject_return_date>2026-05-12T15:02:03.0513795+01:00</pcm_reject_return_date>
  <pcm_return>sample string 66</pcm_return>
  <pcm_return_date>2026-05-12T15:02:03.0513795+01:00</pcm_return_date>
  <postrepair>sample string 27</postrepair>
  <prc_comment>sample string 45</prc_comment>
  <prc_comment_date>2026-05-12T15:02:03.0513795+01:00</prc_comment_date>
  <prc_file>sample string 54</prc_file>
  <prc_return>sample string 67</prc_return>
  <prerepair>sample string 26</prerepair>
  <procument>sample string 28</procument>
  <ptrfm>sample string 32</ptrfm>
  <ratedcap>sample string 9</ratedcap>
  <remail>sample string 12</remail>
  <requested_date>2026-05-12T15:02:03.0513795+01:00</requested_date>
  <rfile>sample string 58</rfile>
  <rfname>sample string 10</rfname>
  <rlat>sample string 16</rlat>
  <rlon>sample string 17</rlon>
  <rp_status>sample string 20</rp_status>
  <rphone>sample string 13</rphone>
  <rrlname>sample string 11</rrlname>
  <siterepaired>sample string 38</siterepaired>
  <supplytype>sample string 8</supplytype>
  <tid>sample string 29</tid>
  <wrk_comment>sample string 46</wrk_comment>
  <wrk_comment_date>2026-05-12T15:02:03.0513795+01:00</wrk_comment_date>
  <wrk_complete_status>sample string 65</wrk_complete_status>
  <wrk_complete_status_date>2026-05-12T15:02:03.0513795+01:00</wrk_complete_status_date>
  <wrk_file>sample string 55</wrk_file>
  <wrkready>sample string 36</wrkready>
  <zone>sample string 6</zone>
</TxnReport>

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 'TxnReport'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.