POST api/MobileSPNeeds/PostMobileSPNeeds
POST - Device Specific Needs
Request Information
URI Parameters
None.
Body Parameters
Specific Needs Model
VMobileSPNeeds| Name | Description | Type | Additional 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": "32366dd2-51fc-423b-b156-0af18dbd8994",
"IsRegisteredUNHCR": true,
"UNHCRCaseNumber": "sample string 3",
"UNHCRIndividualID": "sample string 4",
"UNHCRSPNeedGuid": "67cf30a1-4732-4f9c-be0f-82d8b6d17e28",
"DeviceGroupID": "3231811c-fe86-4402-8414-e4953b254134",
"DeviceIndividualID": "9f2819e8-c216-4d22-9f37-1396c09c3b5a",
"SPNeedCode": "sample string 5",
"SPNeedCodeDetails": "sample string 6",
"SPNeedStartDate": "2026-03-21T22:56:23.1382684+00:00",
"SPNeedEndDate": "2026-03-21T22:56:23.1382684+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>32366dd2-51fc-423b-b156-0af18dbd8994</EventId> <IsRegisteredUNHCR>true</IsRegisteredUNHCR> <UNHCRCaseNumber>sample string 3</UNHCRCaseNumber> <UNHCRIndividualID>sample string 4</UNHCRIndividualID> <UNHCRSPNeedGuid>67cf30a1-4732-4f9c-be0f-82d8b6d17e28</UNHCRSPNeedGuid> <DeviceGroupID>3231811c-fe86-4402-8414-e4953b254134</DeviceGroupID> <DeviceIndividualID>9f2819e8-c216-4d22-9f37-1396c09c3b5a</DeviceIndividualID> <SPNeedCode>sample string 5</SPNeedCode> <SPNeedCodeDetails>sample string 6</SPNeedCodeDetails> <SPNeedStartDate>2026-03-21T22:56:23.1382684+00:00</SPNeedStartDate> <SPNeedEndDate>2026-03-21T22:56:23.1382684+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" 32366dd2-51fc-423b-b156-0af18dbd8994 --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" 67cf30a1-4732-4f9c-be0f-82d8b6d17e28 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DeviceGroupID" 3231811c-fe86-4402-8414-e4953b254134 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DeviceIndividualID" 9f2819e8-c216-4d22-9f37-1396c09c3b5a --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" 2026-03-21T22:56:23.1382684+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="SPNeedEndDate" 2026-03-21T22:56:23.1382684+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
IHttpActionResultNone.
Response Formats
application/json, text/json, multipart/form-data
Sample:
Sample not available.