POST api/FacilPlans/AddFacilPlans
Request Information
URI Parameters
None.
Body Parameters
FacilPlansName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
intIdPlan | integer |
None. |
|
txtGB | string |
None. |
|
intIdOriginalPlan | integer |
None. |
|
txtPlanName | string |
None. |
|
txtContelPrice | string |
None. |
|
intValiditydays | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "bab6c328-3bff-4518-8539-d9df0ee3d6e4", "intIdPlan": 1, "txtGB": "sample string 2", "intIdOriginalPlan": 3, "txtPlanName": "sample string 4", "txtContelPrice": "sample string 5", "intValiditydays": 6 }
text/html
Sample:
{"Id":"bab6c328-3bff-4518-8539-d9df0ee3d6e4","intIdPlan":1,"txtGB":"sample string 2","intIdOriginalPlan":3,"txtPlanName":"sample string 4","txtContelPrice":"sample string 5","intValiditydays":6}
application/xml, text/xml
Sample:
<FacilPlans xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities"> <Id>bab6c328-3bff-4518-8539-d9df0ee3d6e4</Id> <intIdOriginalPlan>3</intIdOriginalPlan> <intIdPlan>1</intIdPlan> <intValiditydays>6</intValiditydays> <txtContelPrice>sample string 5</txtContelPrice> <txtGB>sample string 2</txtGB> <txtPlanName>sample string 4</txtPlanName> </FacilPlans>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GenericResponseName | Description | Type | Additional information |
---|---|---|---|
Data | Object |
None. |
|
Info | string |
None. |
|
Error | string |
None. |
|
Status | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": {}, "Info": "sample string 2", "Error": "sample string 3", "Status": true }
text/html
Sample:
{"Data":{},"Info":"sample string 2","Error":"sample string 3","Status":true}
application/xml, text/xml
Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities"> <Data /> <Error>sample string 3</Error> <Info>sample string 2</Info> <Status>true</Status> </GenericResponse>