POST api/ApnAdminEntity/Copy

Request Information

URI Parameters

None.

Body Parameters

EntityCopyRequest
NameDescriptionTypeAdditional information
EntityID

integer

None.

Name

string

None.

Code

string

None.

CodeForPrincipal

string

None.

AsChild

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityID": 1,
  "Name": "sample string 1",
  "Code": "sample string 2",
  "CodeForPrincipal": "sample string 3",
  "AsChild": true
}

application/xml, text/xml

Sample:
<EntityCopyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Admin">
  <AsChild>true</AsChild>
  <Code>sample string 2</Code>
  <CodeForPrincipal>sample string 3</CodeForPrincipal>
  <EntityID>1</EntityID>
  <Name>sample string 1</Name>
</EntityCopyRequest>

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>