POST api/Unit/Sync

Request Information

URI Parameters

None.

Body Parameters

Collection of Xenia_UnitMaster
NameDescriptionTypeAdditional information
UnitID

string

String length: inclusive between 0 and 255

UnitName

string

String length: inclusive between 0 and 255

Deactive

boolean

None.

CompanyUid

string

String length: inclusive between 0 and 255

UNM_CreatedBy

string

String length: inclusive between 0 and 255

UNM_CreatedOn

date

None.

UNM_ModifiedBy

string

String length: inclusive between 0 and 255

UNM_ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "UnitID": "sample string 1",
    "UnitName": "sample string 2",
    "Deactive": true,
    "CompanyUid": "sample string 3",
    "UNM_CreatedBy": "sample string 4",
    "UNM_CreatedOn": "2025-12-06T09:15:46.9174838+05:30",
    "UNM_ModifiedBy": "sample string 5",
    "UNM_ModifiedOn": "2025-12-06T09:15:46.9174838+05:30"
  },
  {
    "$ref": "1"
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.