POST WebServices/OrderTypeMaster/Post

Request Information

URI Parameters

None.

Body Parameters

OrderTypeModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

NameHindi

string

None.

IsActive

boolean

None.

IsDelete

boolean

None.

Code

integer

None.

ShortName

string

None.

IsSystemGenerated

boolean

None.

ReportOrderType

string

None.

IsDateMandatory

boolean

None.

IsDocumentNoMandatory

integer

None.

ImagePath

string

None.

SubMenuNameHindi

string

None.

SubMenuNameEnglish

string

None.

MenuClassificationCode

integer

None.

MenuClassificationPageTypeCode

integer

None.

GeneralDepartmentDistrictMapping

integer

None.

GeneralDepartmentDistrictMappingList

Collection of string

None.

CommonCategoryCode

integer

None.

IsShowInJankalyan

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "NameHindi": "sample string 3",
  "IsActive": true,
  "IsDelete": true,
  "Code": 1,
  "ShortName": "sample string 6",
  "IsSystemGenerated": true,
  "ReportOrderType": "sample string 7",
  "IsDateMandatory": true,
  "IsDocumentNoMandatory": 1,
  "ImagePath": "sample string 8",
  "SubMenuNameHindi": "sample string 9",
  "SubMenuNameEnglish": "sample string 10",
  "MenuClassificationCode": 1,
  "MenuClassificationPageTypeCode": 1,
  "GeneralDepartmentDistrictMapping": 1,
  "GeneralDepartmentDistrictMappingList": [
    "sample string 1",
    "sample string 2"
  ],
  "CommonCategoryCode": 1,
  "IsShowInJankalyan": true
}

application/xml, text/xml

Sample:
<OrderTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMOWebApi.Models.AdminModel.MasterModel">
  <Code>1</Code>
  <CommonCategoryCode>1</CommonCategoryCode>
  <GeneralDepartmentDistrictMapping>1</GeneralDepartmentDistrictMapping>
  <GeneralDepartmentDistrictMappingList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </GeneralDepartmentDistrictMappingList>
  <Id>1</Id>
  <ImagePath>sample string 8</ImagePath>
  <IsActive>true</IsActive>
  <IsDateMandatory>true</IsDateMandatory>
  <IsDelete>true</IsDelete>
  <IsDocumentNoMandatory>1</IsDocumentNoMandatory>
  <IsShowInJankalyan>true</IsShowInJankalyan>
  <IsSystemGenerated>true</IsSystemGenerated>
  <MenuClassificationCode>1</MenuClassificationCode>
  <MenuClassificationPageTypeCode>1</MenuClassificationPageTypeCode>
  <Name>sample string 2</Name>
  <NameHindi>sample string 3</NameHindi>
  <ReportOrderType>sample string 7</ReportOrderType>
  <ShortName>sample string 6</ShortName>
  <SubMenuNameEnglish>sample string 10</SubMenuNameEnglish>
  <SubMenuNameHindi>sample string 9</SubMenuNameHindi>
</OrderTypeModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Id"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="NameHindi"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsActive"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsDelete"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Code"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ShortName"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsSystemGenerated"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ReportOrderType"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsDateMandatory"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsDocumentNoMandatory"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ImagePath"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SubMenuNameHindi"

sample string 9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SubMenuNameEnglish"

sample string 10
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="MenuClassificationCode"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="MenuClassificationPageTypeCode"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="GeneralDepartmentDistrictMapping"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="GeneralDepartmentDistrictMappingList[0]"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="GeneralDepartmentDistrictMappingList[1]"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="CommonCategoryCode"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsShowInJankalyan"

True
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.