POST api/CorporationSpotter/Save

Request Information

URI Parameters

None.

Body Parameters

CorporationSpotterDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

CorporationCode

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "CorporationCode": "sample string 3",
  "Token": "sample string 4"
}

application/xml, text/xml

Sample:
<CorporationSpotterDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.CorporationSpotter">
  <CorporationCode>sample string 3</CorporationCode>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <Token>sample string 4</Token>
</CorporationSpotterDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfCorporationSpotterDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

CorporationSpotterDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "Id": 1,
    "Name": "sample string 2",
    "CorporationCode": "sample string 3",
    "Token": "sample string 4"
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfCorporationSpotterDTOpM3cZf1u xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
  <isSuccess>true</isSuccess>
  <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO.CorporationSpotter">
    <d2p1:CorporationCode>sample string 3</d2p1:CorporationCode>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
    <d2p1:Token>sample string 4</d2p1:Token>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfCorporationSpotterDTOpM3cZf1u>