POST api/School/Processschoolstaff
Request Information
URI Parameters
None.
Body Parameters
StaffforOrg| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| UserId | integer |
Required |
|
| Passport | string |
None. |
|
| ContactId | integer |
Required |
|
| FirstName | string |
Required |
|
| MiddleName | string |
None. |
|
| LastName | string |
Required |
|
| PhoneNo | string |
Required |
|
| EmailAddress | string |
Required |
|
| SexId | integer |
Required |
|
| MaritalStatusId | integer |
Required |
|
| DOB | date |
Required |
|
| ServiceNo | string |
Required |
|
| CategoryId | integer |
Required |
|
| StateId | integer |
Required |
|
| LGAId | integer |
Required |
|
| City | string |
Required |
|
| AddressId | integer |
Required |
|
| Address | string |
Required |
|
| OrgId | integer |
Required |
|
| processop | string |
Required |
|
| username | string |
Required |
|
| accesskey | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 2,
"Passport": "sample string 3",
"ContactId": 4,
"FirstName": "sample string 5",
"MiddleName": "sample string 6",
"LastName": "sample string 7",
"PhoneNo": "sample string 8",
"EmailAddress": "sample string 9",
"SexId": 10,
"MaritalStatusId": 11,
"DOB": "2026-01-10T12:44:07.2808866-08:00",
"ServiceNo": "sample string 13",
"CategoryId": 14,
"StateId": 15,
"LGAId": 16,
"City": "sample string 17",
"AddressId": 18,
"Address": "sample string 19",
"OrgId": 20,
"processop": "sample string 21",
"username": "sample string 22",
"accesskey": "sample string 23"
}
text/html
Sample:
{"Id":1,"UserId":2,"Passport":"sample string 3","ContactId":4,"FirstName":"sample string 5","MiddleName":"sample string 6","LastName":"sample string 7","PhoneNo":"sample string 8","EmailAddress":"sample string 9","SexId":10,"MaritalStatusId":11,"DOB":"2026-01-10T12:44:07.2808866-08:00","ServiceNo":"sample string 13","CategoryId":14,"StateId":15,"LGAId":16,"City":"sample string 17","AddressId":18,"Address":"sample string 19","OrgId":20,"processop":"sample string 21","username":"sample string 22","accesskey":"sample string 23"}
application/xml, text/xml
Sample:
<StaffforOrg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolDockAPI.Models"> <Address>sample string 19</Address> <AddressId>18</AddressId> <CategoryId>14</CategoryId> <City>sample string 17</City> <ContactId>4</ContactId> <DOB>2026-01-10T12:44:07.2808866-08:00</DOB> <EmailAddress>sample string 9</EmailAddress> <FirstName>sample string 5</FirstName> <Id>1</Id> <LGAId>16</LGAId> <LastName>sample string 7</LastName> <MaritalStatusId>11</MaritalStatusId> <MiddleName>sample string 6</MiddleName> <OrgId>20</OrgId> <Passport>sample string 3</Passport> <PhoneNo>sample string 8</PhoneNo> <ServiceNo>sample string 13</ServiceNo> <SexId>10</SexId> <StateId>15</StateId> <UserId>2</UserId> <accesskey>sample string 23</accesskey> <processop>sample string 21</processop> <username>sample string 22</username> </StaffforOrg>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.