POST api/ApnImport/CopyMapping

Request Information

URI Parameters

None.

Body Parameters

MappingNameRequest
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:
<MappingNameRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Importer">
  <Id>1</Id>
  <Name>sample string 1</Name>
</MappingNameRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfIdResult
NameDescriptionTypeAdditional information
Response

ApiResponse

None.

Data

IdResult

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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