Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

GET /ssp/api/1/reference/sapstatus

Security

SERVICE_REFERENCE_READ

Parameters

status : ALL, ACTIVE, INACTIVE
start : First result (0-based index) to return
limit : Maximum number of results to return
sort : Property name
sortDirection : Ascending/descending keyword (ASC/DESC or ASCENDING/DESCENDING)

...

GET /ssp/api/1/reference/sapstatus/{id}

Security

SERVICE_REFERENCE_READ

ReturnsCitizenship

Code Block
{"success":"true",
"message":"",
    [{"id":"0a90940a-43dd-19d4-8143-e0e9a0d700dc",
        "createdDate":1391047844055,
        "createdBy":
            {"id":"0a90940a-3efc-175f-813e-fc1ac581000b",
            "firstName":"Amy",
            "lastName":"Administrator"},
        "modifiedDate":1391054223858,
        "modifiedBy":
            {"id":"0a90940a-3efc-175f-813e-fc1ac581000b",
            "firstName":"Amy",
            "lastName":"Administrator"},
        "objectStatus":"ACTIVE",
        "name":"code1",
		"description":"code1",
		"code":"code1"}
    ]
}

...

POST /ssp/api/1/reference/sapstatus

Security

SERVICE_REFERENCE_WRITE

Sample Post

Code Block
{"name":"code1",
 "description":"code1",
 "code":"code1"}

ReturnsEducationGoal

Code Block
{"createdDate":1391047844055,
        "createdBy":
            {"id":"0a90940a-3efc-175f-813e-fc1ac581000b",
            "firstName":"Amy",
            "lastName":"Administrator"},
        "modifiedDate":1391054223858,
        "modifiedBy":
            {"id":"0a90940a-3efc-175f-813e-fc1ac581000b",
            "firstName":"Amy",
            "lastName":"Administrator"},
        "objectStatus":"ACTIVE",
        "name":"code1",
		"description":"code1",
		"code":"code1"}
}

...

PUT /ssp/api/1/reference/sapstatus/{id}

Security

SERVICE_REFERENCE_WRITE

Sample Post

Code Block
{"createdDate":1391047844055,
        "createdBy":
            {"id":"0a90940a-3efc-175f-813e-fc1ac581000b",
            "firstName":"Amy",
            "lastName":"Administrator"},
        "modifiedDate":1391054223858,
        "modifiedBy":
            {"id":"0a90940a-3efc-175f-813e-fc1ac581000b",
            "firstName":"Amy",
            "lastName":"Administrator"},
        "objectStatus":"ACTIVE",
        "name":"code1",
		"description":"code1",
		"code":"code1"}
}

ReturnsEducationGoal

Code Block
{"createdDate":1391047844055,
        "createdBy":
            {"id":"0a90940a-3efc-175f-813e-fc1ac581000b",
            "firstName":"Amy",
            "lastName":"Administrator"},
        "modifiedDate":1391054223858,
        "modifiedBy":
            {"id":"0a90940a-3efc-175f-813e-fc1ac581000b",
            "firstName":"Amy",
            "lastName":"Administrator"},
        "objectStatus":"ACTIVE",
        "name":"code1",
		"description":"code1",
		"code":"code1"}
}

...

DELETE /ssp/api/1/reference/sapstatus/{id}

Security

SERVICE_REFERENCE_WRITE

Returns

Code Block
{"success" : "true"}

...