PUT api/Blocks
Request Information
URI Parameters
None.
Body Parameters
ResourceBlock| Name | Description | Type | Additional information | 
|---|---|---|---|
| BlockId | integer | None. | |
| ResourceId | integer | None. | |
| Date | string | None. | |
| StartTime | string | None. | |
| Duration | integer | None. | |
| EndTime | string | None. | |
| BlockTypeId | integer | None. | |
| Notes | string | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "BlockId": 1,
  "ResourceId": 2,
  "Date": "sample string 3",
  "StartTime": "sample string 4",
  "Duration": 5,
  "EndTime": "sample string 6",
  "BlockTypeId": 7,
  "Notes": "sample string 8"
}
        application/xml, text/xml
            Sample:
        <ResourceBlock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Web.Api.Models"> <BlockId>1</BlockId> <BlockTypeId>7</BlockTypeId> <Date>sample string 3</Date> <Duration>5</Duration> <EndTime>sample string 6</EndTime> <Notes>sample string 8</Notes> <ResourceId>2</ResourceId> <StartTime>sample string 4</StartTime> </ResourceBlock>
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.