POST api/Corporation/DeleteContractorCorporation
Request Information
URI Parameters
None.
Body Parameters
ContractorCorporationDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| OwnerCorporationCode | string |
String length: inclusive between 0 and 20 |
|
| ContractorCorporationCode | string |
String length: inclusive between 0 and 20 |
|
| OwnerCorporationName | string |
String length: inclusive between 0 and 20 |
|
| ContractorCorporationName | string |
String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"OwnerCorporationCode": "sample string 2",
"ContractorCorporationCode": "sample string 3",
"OwnerCorporationName": "sample string 4",
"ContractorCorporationName": "sample string 5"
}
application/xml, text/xml
Sample:
<ContractorCorporationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO"> <ContractorCorporationCode>sample string 3</ContractorCorporationCode> <ContractorCorporationName>sample string 5</ContractorCorporationName> <Id>1</Id> <OwnerCorporationCode>sample string 2</OwnerCorporationCode> <OwnerCorporationName>sample string 4</OwnerCorporationName> </ContractorCorporationDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfContractorCorporationDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | ContractorCorporationDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"Id": 1,
"OwnerCorporationCode": "sample string 2",
"ContractorCorporationCode": "sample string 3",
"OwnerCorporationName": "sample string 4",
"ContractorCorporationName": "sample string 5"
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfContractorCorporationDTO9DQd0Pqc 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">
<d2p1:ContractorCorporationCode>sample string 3</d2p1:ContractorCorporationCode>
<d2p1:ContractorCorporationName>sample string 5</d2p1:ContractorCorporationName>
<d2p1:Id>1</d2p1:Id>
<d2p1:OwnerCorporationCode>sample string 2</d2p1:OwnerCorporationCode>
<d2p1:OwnerCorporationName>sample string 4</d2p1:OwnerCorporationName>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfContractorCorporationDTO9DQd0Pqc>