POST api/ApnAdminStatus/SaveConstraintPackage

Request Information

URI Parameters

None.

Body Parameters

ConstraintPackageSaveParams
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 1"
}

application/xml, text/xml

Sample:
<ConstraintPackageSaveParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Admin">
  <Id>1</Id>
  <Name>sample string 1</Name>
</ConstraintPackageSaveParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfInt32
NameDescriptionTypeAdditional information
Response

ApiResponse

None.

Data

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {
    "Success": true,
    "ErrorMessage": "sample string 2"
  },
  "Data": 1
}

application/xml, text/xml

Sample:
<ApiResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
  <Data>1</Data>
  <Response>
    <ErrorMessage>sample string 2</ErrorMessage>
    <Success>true</Success>
  </Response>
</ApiResultOfint>