POST api/Instance/SetUpInstance
Request Information
URI Parameters
None.
Body Parameters
InstanceInfoName | Description | Type | Additional information |
---|---|---|---|
ClientDetail | ClientDetailModel |
None. |
|
InstanceDetail | InstanceDetailModel |
None. |
|
UserModel | Collection of UserModel |
None. |
|
Attachments | Collection of AttachmentModel |
None. |
|
IsBackUp | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientDetail": { "Id": 1, "Name": "sample string 1", "Client_Admin_Email": "sample string 2", "PhoneNumber": "sample string 3", "Az_Subscription_Name": "sample string 4", "DateModified": "2024-11-05T18:47:43.8809763+00:00" }, "InstanceDetail": { "Id": 1, "EnvironmentType": "sample string 1", "Region": "sample string 2", "EnterpriseLevel": "sample string 3", "ApplicationTier": "sample string 4", "Url": "sample string 5", "Logo": "sample string 6", "ApplicationSupport_Email": "sample string 7", "ApplicationSupport_PhoneNumber": "sample string 8", "SystemIdentifier": "sample string 9", "InstanceName": "sample string 10", "Status": "sample string 11", "UserId": 12, "SetUpDate": "2024-11-05T18:47:43.8809763+00:00", "ActionDate": "2024-11-05T18:47:43.8809763+00:00", "SetUpBy": "sample string 13", "SetUpByInt": 1, "IsInitiated": "sample string 14", "StatusId": 15, "IsBackUp": true, "TerminatioRequestedDate": "2024-11-05T18:47:43.8809763+00:00", "JobName": "sample string 16", "ApplicationMode": "sample string 17", "PayWeekStartDay": 18, "PayMaxRegularHoursPerDay": 19, "PayMaxRegularHoursPerWeek": 20, "PayOTRateMultiplier": 21.0 }, "UserModel": [ { "UserId": "sample string 1", "Email": "sample string 2", "Password": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "Status": "sample string 6", "Role": "sample string 7", "UserType": 8 }, { "UserId": "sample string 1", "Email": "sample string 2", "Password": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "Status": "sample string 6", "Role": "sample string 7", "UserType": 8 } ], "Attachments": [ { "AttachmentType": 1, "Src": "sample string 2", "Id": 3, "ItemType": "sample string 4", "FileUrl": "sample string 5", "FileType": "sample string 6", "FileName": "sample string 7", "Created": "sample string 8" }, { "AttachmentType": 1, "Src": "sample string 2", "Id": 3, "ItemType": "sample string 4", "FileUrl": "sample string 5", "FileType": "sample string 6", "FileName": "sample string 7", "Created": "sample string 8" } ], "IsBackUp": true }
application/xml, text/xml
Sample:
<InstanceInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoDeployment.BLL.ViewModel"> <Attachments xmlns:d2p1="http://schemas.datacontract.org/2004/07/AutoDeployment.Common.ViewModel"> <d2p1:CommonModel.AttachmentModel> <d2p1:AttachmentType>1</d2p1:AttachmentType> <d2p1:Created>sample string 8</d2p1:Created> <d2p1:FileName>sample string 7</d2p1:FileName> <d2p1:FileType>sample string 6</d2p1:FileType> <d2p1:FileUrl>sample string 5</d2p1:FileUrl> <d2p1:Id>3</d2p1:Id> <d2p1:ItemType>sample string 4</d2p1:ItemType> <d2p1:Src>sample string 2</d2p1:Src> </d2p1:CommonModel.AttachmentModel> <d2p1:CommonModel.AttachmentModel> <d2p1:AttachmentType>1</d2p1:AttachmentType> <d2p1:Created>sample string 8</d2p1:Created> <d2p1:FileName>sample string 7</d2p1:FileName> <d2p1:FileType>sample string 6</d2p1:FileType> <d2p1:FileUrl>sample string 5</d2p1:FileUrl> <d2p1:Id>3</d2p1:Id> <d2p1:ItemType>sample string 4</d2p1:ItemType> <d2p1:Src>sample string 2</d2p1:Src> </d2p1:CommonModel.AttachmentModel> </Attachments> <ClientDetail> <Az_Subscription_Name>sample string 4</Az_Subscription_Name> <Client_Admin_Email>sample string 2</Client_Admin_Email> <DateModified>2024-11-05T18:47:43.8809763+00:00</DateModified> <Id>1</Id> <Name>sample string 1</Name> <PhoneNumber>sample string 3</PhoneNumber> </ClientDetail> <InstanceDetail> <ActionDate>2024-11-05T18:47:43.8809763+00:00</ActionDate> <ApplicationMode>sample string 17</ApplicationMode> <ApplicationSupport_Email>sample string 7</ApplicationSupport_Email> <ApplicationSupport_PhoneNumber>sample string 8</ApplicationSupport_PhoneNumber> <ApplicationTier>sample string 4</ApplicationTier> <EnterpriseLevel>sample string 3</EnterpriseLevel> <EnvironmentType>sample string 1</EnvironmentType> <Id>1</Id> <InstanceName>sample string 10</InstanceName> <IsBackUp>true</IsBackUp> <IsInitiated>sample string 14</IsInitiated> <JobName>sample string 16</JobName> <Logo>sample string 6</Logo> <PayMaxRegularHoursPerDay>19</PayMaxRegularHoursPerDay> <PayMaxRegularHoursPerWeek>20</PayMaxRegularHoursPerWeek> <PayOTRateMultiplier>21</PayOTRateMultiplier> <PayWeekStartDay>18</PayWeekStartDay> <Region>sample string 2</Region> <SetUpBy>sample string 13</SetUpBy> <SetUpByInt>1</SetUpByInt> <SetUpDate>2024-11-05T18:47:43.8809763+00:00</SetUpDate> <Status>sample string 11</Status> <StatusId>15</StatusId> <SystemIdentifier>sample string 9</SystemIdentifier> <TerminatioRequestedDate>2024-11-05T18:47:43.8809763+00:00</TerminatioRequestedDate> <Url>sample string 5</Url> <UserId>12</UserId> </InstanceDetail> <IsBackUp>true</IsBackUp> <UserModel> <UserModel> <Email>sample string 2</Email> <FirstName>sample string 4</FirstName> <LastName>sample string 5</LastName> <Password>sample string 3</Password> <Role>sample string 7</Role> <Status>sample string 6</Status> <UserId>sample string 1</UserId> <UserType>8</UserType> </UserModel> <UserModel> <Email>sample string 2</Email> <FirstName>sample string 4</FirstName> <LastName>sample string 5</LastName> <Password>sample string 3</Password> <Role>sample string 7</Role> <Status>sample string 6</Status> <UserId>sample string 1</UserId> <UserType>8</UserType> </UserModel> </UserModel> </InstanceInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.