POST PlanName/PostPlanName
Creates a new PlanName record
Request Information
URI Parameters
Body Parameters
PlanName object used to create a new record in the database.
ClsPlanNameAddName | Description | Type | Additional Information |
---|---|---|---|
PlanName |
The Name of the PlanName record |
string |
Required Max length: 80 |
Inactive |
Indicates the PlanName is inactive |
boolean |
Must be 0, 1, True, or False |
Request Formats
application/json, text/json
Sample:
{ "PlanName": "sample string 4", "Inactive": true }
application/xml, text/xml
Sample:
<PlanNameAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI.plbl"> <Inactive>true</Inactive> <PlanName>sample string 4</PlanName> </PlanNameAdd>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Creates a new PlanName record
AgvPlanNameName | Description | Type | Additional Information |
---|---|---|---|
Status |
Status of the API call. |
string | |
Message |
Message of the API call. |
string | |
Count |
Count of how many PlanName JSON dictionaries. |
string | |
PlanNames |
JSON dictionary of PlanNames. |
Collection of ClsPlanName |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Count": "2", "PlanNames": [ { "PlanNameGUID": "6b431a70-b88b-465c-acc6-aa90a26d3c44", "PlanName": "sample string 6", "Inactive": true }, { "PlanNameGUID": "6b431a70-b88b-465c-acc6-aa90a26d3c44", "PlanName": "sample string 6", "Inactive": true } ] }
application/xml, text/xml
Sample:
<AgvPlanName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Plan"> <Message>sample string 2</Message> <PlanNames xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.plbl"> <d2p1:PlanName> <d2p1:Inactive>true</d2p1:Inactive> <d2p1:PlanName>sample string 6</d2p1:PlanName> <d2p1:PlanNameGUID>6b431a70-b88b-465c-acc6-aa90a26d3c44</d2p1:PlanNameGUID> </d2p1:PlanName> <d2p1:PlanName> <d2p1:Inactive>true</d2p1:Inactive> <d2p1:PlanName>sample string 6</d2p1:PlanName> <d2p1:PlanNameGUID>6b431a70-b88b-465c-acc6-aa90a26d3c44</d2p1:PlanNameGUID> </d2p1:PlanName> </PlanNames> <Status>sample string 1</Status> </AgvPlanName>