POST api/BanasAIHRApi/ShedMasterInsUpd

Request Information

URI Parameters

None.

Body Parameters

ShedMasterViewModel
NameDescriptionTypeAdditional information
ShedId

integer

None.

ShedName

string

None.

NoOfCells

integer

None.

CapacityPerCell

integer

None.

StationId

integer

None.

ShedDesignTypeId

integer

None.

DesignTypeName

string

None.

IsActive

boolean

None.

CreateUser

string

None.

CreateDate

string

None.

UpdateUser

string

None.

UpdateDate

string

None.

Action

string

None.

ShedMasterList

Collection of BanasAIHR_ShedMasterRtr_Result

None.

ShedDesignTypeList

Collection of BanasAIHR_ShedDesignTypeMasterRtr_Result

None.

Request Formats

application/json, text/json

Sample:
{
  "ShedId": 1,
  "ShedName": "sample string 2",
  "NoOfCells": 3,
  "CapacityPerCell": 4,
  "StationId": 5,
  "ShedDesignTypeId": 6,
  "DesignTypeName": "sample string 7",
  "IsActive": true,
  "CreateUser": "sample string 9",
  "CreateDate": "sample string 10",
  "UpdateUser": "sample string 11",
  "UpdateDate": "sample string 12",
  "Action": "sample string 13",
  "ShedMasterList": [
    {
      "ShedId": 1,
      "ShedName": "sample string 2",
      "NoOfCells": 3,
      "CapacityPerCell": 4,
      "StationId": 5,
      "ShedDesignTypeId": 6,
      "DesignTypeName": "sample string 7",
      "IsActive": true,
      "CreateUser": "sample string 9",
      "CreateDate": "sample string 10",
      "UpdateUser": "sample string 11",
      "UpdateDate": "sample string 12"
    },
    {
      "ShedId": 1,
      "ShedName": "sample string 2",
      "NoOfCells": 3,
      "CapacityPerCell": 4,
      "StationId": 5,
      "ShedDesignTypeId": 6,
      "DesignTypeName": "sample string 7",
      "IsActive": true,
      "CreateUser": "sample string 9",
      "CreateDate": "sample string 10",
      "UpdateUser": "sample string 11",
      "UpdateDate": "sample string 12"
    }
  ],
  "ShedDesignTypeList": [
    {
      "ShedDesignTypeId": 1,
      "DesignTypeName": "sample string 2",
      "IsActive": true,
      "CreateUser": "sample string 4",
      "CreateDate": "sample string 5",
      "UpdateUser": "sample string 6",
      "UpdateDate": "sample string 7"
    },
    {
      "ShedDesignTypeId": 1,
      "DesignTypeName": "sample string 2",
      "IsActive": true,
      "CreateUser": "sample string 4",
      "CreateDate": "sample string 5",
      "UpdateUser": "sample string 6",
      "UpdateDate": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<ShedMasterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BanasAIHRViewModel.Master">
  <Action>sample string 13</Action>
  <CapacityPerCell>4</CapacityPerCell>
  <CreateDate>sample string 10</CreateDate>
  <CreateUser>sample string 9</CreateUser>
  <DesignTypeName>sample string 7</DesignTypeName>
  <IsActive>true</IsActive>
  <NoOfCells>3</NoOfCells>
  <ShedDesignTypeId>6</ShedDesignTypeId>
  <ShedDesignTypeList xmlns:d2p1="http://schemas.datacontract.org/2004/07/BanasAIHRdb">
    <d2p1:BanasAIHR_ShedDesignTypeMasterRtr_Result>
      <d2p1:CreateDate>sample string 5</d2p1:CreateDate>
      <d2p1:CreateUser>sample string 4</d2p1:CreateUser>
      <d2p1:DesignTypeName>sample string 2</d2p1:DesignTypeName>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:ShedDesignTypeId>1</d2p1:ShedDesignTypeId>
      <d2p1:UpdateDate>sample string 7</d2p1:UpdateDate>
      <d2p1:UpdateUser>sample string 6</d2p1:UpdateUser>
    </d2p1:BanasAIHR_ShedDesignTypeMasterRtr_Result>
    <d2p1:BanasAIHR_ShedDesignTypeMasterRtr_Result>
      <d2p1:CreateDate>sample string 5</d2p1:CreateDate>
      <d2p1:CreateUser>sample string 4</d2p1:CreateUser>
      <d2p1:DesignTypeName>sample string 2</d2p1:DesignTypeName>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:ShedDesignTypeId>1</d2p1:ShedDesignTypeId>
      <d2p1:UpdateDate>sample string 7</d2p1:UpdateDate>
      <d2p1:UpdateUser>sample string 6</d2p1:UpdateUser>
    </d2p1:BanasAIHR_ShedDesignTypeMasterRtr_Result>
  </ShedDesignTypeList>
  <ShedId>1</ShedId>
  <ShedMasterList xmlns:d2p1="http://schemas.datacontract.org/2004/07/BanasAIHRdb">
    <d2p1:BanasAIHR_ShedMasterRtr_Result>
      <d2p1:CapacityPerCell>4</d2p1:CapacityPerCell>
      <d2p1:CreateDate>sample string 10</d2p1:CreateDate>
      <d2p1:CreateUser>sample string 9</d2p1:CreateUser>
      <d2p1:DesignTypeName>sample string 7</d2p1:DesignTypeName>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:NoOfCells>3</d2p1:NoOfCells>
      <d2p1:ShedDesignTypeId>6</d2p1:ShedDesignTypeId>
      <d2p1:ShedId>1</d2p1:ShedId>
      <d2p1:ShedName>sample string 2</d2p1:ShedName>
      <d2p1:StationId>5</d2p1:StationId>
      <d2p1:UpdateDate>sample string 12</d2p1:UpdateDate>
      <d2p1:UpdateUser>sample string 11</d2p1:UpdateUser>
    </d2p1:BanasAIHR_ShedMasterRtr_Result>
    <d2p1:BanasAIHR_ShedMasterRtr_Result>
      <d2p1:CapacityPerCell>4</d2p1:CapacityPerCell>
      <d2p1:CreateDate>sample string 10</d2p1:CreateDate>
      <d2p1:CreateUser>sample string 9</d2p1:CreateUser>
      <d2p1:DesignTypeName>sample string 7</d2p1:DesignTypeName>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:NoOfCells>3</d2p1:NoOfCells>
      <d2p1:ShedDesignTypeId>6</d2p1:ShedDesignTypeId>
      <d2p1:ShedId>1</d2p1:ShedId>
      <d2p1:ShedName>sample string 2</d2p1:ShedName>
      <d2p1:StationId>5</d2p1:StationId>
      <d2p1:UpdateDate>sample string 12</d2p1:UpdateDate>
      <d2p1:UpdateUser>sample string 11</d2p1:UpdateUser>
    </d2p1:BanasAIHR_ShedMasterRtr_Result>
  </ShedMasterList>
  <ShedName>sample string 2</ShedName>
  <StationId>5</StationId>
  <UpdateDate>sample string 12</UpdateDate>
  <UpdateUser>sample string 11</UpdateUser>
</ShedMasterViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.