POST api/MediaPlan/InsertItem
Request Information
URI Parameters
None.
Body Parameters
clsMediaPlan_Insert_Item| Name | Description | Type | Additional information |
|---|---|---|---|
| mpi_id | integer |
None. |
|
| ch_id | integer |
None. |
|
| mp_source_id | string |
None. |
|
| mpc_id | integer |
None. |
|
| mp_link_to_past | integer |
None. |
|
| mp_year | integer |
None. |
|
| mp_month | integer |
None. |
|
| created_by_u_id | integer |
None. |
|
| created_by | string |
None. |
|
| mp_date | date |
None. |
|
| mp_starttime | decimal number |
None. |
|
| mp_endtime | decimal number |
None. |
|
| mp_program | string |
None. |
|
| mp_spotname | string |
None. |
|
| mp_spotduration | integer |
None. |
|
| mp_spotcode | string |
None. |
|
| mp_broadcast_id | string |
None. |
|
| mp_notes | string |
None. |
|
| mp_buying_rtg | decimal number |
None. |
|
| mp_buying_grp | decimal number |
None. |
|
| mp_rtg | decimal number |
None. |
|
| mp_trp | decimal number |
None. |
|
| mp_pib | string |
None. |
|
| mp_tail | integer |
None. |
|
| mp_tail_notes | string |
None. |
|
| mp_choose_break | integer |
None. |
|
| mp_solospot | integer |
None. |
|
| mp_splitscreen | integer |
None. |
|
| mp_graphicinsertion | integer |
None. |
|
| mp_nonpremiumprog | integer |
None. |
|
| mp_marker | string |
None. |
|
| status | string |
None. |
|
| issues | string |
None. |
|
| id | integer |
None. |
|
| rowID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"mpi_id": 1,
"ch_id": 2,
"mp_source_id": "sample string 3",
"mpc_id": 4,
"mp_link_to_past": 5,
"mp_year": 6,
"mp_month": 7,
"created_by_u_id": 8,
"created_by": "sample string 9",
"mp_date": "2025-12-15T02:02:32.6267924+02:00",
"mp_starttime": 11.0,
"mp_endtime": 12.0,
"mp_program": "sample string 13",
"mp_spotname": "sample string 14",
"mp_spotduration": 15,
"mp_spotcode": "sample string 16",
"mp_broadcast_id": "sample string 17",
"mp_notes": "sample string 18",
"mp_buying_rtg": 19.0,
"mp_buying_grp": 20.0,
"mp_rtg": 21.0,
"mp_trp": 22.0,
"mp_pib": "sample string 23",
"mp_tail": 24,
"mp_tail_notes": "sample string 25",
"mp_choose_break": 26,
"mp_solospot": 27,
"mp_splitscreen": 28,
"mp_graphicinsertion": 29,
"mp_nonpremiumprog": 30,
"mp_marker": "sample string 31",
"status": "sample string 32",
"issues": "sample string 33",
"id": 34,
"rowID": 35
}
application/xml, text/xml
Sample:
<clsMediaPlan_Insert_Item xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyTSpAPInetFobjects"> <ch_id>2</ch_id> <created_by>sample string 9</created_by> <created_by_u_id>8</created_by_u_id> <id>34</id> <issues>sample string 33</issues> <mp_broadcast_id>sample string 17</mp_broadcast_id> <mp_buying_grp>20</mp_buying_grp> <mp_buying_rtg>19</mp_buying_rtg> <mp_choose_break>26</mp_choose_break> <mp_date>2025-12-15T02:02:32.6267924+02:00</mp_date> <mp_endtime>12</mp_endtime> <mp_graphicinsertion>29</mp_graphicinsertion> <mp_link_to_past>5</mp_link_to_past> <mp_marker>sample string 31</mp_marker> <mp_month>7</mp_month> <mp_nonpremiumprog>30</mp_nonpremiumprog> <mp_notes>sample string 18</mp_notes> <mp_pib>sample string 23</mp_pib> <mp_program>sample string 13</mp_program> <mp_rtg>21</mp_rtg> <mp_solospot>27</mp_solospot> <mp_source_id>sample string 3</mp_source_id> <mp_splitscreen>28</mp_splitscreen> <mp_spotcode>sample string 16</mp_spotcode> <mp_spotduration>15</mp_spotduration> <mp_spotname>sample string 14</mp_spotname> <mp_starttime>11</mp_starttime> <mp_tail>24</mp_tail> <mp_tail_notes>sample string 25</mp_tail_notes> <mp_trp>22</mp_trp> <mp_year>6</mp_year> <mpc_id>4</mpc_id> <mpi_id>1</mpi_id> <rowID>35</rowID> <status>sample string 32</status> </clsMediaPlan_Insert_Item>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>