PUT api/MiscellaneousCostType
Put
Request Information
URI Parameters
None.
Body Parameters
MiscellaneousCostTypeInsertUpdateRequestModelName | Description | Type | Additional information |
---|---|---|---|
MiscellaneousCostTypeID | integer |
None. |
|
CostTypeCode | string |
None. |
|
CostTypeName | string |
None. |
|
CostTypeDescription | string |
None. |
|
IsActive | integer |
None. |
|
IsDeleted | integer |
None. |
|
AddedBy | integer |
None. |
Request Formats
application/json, text/json, text/plain, text/html
Sample:
{ "miscellaneousCostTypeID": 1, "costTypeCode": "sample string 1", "costTypeName": "sample string 2", "costTypeDescription": "sample string 3", "isActive": 4, "isDeleted": 5, "addedBy": 1 }
application/xml, text/xml
Sample:
<MiscellaneousCostTypeInsertUpdateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel"> <AddedBy>1</AddedBy> <CostTypeCode>sample string 1</CostTypeCode> <CostTypeDescription>sample string 3</CostTypeDescription> <CostTypeName>sample string 2</CostTypeName> <IsActive>4</IsActive> <IsDeleted>5</IsDeleted> <MiscellaneousCostTypeID>1</MiscellaneousCostTypeID> </MiscellaneousCostTypeInsertUpdateRequestModel>
multipart/form-data
Sample:
<MiscellaneousCostTypeInsertUpdateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.RequestModel"><AddedBy>1</AddedBy><CostTypeCode>sample string 1</CostTypeCode><CostTypeDescription>sample string 3</CostTypeDescription><CostTypeName>sample string 2</CostTypeName><IsActive>4</IsActive><IsDeleted>5</IsDeleted><MiscellaneousCostTypeID>1</MiscellaneousCostTypeID></MiscellaneousCostTypeInsertUpdateRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommonResponseDataModelName | Description | Type | Additional information |
---|---|---|---|
ReturnID | integer |
Required |
|
Message | string |
Required |
|
Successful | boolean |
Required |
|
Code | integer |
None. |
|
TotalRecord | integer |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{ "returnID": 1, "message": "sample string 2", "successful": true, "code": 4, "totalRecord": 5 }
application/xml, text/xml
Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"> <Code>4</Code> <Message>sample string 2</Message> <ReturnID>1</ReturnID> <Successful>true</Successful> <TotalRecord>5</TotalRecord> </CommonResponseDataModel>
multipart/form-data
Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><Code>4</Code><Message>sample string 2</Message><ReturnID>1</ReturnID><Successful>true</Successful><TotalRecord>5</TotalRecord></CommonResponseDataModel>