POST api/Customers/SaveServerInfo

Request Information

URI Parameters

None.

Body Parameters

ServerDto
NameDescriptionTypeAdditional information
Name

string

None.

IpAddress

string

None.

AddressLine

string

None.

Country

integer

None.

State

integer

None.

City

integer

None.

CountryName

string

None.

StateName

string

None.

CityName

string

None.

OrganizationId

integer

None.

Zip

string

None.

StartDate

date

None.

EndDate

date

None.

CommentonEndDate

string

None.

fullServerlLifecycle

Collection of ServerLifecycleDto

None.

Id

integer

None.

IsDeleted

boolean

None.

IsActive

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "IpAddress": "sample string 2",
  "AddressLine": "sample string 3",
  "Country": 4,
  "State": 5,
  "City": 6,
  "CountryName": "sample string 7",
  "StateName": "sample string 8",
  "CityName": "sample string 9",
  "OrganizationId": 10,
  "Zip": "sample string 11",
  "StartDate": "2025-12-08T15:40:16.1447612+00:00",
  "EndDate": "2025-12-08T15:40:16.1447612+00:00",
  "CommentonEndDate": "sample string 14",
  "fullServerlLifecycle": [
    {
      "comment": "sample string 1",
      "EventStartTime": "2025-12-08T15:40:16.1447612+00:00",
      "EventStopTime": "2025-12-08T15:40:16.1447612+00:00",
      "longitude": "sample string 4",
      "latitude": "sample string 5",
      "EventStart": "sample string 6",
      "EventStop": "sample string 7",
      "serverId": 8,
      "assignto": 9,
      "assigntouser": "sample string 10",
      "serverTechnicianSign": "sample string 11",
      "Id": 12,
      "IsDeleted": true,
      "IsActive": true,
      "CreatedBy": 15,
      "CreatedOn": "2025-12-08T15:40:16.1447612+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2025-12-08T15:40:16.1447612+00:00"
    },
    {
      "comment": "sample string 1",
      "EventStartTime": "2025-12-08T15:40:16.1447612+00:00",
      "EventStopTime": "2025-12-08T15:40:16.1447612+00:00",
      "longitude": "sample string 4",
      "latitude": "sample string 5",
      "EventStart": "sample string 6",
      "EventStop": "sample string 7",
      "serverId": 8,
      "assignto": 9,
      "assigntouser": "sample string 10",
      "serverTechnicianSign": "sample string 11",
      "Id": 12,
      "IsDeleted": true,
      "IsActive": true,
      "CreatedBy": 15,
      "CreatedOn": "2025-12-08T15:40:16.1447612+00:00",
      "ModifiedBy": 1,
      "ModifiedOn": "2025-12-08T15:40:16.1447612+00:00"
    }
  ],
  "Id": 15,
  "IsDeleted": true,
  "IsActive": true,
  "CreatedBy": 18,
  "CreatedOn": "2025-12-08T15:40:16.1447612+00:00",
  "ModifiedBy": 1,
  "ModifiedOn": "2025-12-08T15:40:16.1447612+00:00"
}

application/xml, text/xml

Sample:
check

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ServerDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.