PUT api/CharityProjectSubTyp/Update

Request Information

URI Parameters

None.

Body Parameters

CharityProjectSubTypUpdateVM
NameDescriptionTypeAdditional information
SubTypeId

integer

Required

BookId

integer

Required

SubTypeName

string

Required

String length: inclusive between 0 and 100

ProjectMaster

CharityProjectMasterLookupVM

Required

Code

string

Required

String length: inclusive between 0 and 10

Status

string

Required

Matching regular expression pattern: A|I

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "SubTypeId": 1,
  "BookId": 2,
  "SubTypeName": "sample string 3",
  "ProjectMaster": {
    "ProjectId": 1,
    "ProjectName": "sample string 2",
    "ProjectType": {
      "ProjectTypeId": 1,
      "ProjectTypeName": "sample string 2"
    }
  },
  "Code": "sample string 4",
  "Status": "sample string 5",
  "UpdateUser": 6,
  "UpdateIp": "sample string 7"
}

application/xml, text/xml

Sample:
<CharityProjectSubTypUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>2</BookId>
  <Code>sample string 4</Code>
  <ProjectMaster>
    <ProjectId>1</ProjectId>
    <ProjectName>sample string 2</ProjectName>
    <ProjectType>
      <ProjectTypeId>1</ProjectTypeId>
      <ProjectTypeName>sample string 2</ProjectTypeName>
    </ProjectType>
  </ProjectMaster>
  <Status>sample string 5</Status>
  <SubTypeId>1</SubTypeId>
  <SubTypeName>sample string 3</SubTypeName>
  <UpdateIp>sample string 7</UpdateIp>
  <UpdateUser>6</UpdateUser>
</CharityProjectSubTypUpdateVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.