POST api/Mom/{id}?username={username}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

username

string

Required

Body Parameters

DTOMomhistory
NameDescriptionTypeAdditional information
reason

string

None.

status

string

None.

updateddate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "reason": "sample string 1",
  "status": "sample string 2",
  "updateddate": "sample string 3"
}

application/xml, text/xml

Sample:
<DTOMomhistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers">
  <reason>sample string 1</reason>
  <status>sample string 2</status>
  <updateddate>sample string 3</updateddate>
</DTOMomhistory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

rtnMessage
NameDescriptionTypeAdditional information
result

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<rtnMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers">
  <message>sample string 2</message>
  <result>true</result>
</rtnMessage>