POST api/Plan/GetAll
Request Information
URI Parameters
None.
Body Parameters
PlanLister| Name | Description | Type | Additional information |
|---|---|---|---|
| Plans | Collection of Plan |
None. |
|
| SearchCriteria | Plan |
None. |
|
| Pager | Pager |
None. |
Request Formats
application/json, text/json
Sample:
{
"Plans": [
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"NumberOfMachines": "sample string 4",
"IsDefault": true,
"IsDefaultForUser": true,
"CreatedBy": 7,
"CreatedDate": "2025-12-16T01:05:56.9080869+00:00",
"LastModifiedBy": 9,
"LastModifiedDate": "2025-12-16T01:05:56.9080869+00:00",
"IsTest": true,
"IsSpecificCustomer": true,
"IsCEUKCA": true,
"IsDemo": true,
"CompanyName": "sample string 15"
},
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"NumberOfMachines": "sample string 4",
"IsDefault": true,
"IsDefaultForUser": true,
"CreatedBy": 7,
"CreatedDate": "2025-12-16T01:05:56.9080869+00:00",
"LastModifiedBy": 9,
"LastModifiedDate": "2025-12-16T01:05:56.9080869+00:00",
"IsTest": true,
"IsSpecificCustomer": true,
"IsCEUKCA": true,
"IsDemo": true,
"CompanyName": "sample string 15"
}
],
"SearchCriteria": {
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"NumberOfMachines": "sample string 4",
"IsDefault": true,
"IsDefaultForUser": true,
"CreatedBy": 7,
"CreatedDate": "2025-12-16T01:05:56.9080869+00:00",
"LastModifiedBy": 9,
"LastModifiedDate": "2025-12-16T01:05:56.9080869+00:00",
"IsTest": true,
"IsSpecificCustomer": true,
"IsCEUKCA": true,
"IsDemo": true,
"CompanyName": "sample string 15"
},
"Pager": {
"PageSize": 1,
"Take": 2,
"Skip": 3,
"CurrentPage": 4.0,
"TotalPage": "sample string 5",
"TotalRecord": 6.0
}
}
application/xml, text/xml
Sample:
<PlanLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
<Pager>
<CurrentPage>4</CurrentPage>
<PageSize>1</PageSize>
<Skip>3</Skip>
<Take>2</Take>
<TotalPage>sample string 5</TotalPage>
<TotalRecord>6</TotalRecord>
</Pager>
<Plans>
<Plan>
<CompanyName>sample string 15</CompanyName>
<CreatedBy>7</CreatedBy>
<CreatedDate>2025-12-16T01:05:56.9080869+00:00</CreatedDate>
<Description>sample string 3</Description>
<Id>1</Id>
<IsCEUKCA>true</IsCEUKCA>
<IsDefault>true</IsDefault>
<IsDefaultForUser>true</IsDefaultForUser>
<IsDemo>true</IsDemo>
<IsSpecificCustomer>true</IsSpecificCustomer>
<IsTest>true</IsTest>
<LastModifiedBy>9</LastModifiedBy>
<LastModifiedDate>2025-12-16T01:05:56.9080869+00:00</LastModifiedDate>
<Name>sample string 2</Name>
<NumberOfMachines>sample string 4</NumberOfMachines>
</Plan>
<Plan>
<CompanyName>sample string 15</CompanyName>
<CreatedBy>7</CreatedBy>
<CreatedDate>2025-12-16T01:05:56.9080869+00:00</CreatedDate>
<Description>sample string 3</Description>
<Id>1</Id>
<IsCEUKCA>true</IsCEUKCA>
<IsDefault>true</IsDefault>
<IsDefaultForUser>true</IsDefaultForUser>
<IsDemo>true</IsDemo>
<IsSpecificCustomer>true</IsSpecificCustomer>
<IsTest>true</IsTest>
<LastModifiedBy>9</LastModifiedBy>
<LastModifiedDate>2025-12-16T01:05:56.9080869+00:00</LastModifiedDate>
<Name>sample string 2</Name>
<NumberOfMachines>sample string 4</NumberOfMachines>
</Plan>
</Plans>
<SearchCriteria>
<CompanyName>sample string 15</CompanyName>
<CreatedBy>7</CreatedBy>
<CreatedDate>2025-12-16T01:05:56.9080869+00:00</CreatedDate>
<Description>sample string 3</Description>
<Id>1</Id>
<IsCEUKCA>true</IsCEUKCA>
<IsDefault>true</IsDefault>
<IsDefaultForUser>true</IsDefaultForUser>
<IsDemo>true</IsDemo>
<IsSpecificCustomer>true</IsSpecificCustomer>
<IsTest>true</IsTest>
<LastModifiedBy>9</LastModifiedBy>
<LastModifiedDate>2025-12-16T01:05:56.9080869+00:00</LastModifiedDate>
<Name>sample string 2</Name>
<NumberOfMachines>sample string 4</NumberOfMachines>
</SearchCriteria>
</PlanLister>
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.