POST api/NTCosCompany/PostCorporationMCR
Request Information
URI Parameters
None.
Body Parameters
Collection of CorporationMCRDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
CorporationCode | string |
String length: inclusive between 0 and 20 |
|
WorkLocationCode | string |
String length: inclusive between 0 and 20 |
|
WorkLocationName | string |
String length: inclusive between 0 and 200 |
|
WorkLocationShortName | string |
String length: inclusive between 0 and 200 |
|
Radius | decimal number |
None. |
|
IsSelected | boolean |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
Address1 | string |
String length: inclusive between 0 and 200 |
|
Suite | string |
String length: inclusive between 0 and 10 |
|
City | string |
String length: inclusive between 0 and 100 |
|
State | string |
String length: inclusive between 0 and 2 |
|
Country | string |
String length: inclusive between 0 and 50 |
|
Zip | string |
String length: inclusive between 0 and 10 |
|
ValidFlag | boolean |
None. |
|
DateCreated | date |
None. |
|
DateUpdated | date |
None. |
|
UserIDCreated | integer |
None. |
|
UserIDUpdated | integer |
None. |
|
CompanyCode | string |
String length: inclusive between 0 and 20 |
|
IsExcludeDiscount | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": 1, "CorporationCode": "sample string 2", "WorkLocationCode": "sample string 3", "WorkLocationName": "sample string 4", "WorkLocationShortName": "sample string 5", "Radius": 1.1, "IsSelected": true, "Latitude": 1.1, "Longitude": 1.1, "Address1": "sample string 7", "Suite": "sample string 8", "City": "sample string 9", "State": "sample string 10", "Country": "sample string 11", "Zip": "sample string 12", "ValidFlag": true, "DateCreated": "2025-04-03T19:33:32.6461935-07:00", "DateUpdated": "2025-04-03T19:33:32.6461935-07:00", "UserIDCreated": 16, "UserIDUpdated": 17, "CompanyCode": "sample string 18", "IsExcludeDiscount": true }, { "Id": 1, "CorporationCode": "sample string 2", "WorkLocationCode": "sample string 3", "WorkLocationName": "sample string 4", "WorkLocationShortName": "sample string 5", "Radius": 1.1, "IsSelected": true, "Latitude": 1.1, "Longitude": 1.1, "Address1": "sample string 7", "Suite": "sample string 8", "City": "sample string 9", "State": "sample string 10", "Country": "sample string 11", "Zip": "sample string 12", "ValidFlag": true, "DateCreated": "2025-04-03T19:33:32.6461935-07:00", "DateUpdated": "2025-04-03T19:33:32.6461935-07:00", "UserIDCreated": 16, "UserIDUpdated": 17, "CompanyCode": "sample string 18", "IsExcludeDiscount": true } ]
application/xml, text/xml
Sample:
<ArrayOfCorporationMCRDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL"> <CorporationMCRDTO> <CompanyCode>sample string 18</CompanyCode> <DateCreated>2025-04-03T19:33:32.6461935-07:00</DateCreated> <DateUpdated>2025-04-03T19:33:32.6461935-07:00</DateUpdated> <IsExcludeDiscount>true</IsExcludeDiscount> <UserIDCreated>16</UserIDCreated> <UserIDUpdated>17</UserIDUpdated> <ValidFlag>true</ValidFlag> <Address1>sample string 7</Address1> <City>sample string 9</City> <CorporationCode>sample string 2</CorporationCode> <Country>sample string 11</Country> <Id>1</Id> <IsSelected>true</IsSelected> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> <Radius>1.1</Radius> <State>sample string 10</State> <Suite>sample string 8</Suite> <WorkLocationCode>sample string 3</WorkLocationCode> <WorkLocationName>sample string 4</WorkLocationName> <WorkLocationShortName>sample string 5</WorkLocationShortName> <Zip>sample string 12</Zip> </CorporationMCRDTO> <CorporationMCRDTO> <CompanyCode>sample string 18</CompanyCode> <DateCreated>2025-04-03T19:33:32.6461935-07:00</DateCreated> <DateUpdated>2025-04-03T19:33:32.6461935-07:00</DateUpdated> <IsExcludeDiscount>true</IsExcludeDiscount> <UserIDCreated>16</UserIDCreated> <UserIDUpdated>17</UserIDUpdated> <ValidFlag>true</ValidFlag> <Address1>sample string 7</Address1> <City>sample string 9</City> <CorporationCode>sample string 2</CorporationCode> <Country>sample string 11</Country> <Id>1</Id> <IsSelected>true</IsSelected> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> <Radius>1.1</Radius> <State>sample string 10</State> <Suite>sample string 8</Suite> <WorkLocationCode>sample string 3</WorkLocationCode> <WorkLocationName>sample string 4</WorkLocationName> <WorkLocationShortName>sample string 5</WorkLocationShortName> <Zip>sample string 12</Zip> </CorporationMCRDTO> </ArrayOfCorporationMCRDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfListOfCorporationMCRDTOName | Description | Type | Additional information |
---|---|---|---|
isSuccess | boolean |
None. |
|
message | string |
None. |
|
jsonObj | Collection of CorporationMCRDTO |
None. |
|
totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "message": "sample string 2", "jsonObj": [ { "Id": 1, "CorporationCode": "sample string 2", "WorkLocationCode": "sample string 3", "WorkLocationName": "sample string 4", "WorkLocationShortName": "sample string 5", "Radius": 1.1, "IsSelected": true, "Latitude": 1.1, "Longitude": 1.1, "Address1": "sample string 7", "Suite": "sample string 8", "City": "sample string 9", "State": "sample string 10", "Country": "sample string 11", "Zip": "sample string 12", "ValidFlag": true, "DateCreated": "2025-04-03T19:33:32.6507138-07:00", "DateUpdated": "2025-04-03T19:33:32.6507138-07:00", "UserIDCreated": 16, "UserIDUpdated": 17, "CompanyCode": "sample string 18", "IsExcludeDiscount": true }, { "Id": 1, "CorporationCode": "sample string 2", "WorkLocationCode": "sample string 3", "WorkLocationName": "sample string 4", "WorkLocationShortName": "sample string 5", "Radius": 1.1, "IsSelected": true, "Latitude": 1.1, "Longitude": 1.1, "Address1": "sample string 7", "Suite": "sample string 8", "City": "sample string 9", "State": "sample string 10", "Country": "sample string 11", "Zip": "sample string 12", "ValidFlag": true, "DateCreated": "2025-04-03T19:33:32.6507138-07:00", "DateUpdated": "2025-04-03T19:33:32.6507138-07:00", "UserIDCreated": 16, "UserIDUpdated": 17, "CompanyCode": "sample string 18", "IsExcludeDiscount": true } ], "totalCount": 3 }
application/xml, text/xml
Sample:
<AsapResponseOfArrayOfCorporationMCRDTO3NYuOdgi 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.BL"> <d2p1:CorporationMCRDTO> <d2p1:CompanyCode>sample string 18</d2p1:CompanyCode> <d2p1:DateCreated>2025-04-03T19:33:32.6507138-07:00</d2p1:DateCreated> <d2p1:DateUpdated>2025-04-03T19:33:32.6507138-07:00</d2p1:DateUpdated> <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount> <d2p1:UserIDCreated>16</d2p1:UserIDCreated> <d2p1:UserIDUpdated>17</d2p1:UserIDUpdated> <d2p1:ValidFlag>true</d2p1:ValidFlag> <d2p1:Address1>sample string 7</d2p1:Address1> <d2p1:City>sample string 9</d2p1:City> <d2p1:CorporationCode>sample string 2</d2p1:CorporationCode> <d2p1:Country>sample string 11</d2p1:Country> <d2p1:Id>1</d2p1:Id> <d2p1:IsSelected>true</d2p1:IsSelected> <d2p1:Latitude>1.1</d2p1:Latitude> <d2p1:Longitude>1.1</d2p1:Longitude> <d2p1:Radius>1.1</d2p1:Radius> <d2p1:State>sample string 10</d2p1:State> <d2p1:Suite>sample string 8</d2p1:Suite> <d2p1:WorkLocationCode>sample string 3</d2p1:WorkLocationCode> <d2p1:WorkLocationName>sample string 4</d2p1:WorkLocationName> <d2p1:WorkLocationShortName>sample string 5</d2p1:WorkLocationShortName> <d2p1:Zip>sample string 12</d2p1:Zip> </d2p1:CorporationMCRDTO> <d2p1:CorporationMCRDTO> <d2p1:CompanyCode>sample string 18</d2p1:CompanyCode> <d2p1:DateCreated>2025-04-03T19:33:32.6507138-07:00</d2p1:DateCreated> <d2p1:DateUpdated>2025-04-03T19:33:32.6507138-07:00</d2p1:DateUpdated> <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount> <d2p1:UserIDCreated>16</d2p1:UserIDCreated> <d2p1:UserIDUpdated>17</d2p1:UserIDUpdated> <d2p1:ValidFlag>true</d2p1:ValidFlag> <d2p1:Address1>sample string 7</d2p1:Address1> <d2p1:City>sample string 9</d2p1:City> <d2p1:CorporationCode>sample string 2</d2p1:CorporationCode> <d2p1:Country>sample string 11</d2p1:Country> <d2p1:Id>1</d2p1:Id> <d2p1:IsSelected>true</d2p1:IsSelected> <d2p1:Latitude>1.1</d2p1:Latitude> <d2p1:Longitude>1.1</d2p1:Longitude> <d2p1:Radius>1.1</d2p1:Radius> <d2p1:State>sample string 10</d2p1:State> <d2p1:Suite>sample string 8</d2p1:Suite> <d2p1:WorkLocationCode>sample string 3</d2p1:WorkLocationCode> <d2p1:WorkLocationName>sample string 4</d2p1:WorkLocationName> <d2p1:WorkLocationShortName>sample string 5</d2p1:WorkLocationShortName> <d2p1:Zip>sample string 12</d2p1:Zip> </d2p1:CorporationMCRDTO> </jsonObj> <message>sample string 2</message> <totalCount>3</totalCount> </AsapResponseOfArrayOfCorporationMCRDTO3NYuOdgi>