POST api/Customer/FreezeMonth

Request Information

URI Parameters

None.

Body Parameters

Collection of DataFreezeInfo
NameDescriptionTypeAdditional information
DataFreeze_Id

integer

None.

Year

integer

None.

Month

integer

None.

IsActive

boolean

None.

CreatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "DataFreeze_Id": 1,
    "Year": 2,
    "Month": 3,
    "IsActive": true,
    "CreatedBy": 1
  },
  {
    "DataFreeze_Id": 1,
    "Year": 2,
    "Month": 3,
    "IsActive": true,
    "CreatedBy": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfDataFreezeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel">
  <DataFreezeInfo>
    <CreatedBy>1</CreatedBy>
    <DataFreeze_Id>1</DataFreeze_Id>
    <IsActive>true</IsActive>
    <Month>3</Month>
    <Year>2</Year>
  </DataFreezeInfo>
  <DataFreezeInfo>
    <CreatedBy>1</CreatedBy>
    <DataFreeze_Id>1</DataFreeze_Id>
    <IsActive>true</IsActive>
    <Month>3</Month>
    <Year>2</Year>
  </DataFreezeInfo>
</ArrayOfDataFreezeInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IList`1'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>