POST api/Corporation/AddCorporationIsOwner
Request Information
URI Parameters
None.
Body Parameters
CorporationDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CorporationCode | string |
String length: inclusive between 0 and 20 |
|
| isNew | boolean |
None. |
|
| Name | string |
String length: inclusive between 0 and 100 |
|
| ShortName | string |
String length: inclusive between 0 and 60 |
|
| Address | string |
String length: inclusive between 0 and 50 |
|
| Suite | string |
String length: inclusive between 0 and 50 |
|
| City | string |
String length: inclusive between 0 and 30 |
|
| State | string |
String length: inclusive between 0 and 50 |
|
| StateCode | string |
String length: inclusive between 0 and 2 |
|
| Zip | string |
String length: inclusive between 0 and 10 |
|
| ZipExt | string |
String length: inclusive between 0 and 10 |
|
| Country | string |
String length: inclusive between 0 and 50 |
|
| CountryCode | string |
String length: inclusive between 0 and 3 |
|
| ValidFlag | boolean |
None. |
|
| DateCreated | date |
None. |
|
| IsASAPEnable | boolean |
None. |
|
| IsOSCAEnable | boolean |
None. |
|
| IsCOSEnable | boolean |
None. |
|
| BillAccountByCorpLevel | integer |
None. |
|
| TagIds | string |
None. |
|
| CorporationDA | CorporationDADTO |
None. |
|
| CorporationhierarchyDTO | CorporationhierarchyDTO |
None. |
|
| CorporationMappingDTO | CorporationMappingDTO |
None. |
|
| ListCorporationBillMethodDTO | Collection of CorporationBillMethodDTO |
None. |
|
| Longitude | decimal number |
None. |
|
| Latitude | decimal number |
None. |
|
| FullAddress | string |
String length: inclusive between 0 and 200 |
|
| ListCorporationSyncRoster | Collection of CorporationSyncRosterDTO |
None. |
|
| NatureOfBusinessId | integer |
None. |
|
| NatureOfBusinessName | string |
String length: inclusive between 0 and 300 |
|
| AppId | string |
String length: inclusive between 0 and 8000 |
|
| Enable2FA | boolean |
None. |
|
| ClientCode | string |
String length: inclusive between 0 and 200 |
|
| CorporateLogo | string |
String length: inclusive between 0 and 8000 |
|
| CorporationLogoDocId | globally unique identifier |
None. |
|
| RoleTemplateId | integer |
None. |
|
| IsOwner | boolean |
None. |
|
| CorporationOSCADTO | CorporationOSCADTO |
None. |
|
| DANoOfEmployee | integer |
None. |
|
| IsConvertedToAccio | boolean |
None. |
|
| EccServices | string |
None. |
|
| ClinicalPathwayServices | string |
None. |
|
| CompanyLevel | integer |
None. |
Request Formats
application/json, text/json
{
"CompanyLevel": 1,
"CorporationCode": "sample string 1",
"isNew": true,
"Name": "sample string 3",
"ShortName": "sample string 4",
"Address": "sample string 5",
"Suite": "sample string 6",
"City": "sample string 7",
"State": "sample string 8",
"StateCode": "sample string 9",
"Zip": "sample string 10",
"ZipExt": "sample string 11",
"Country": "sample string 12",
"CountryCode": "sample string 13",
"ValidFlag": true,
"DateCreated": "2026-08-03T21:56:47.8059819-07:00",
"IsASAPEnable": true,
"IsOSCAEnable": true,
"IsCOSEnable": true,
"BillAccountByCorpLevel": 16,
"TagIds": "sample string 17",
"CorporationDA": {
"CorporationCode": "sample string 1",
"AsapSupportEmail": "sample string 2",
"NoticeTo": "sample string 3",
"AllowECCFCollectionSite": true,
"AllowThirdPartyCollectionSite": true,
"AllowPreferredCollectionSite": true,
"AllowActiveDeactiveEmployeeNoticeForReplaceImport": true,
"RandomNoticeWithList": true,
"SupervisorReceiveRandomNotice": true,
"HasCollectionSurcharge": true,
"IsDisplayEmployeeAddressInAuthorizationList": true,
"IsSupervisor": true
},
"CorporationhierarchyDTO": {
"CorporationCode": "sample string 1",
"Level1": "sample string 2",
"Level2": "sample string 3",
"Level3": "sample string 4",
"Level4": "sample string 5",
"Level5": "sample string 6",
"IsLevel1": true,
"IsLevel2": true,
"IsLevel3": true,
"IsLevel4": true,
"IsLevel5": true,
"ValidFlag": true
},
"CorporationMappingDTO": {
"BillAccountCode": "sample string 1",
"BranchCode": "sample string 2",
"DivisionCode": "sample string 3",
"CompanyCode": "sample string 4"
},
"ListCorporationBillMethodDTO": [
{
"RecordId": 1,
"CorporationCode": "sample string 2",
"ServiceType": "sample string 3",
"BillMethod": 64,
"StartDate": "2026-08-03T21:56:47.8215988-07:00",
"EndDate": "2026-08-03T21:56:47.8215988-07:00"
},
{
"RecordId": 1,
"CorporationCode": "sample string 2",
"ServiceType": "sample string 3",
"BillMethod": 64,
"StartDate": "2026-08-03T21:56:47.8215988-07:00",
"EndDate": "2026-08-03T21:56:47.8215988-07:00"
}
],
"Longitude": 1.1,
"Latitude": 1.1,
"FullAddress": "sample string 18",
"ListCorporationSyncRoster": [
{
"CorporationCode": "sample string 1",
"CompanyCode": "sample string 2",
"CorporationName": "sample string 3",
"CompanyName": "sample string 4",
"Regulation": "sample string 5",
"ValidFlag": true
},
{
"CorporationCode": "sample string 1",
"CompanyCode": "sample string 2",
"CorporationName": "sample string 3",
"CompanyName": "sample string 4",
"Regulation": "sample string 5",
"ValidFlag": true
}
],
"NatureOfBusinessId": 1,
"NatureOfBusinessName": "sample string 19",
"AppId": "sample string 20",
"Enable2FA": true,
"ClientCode": "sample string 21",
"CorporateLogo": "sample string 22",
"CorporationLogoDocId": "7f08d0ed-4192-468b-88f9-220d634c71b3",
"RoleTemplateId": 24,
"IsOwner": true,
"CorporationOSCADTO": {
"CorporationCode": "sample string 1",
"IsSync": true
},
"DANoOfEmployee": 26,
"IsConvertedToAccio": true,
"EccServices": "sample string 27",
"ClinicalPathwayServices": "sample string 28"
}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
AsapResponseOfCorporationDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | CorporationDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"CompanyLevel": 1,
"CorporationCode": "sample string 1",
"isNew": true,
"Name": "sample string 3",
"ShortName": "sample string 4",
"Address": "sample string 5",
"Suite": "sample string 6",
"City": "sample string 7",
"State": "sample string 8",
"StateCode": "sample string 9",
"Zip": "sample string 10",
"ZipExt": "sample string 11",
"Country": "sample string 12",
"CountryCode": "sample string 13",
"ValidFlag": true,
"DateCreated": "2026-08-03T21:56:47.8684942-07:00",
"IsASAPEnable": true,
"IsOSCAEnable": true,
"IsCOSEnable": true,
"BillAccountByCorpLevel": 16,
"TagIds": "sample string 17",
"CorporationDA": {
"CorporationCode": "sample string 1",
"AsapSupportEmail": "sample string 2",
"NoticeTo": "sample string 3",
"AllowECCFCollectionSite": true,
"AllowThirdPartyCollectionSite": true,
"AllowPreferredCollectionSite": true,
"AllowActiveDeactiveEmployeeNoticeForReplaceImport": true,
"RandomNoticeWithList": true,
"SupervisorReceiveRandomNotice": true,
"HasCollectionSurcharge": true,
"IsDisplayEmployeeAddressInAuthorizationList": true,
"IsSupervisor": true
},
"CorporationhierarchyDTO": {
"CorporationCode": "sample string 1",
"Level1": "sample string 2",
"Level2": "sample string 3",
"Level3": "sample string 4",
"Level4": "sample string 5",
"Level5": "sample string 6",
"IsLevel1": true,
"IsLevel2": true,
"IsLevel3": true,
"IsLevel4": true,
"IsLevel5": true,
"ValidFlag": true
},
"CorporationMappingDTO": {
"BillAccountCode": "sample string 1",
"BranchCode": "sample string 2",
"DivisionCode": "sample string 3",
"CompanyCode": "sample string 4"
},
"ListCorporationBillMethodDTO": [
{
"RecordId": 1,
"CorporationCode": "sample string 2",
"ServiceType": "sample string 3",
"BillMethod": 64,
"StartDate": "2026-08-03T21:56:47.8684942-07:00",
"EndDate": "2026-08-03T21:56:47.8684942-07:00"
},
{
"RecordId": 1,
"CorporationCode": "sample string 2",
"ServiceType": "sample string 3",
"BillMethod": 64,
"StartDate": "2026-08-03T21:56:47.8684942-07:00",
"EndDate": "2026-08-03T21:56:47.8684942-07:00"
}
],
"Longitude": 1.1,
"Latitude": 1.1,
"FullAddress": "sample string 18",
"ListCorporationSyncRoster": [
{
"CorporationCode": "sample string 1",
"CompanyCode": "sample string 2",
"CorporationName": "sample string 3",
"CompanyName": "sample string 4",
"Regulation": "sample string 5",
"ValidFlag": true
},
{
"CorporationCode": "sample string 1",
"CompanyCode": "sample string 2",
"CorporationName": "sample string 3",
"CompanyName": "sample string 4",
"Regulation": "sample string 5",
"ValidFlag": true
}
],
"NatureOfBusinessId": 1,
"NatureOfBusinessName": "sample string 19",
"AppId": "sample string 20",
"Enable2FA": true,
"ClientCode": "sample string 21",
"CorporateLogo": "sample string 22",
"CorporationLogoDocId": "33c66aa1-2369-4118-884c-5b81e189a04f",
"RoleTemplateId": 24,
"IsOwner": true,
"CorporationOSCADTO": {
"CorporationCode": "sample string 1",
"IsSync": true
},
"DANoOfEmployee": 26,
"IsConvertedToAccio": true,
"EccServices": "sample string 27",
"ClinicalPathwayServices": "sample string 28"
},
"totalCount": 3
}