POST api/PropertyMobileAPI/AgentInfoSave
Request Information
URI Parameters
None.
Body Parameters
AgentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
None. |
||
| Password | string |
None. |
|
| FirstName | string |
None. |
|
| MidlleName | string |
None. |
|
| LastName | string |
None. |
|
| DOB | date |
None. |
|
| Gender | string |
None. |
|
| Address | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| Country | string |
None. |
|
| PinCode | string |
None. |
|
| TA_Name | string |
None. |
|
| Website | string |
None. |
|
| MobileNo | string |
None. |
|
| TelNo | string |
None. |
|
| TelEx | string |
None. |
|
| Gst | string |
None. |
|
| Pan | string |
None. |
|
| AgencyLogo | string |
None. |
|
| Hotel | string |
None. |
|
| AccountManager | string |
None. |
|
| MarketSegment | string |
None. |
|
| BusinessSource | string |
None. |
|
| BillingInstructions | string |
None. |
|
| PMSCode | string |
None. |
|
| OperaProfileID | string |
None. |
|
| AgentID | integer |
None. |
|
| IsPushMealPlan | integer |
None. |
|
| MaxRoomBook | integer |
None. |
|
| MealPlanJson | Collection of MealPlanItm |
None. |
|
| stringMealPlanJson | string |
None. |
|
| guaranteeCodes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Email": "sample string 1",
"Password": "sample string 2",
"FirstName": "sample string 3",
"MidlleName": "sample string 4",
"LastName": "sample string 5",
"DOB": "2026-06-13T08:26:07.3941786+05:30",
"Gender": "sample string 6",
"Address": "sample string 7",
"City": "sample string 8",
"State": "sample string 9",
"Country": "sample string 10",
"PinCode": "sample string 11",
"TA_Name": "sample string 12",
"Website": "sample string 13",
"MobileNo": "sample string 14",
"TelNo": "sample string 15",
"TelEx": "sample string 16",
"Gst": "sample string 17",
"Pan": "sample string 18",
"AgencyLogo": "sample string 19",
"Hotel": "sample string 20",
"AccountManager": "sample string 21",
"MarketSegment": "sample string 22",
"BusinessSource": "sample string 23",
"BillingInstructions": "sample string 24",
"PMSCode": "sample string 25",
"OperaProfileID": "sample string 26",
"AgentID": 27,
"IsPushMealPlan": 28,
"MaxRoomBook": 29,
"MealPlanJson": [
{
"MealPlanID": 1,
"RateCodeID": 2
},
{
"MealPlanID": 1,
"RateCodeID": 2
}
],
"stringMealPlanJson": "sample string 30",
"guaranteeCodes": "sample string 31"
}
application/xml, text/xml
Sample:
<AgentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BONAPI.Models.Property">
<AccountManager>sample string 21</AccountManager>
<Address>sample string 7</Address>
<AgencyLogo>sample string 19</AgencyLogo>
<AgentID>27</AgentID>
<BillingInstructions>sample string 24</BillingInstructions>
<BusinessSource>sample string 23</BusinessSource>
<City>sample string 8</City>
<Country>sample string 10</Country>
<DOB>2026-06-13T08:26:07.3941786+05:30</DOB>
<Email>sample string 1</Email>
<FirstName>sample string 3</FirstName>
<Gender>sample string 6</Gender>
<Gst>sample string 17</Gst>
<Hotel>sample string 20</Hotel>
<IsPushMealPlan>28</IsPushMealPlan>
<LastName>sample string 5</LastName>
<MarketSegment>sample string 22</MarketSegment>
<MaxRoomBook>29</MaxRoomBook>
<MealPlanJson>
<MealPlanItm>
<MealPlanID>1</MealPlanID>
<RateCodeID>2</RateCodeID>
</MealPlanItm>
<MealPlanItm>
<MealPlanID>1</MealPlanID>
<RateCodeID>2</RateCodeID>
</MealPlanItm>
</MealPlanJson>
<MidlleName>sample string 4</MidlleName>
<MobileNo>sample string 14</MobileNo>
<OperaProfileID>sample string 26</OperaProfileID>
<PMSCode>sample string 25</PMSCode>
<Pan>sample string 18</Pan>
<Password>sample string 2</Password>
<PinCode>sample string 11</PinCode>
<State>sample string 9</State>
<TA_Name>sample string 12</TA_Name>
<TelEx>sample string 16</TelEx>
<TelNo>sample string 15</TelNo>
<Website>sample string 13</Website>
<guaranteeCodes>sample string 31</guaranteeCodes>
<stringMealPlanJson>sample string 30</stringMealPlanJson>
</AgentModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.