POST api/centres/Add

Request Information

URI Parameters

None.

Body Parameters

ServiceRequestOfListOfCentreEntity
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

globally unique identifier

None.

StateId

integer

None.

StatePostId

integer

None.

StatePostSubjectId

integer

None.

Entity

Collection of CentreEntity

None.

EntityState

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": "dc197189-37c4-4192-993e-ec63e0f119db",
  "StateId": 1,
  "StatePostId": 2,
  "StatePostSubjectId": 3,
  "Entity": [
    {
      "Id": 1,
      "StateId": 2,
      "Code": "sample string 3",
      "Name": "sample string 4",
      "TotalComputer": 5,
      "MaxComputer": 6,
      "Longitude": "sample string 7",
      "Latitude": "sample string 8",
      "FullAddress": "sample string 9",
      "Pin": "sample string 10",
      "IncludeStateId": "sample string 11",
      "Status": 12,
      "CreatedOn": "2024-10-19T23:02:12.0524464+05:30",
      "CreatedBy": "sample string 13",
      "ModifiedOn": "2024-10-19T23:02:12.0524464+05:30",
      "ModifiedBy": "sample string 14",
      "EntityState": 15
    },
    {
      "Id": 1,
      "StateId": 2,
      "Code": "sample string 3",
      "Name": "sample string 4",
      "TotalComputer": 5,
      "MaxComputer": 6,
      "Longitude": "sample string 7",
      "Latitude": "sample string 8",
      "FullAddress": "sample string 9",
      "Pin": "sample string 10",
      "IncludeStateId": "sample string 11",
      "Status": 12,
      "CreatedOn": "2024-10-19T23:02:12.0524464+05:30",
      "CreatedBy": "sample string 13",
      "ModifiedOn": "2024-10-19T23:02:12.0524464+05:30",
      "ModifiedBy": "sample string 14",
      "EntityState": 15
    }
  ],
  "EntityState": 4
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.