POST api/MobileSPNeeds/PostMobileSPNeeds

POST - Device Specific Needs

Request Information

URI Parameters

None.

Body Parameters

Specific Needs Model

VMobileSPNeeds
NameDescriptionTypeAdditional information
EventId

Event Id

globally unique identifier

None.

IsRegisteredUNHCR

Is Registered with UNHCR

boolean

None.

UNHCRCaseNumber

UNHCR Case Number

string

None.

UNHCRIndividualID

UNHCR Individual Number

string

None.

UNHCRSPNeedGuid

UNHCR SP Need Id

globally unique identifier

None.

DeviceGroupID

Device Group ID

globally unique identifier

None.

DeviceIndividualID

Device Individual ID

globally unique identifier

None.

SPNeedCode

SP Needs Code

string

None.

SPNeedCodeDetails

SP Need Details Code

string

None.

SPNeedStartDate

SP Start Date

date

None.

SPNeedEndDate

SP EndDate

date

None.

Comment

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EventId": "44ddaedb-16ff-41d6-a756-0eb9eb311cb5",
  "IsRegisteredUNHCR": true,
  "UNHCRCaseNumber": "sample string 3",
  "UNHCRIndividualID": "sample string 4",
  "UNHCRSPNeedGuid": "579d586e-775e-424f-aec4-96e61ddbdf11",
  "DeviceGroupID": "9d1220da-3141-46a8-9c29-7874464cd866",
  "DeviceIndividualID": "a4fb949f-045e-4638-8fff-201cadd1e837",
  "SPNeedCode": "sample string 5",
  "SPNeedCodeDetails": "sample string 6",
  "SPNeedStartDate": "2025-10-16T04:33:35.7491131+00:00",
  "SPNeedEndDate": "2025-10-16T04:33:35.7491131+00:00",
  "Comment": "sample string 7"
}

application/xml, text/xml

Sample:
<VMobileSPNeeds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EventId>44ddaedb-16ff-41d6-a756-0eb9eb311cb5</EventId>
  <IsRegisteredUNHCR>true</IsRegisteredUNHCR>
  <UNHCRCaseNumber>sample string 3</UNHCRCaseNumber>
  <UNHCRIndividualID>sample string 4</UNHCRIndividualID>
  <UNHCRSPNeedGuid>579d586e-775e-424f-aec4-96e61ddbdf11</UNHCRSPNeedGuid>
  <DeviceGroupID>9d1220da-3141-46a8-9c29-7874464cd866</DeviceGroupID>
  <DeviceIndividualID>a4fb949f-045e-4638-8fff-201cadd1e837</DeviceIndividualID>
  <SPNeedCode>sample string 5</SPNeedCode>
  <SPNeedCodeDetails>sample string 6</SPNeedCodeDetails>
  <SPNeedStartDate>2025-10-16T04:33:35.7491131+00:00</SPNeedStartDate>
  <SPNeedEndDate>2025-10-16T04:33:35.7491131+00:00</SPNeedEndDate>
  <Comment>sample string 7</Comment>
</VMobileSPNeeds>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="EventId"

44ddaedb-16ff-41d6-a756-0eb9eb311cb5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsRegisteredUNHCR"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="UNHCRCaseNumber"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="UNHCRIndividualID"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="UNHCRSPNeedGuid"

579d586e-775e-424f-aec4-96e61ddbdf11
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DeviceGroupID"

9d1220da-3141-46a8-9c29-7874464cd866
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="DeviceIndividualID"

a4fb949f-045e-4638-8fff-201cadd1e837
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SPNeedCode"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SPNeedCodeDetails"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SPNeedStartDate"

2025-10-16T04:33:35.7491131+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="SPNeedEndDate"

2025-10-16T04:33:35.7491131+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Comment"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

HTTP Status Code and Device Specific Needs Id

IHttpActionResult

None.

Response Formats

application/json, text/json, multipart/form-data

Sample:

Sample not available.