POST api/ExtensionActivity/Save

Request Information

URI Parameters

None.

Body Parameters

ExtensionActivity_Input
NameDescriptionTypeAdditional information
Device_Regn_ID

string

None.

IMEI_Number

string

None.

Os_Version

string

None.

DEPT_ID

integer

None.

User_ID

integer

None.

Extn_SNR_OLD

integer

None.

Extn_Date

string

None.

Zone_ID

integer

None.

Block_ID

integer

None.

Location_ID

integer

None.

Location_Addr

string

None.

Extn_Session_ID

integer

None.

Event_Type

string

None.

No_Of_Beneficiary

integer

None.

Remark

string

None.

Posted_Files

Collection of Extn_Files

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Device_Regn_ID": "sample string 1",
  "IMEI_Number": "sample string 2",
  "Os_Version": "sample string 3",
  "DEPT_ID": 4,
  "User_ID": 5,
  "Extn_SNR_OLD": 6,
  "Extn_Date": "sample string 7",
  "Zone_ID": 8,
  "Block_ID": 9,
  "Location_ID": 10,
  "Location_Addr": "sample string 11",
  "Extn_Session_ID": 12,
  "Event_Type": "sample string 13",
  "No_Of_Beneficiary": 14,
  "Remark": "sample string 15",
  "Posted_Files": [
    {
      "File_Name": "sample string 1",
      "File_Size": "sample string 2",
      "File_Type": "sample string 3"
    },
    {
      "File_Name": "sample string 1",
      "File_Size": "sample string 2",
      "File_Type": "sample string 3"
    }
  ],
  "Latitude": 16.1,
  "Longitude": 17.1
}

multipart/form-data

Sample:
{"Device_Regn_ID":"sample string 1","IMEI_Number":"sample string 2","Os_Version":"sample string 3","DEPT_ID":4,"User_ID":5,"Extn_SNR_OLD":6,"Extn_Date":"sample string 7","Zone_ID":8,"Block_ID":9,"Location_ID":10,"Location_Addr":"sample string 11","Extn_Session_ID":12,"Event_Type":"sample string 13","No_Of_Beneficiary":14,"Remark":"sample string 15","Posted_Files":[{"File_Name":"sample string 1","File_Size":"sample string 2","File_Type":"sample string 3"},{"File_Name":"sample string 1","File_Size":"sample string 2","File_Type":"sample string 3"}],"Latitude":16.1,"Longitude":17.1}

application/xml, text/xml

Sample:
<ExtensionActivity_Input xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Device_Regn_ID>sample string 1</Device_Regn_ID>
  <IMEI_Number>sample string 2</IMEI_Number>
  <Os_Version>sample string 3</Os_Version>
  <DEPT_ID>4</DEPT_ID>
  <User_ID>5</User_ID>
  <Extn_SNR_OLD>6</Extn_SNR_OLD>
  <Extn_Date>sample string 7</Extn_Date>
  <Zone_ID>8</Zone_ID>
  <Block_ID>9</Block_ID>
  <Location_ID>10</Location_ID>
  <Location_Addr>sample string 11</Location_Addr>
  <Extn_Session_ID>12</Extn_Session_ID>
  <Event_Type>sample string 13</Event_Type>
  <No_Of_Beneficiary>14</No_Of_Beneficiary>
  <Remark>sample string 15</Remark>
  <Posted_Files>
    <Extn_Files>
      <File_Name>sample string 1</File_Name>
      <File_Size>sample string 2</File_Size>
      <File_Type>sample string 3</File_Type>
    </Extn_Files>
    <Extn_Files>
      <File_Name>sample string 1</File_Name>
      <File_Size>sample string 2</File_Size>
      <File_Type>sample string 3</File_Type>
    </Extn_Files>
  </Posted_Files>
  <Latitude>16.1</Latitude>
  <Longitude>17.1</Longitude>
</ExtensionActivity_Input>

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.